PVDetails.cs 712 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace NEIntelligentControl2.Models.PV
  7. {
  8. /// <summary>
  9. /// 光伏信息
  10. /// </summary>
  11. public class PVDetails
  12. {
  13. /// <summary>
  14. /// 名称
  15. /// </summary>
  16. public string Name { get; set; }
  17. /// <summary>
  18. /// 状态
  19. /// </summary>
  20. public PVTagInfo Status { get; set; }
  21. private List<PVTagInfo> codeInfo;
  22. /// <summary>
  23. /// 标签点
  24. /// </summary>
  25. public List<PVTagInfo> CodeInfos { get => codeInfo ?? (codeInfo = new List<PVTagInfo>()); set => codeInfo = value; }
  26. }
  27. }