AGCInfo.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.AGC
  7. {
  8. /// <summary>
  9. /// AGC信息
  10. /// </summary>
  11. public class AGCInfo
  12. {
  13. /// <summary>
  14. /// 升压站ID
  15. /// </summary>
  16. public string Id { get; set; }
  17. /// <summary>
  18. /// 坐标
  19. /// </summary>
  20. public Point Coordinate { get; set; }
  21. /// <summary>
  22. /// 装机容量
  23. /// </summary>
  24. public double InstalledCapacity { get; set; }
  25. /// <summary>
  26. /// 标题
  27. /// </summary>
  28. public string Title { get; set; }
  29. /// <summary>
  30. /// 小标题
  31. /// </summary>
  32. public string SmallTitle { get; set; }
  33. /// <summary>
  34. /// 状态(是否限电)
  35. /// </summary>
  36. public TagInfo Status { get; set; }
  37. /// <summary>
  38. /// AI点
  39. /// </summary>
  40. public List<TagInfo> AiPoints { get; set; }
  41. /// <summary>
  42. /// DI点
  43. /// </summary>
  44. public List<TagInfo> DiPoints { get; set; }
  45. }
  46. /// <summary>
  47. /// 坐标点
  48. /// </summary>
  49. public class Point
  50. {
  51. /// <summary>
  52. /// X
  53. /// </summary>
  54. public int X { get; set; }
  55. /// <summary>
  56. /// Y
  57. /// </summary>
  58. public int Y { get; set; }
  59. }
  60. }