ReservoirsUIData.cs 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. using LiveCharts;
  2. using Prism.Mvvm;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace PunkHPX8_MainPages.Model
  9. {
  10. public class ReservoirsUIData : BindableBase
  11. {
  12. #region 内部变量
  13. /// <summary>
  14. /// metal名字
  15. /// </summary>
  16. private string _name;
  17. /// <summary>
  18. /// 模块是否可用
  19. /// </summary>
  20. private bool _isEnable;
  21. /// <summary>
  22. /// 模块Auto模式可用
  23. /// </summary>
  24. private bool _isAutoEnable;
  25. /// <summary>
  26. /// metal WHClamp阀
  27. /// </summary>
  28. private bool _isFlowing1;
  29. /// <summary>
  30. /// metal WHUnClamp阀
  31. /// </summary>
  32. private bool _isFlowing2;
  33. /// <summary>
  34. /// metal CellFlowValve
  35. /// </summary>
  36. private bool _isFlowing3;
  37. /// <summary>
  38. /// catholyte页面metal液位过高指示灯
  39. /// </summary>
  40. private bool _isMetalCellHigh;
  41. /// <summary>
  42. /// catholyte页面metal液位过低指示灯
  43. /// </summary>
  44. private bool _isMetalCellLow;
  45. /// <summary>
  46. ///Aonlyte页面A面metal液位过高指示灯
  47. /// </summary>
  48. private bool _isMetalCellSideAHigh;
  49. /// <summary>
  50. /// Aonlyte页面A面metal液位过低指示灯
  51. /// </summary>
  52. private bool _isMetalCellSideALow;
  53. /// <summary>
  54. /// Aonlyte页面B面metal液位过高指示灯
  55. /// </summary>
  56. private bool _isMetalCellSideBHigh;
  57. /// <summary>
  58. /// Aonlyte页面B面metal液位过低指示灯
  59. /// </summary>
  60. private bool _isMetalCellSideBLow;
  61. /// <summary>
  62. /// metal阴极流量
  63. /// </summary>
  64. private double _metalCellFlow;
  65. /// <summary>
  66. /// metal A面流量
  67. /// </summary>
  68. private double _metalSideAFlow;
  69. /// <summary>
  70. /// metal B面流量
  71. /// </summary>
  72. private double _metalSideBFlow;
  73. /// <summary>
  74. ///metal A面状态
  75. /// </summary>
  76. private string _metalSideAStatus;
  77. /// <summary>
  78. ///metal B面状态
  79. /// </summary>
  80. private string _metalSideBStatus;
  81. /// <summary>
  82. /// metal阴极流量阀
  83. /// </summary>
  84. private bool _metalCellFlowValve;
  85. /// <summary>
  86. /// AN泵是否启用
  87. /// </summary>
  88. private bool _anPumpEnable;
  89. /// <summary>
  90. /// 是否Manual模式
  91. /// </summary>
  92. private bool _isManualOperationMode;
  93. /// <summary>
  94. ///阳极metal A面是否注满
  95. /// </summary>
  96. private bool _isSideAFull = false;
  97. /// <summary>
  98. ///阳极metal B面是否注满
  99. /// </summary>
  100. private bool _isSideBFull = false;
  101. #endregion
  102. #region 属性
  103. public string Name { get { return _name; } set { SetProperty(ref _name, value); } }
  104. public bool IsEnable { get { return _isEnable; } set { SetProperty(ref _isEnable, value); } }
  105. public bool IsAutoEnable { get { return _isAutoEnable; } set { SetProperty(ref _isAutoEnable, value); } }
  106. public bool IsFlowing1 { get { return _isFlowing1; } set { SetProperty(ref _isFlowing1, value); } }
  107. public bool IsFlowing2 { get { return _isFlowing2; } set { SetProperty(ref _isFlowing2, value); } }
  108. public bool IsFlowing3 { get { return _isFlowing3; } set { SetProperty(ref _isFlowing3, value); } }
  109. public bool IsMetalCellHigh { get { return _isMetalCellHigh; } set { SetProperty(ref _isMetalCellHigh, value); } }
  110. public bool IsMetalCellLow { get { return _isMetalCellLow; } set { SetProperty(ref _isMetalCellLow, value); } }
  111. public bool IsMetalCellSideAHigh { get { return _isMetalCellSideAHigh; } set { SetProperty(ref _isMetalCellSideAHigh, value); } }
  112. public bool IsMetalCellSideALow { get { return _isMetalCellSideALow; } set { SetProperty(ref _isMetalCellSideALow, value); } }
  113. public bool IsMetalCellSideBHigh { get { return _isMetalCellSideBHigh; } set { SetProperty(ref _isMetalCellSideBHigh, value); } }
  114. public bool IsMetalCellSideBLow { get { return _isMetalCellSideBLow; } set { SetProperty(ref _isMetalCellSideBLow, value); } }
  115. public bool MetalCellFlowValve { get { return _metalCellFlowValve; } set { SetProperty(ref _metalCellFlowValve, value); } }
  116. public bool ANPumpEnable { get { return _anPumpEnable; } set { SetProperty(ref _anPumpEnable, value); } }
  117. public bool IsManualOperationMode { get { return _isManualOperationMode; } set { SetProperty(ref _isManualOperationMode, value); } }
  118. public double MetalCellFlow { get { return _metalCellFlow; } set { SetProperty(ref _metalCellFlow, value); } }
  119. public double MetalSideAFlow { get { return _metalSideAFlow; } set { SetProperty(ref _metalSideAFlow, value); } }
  120. public double MetalSideBFlow { get { return _metalSideBFlow; } set { SetProperty(ref _metalSideBFlow, value); } }
  121. public string MetalSideAStatus { get { return _metalSideAStatus; } set { SetProperty(ref _metalSideAStatus, value); } }
  122. public string MetalSideBStatus { get { return _metalSideBStatus; } set { SetProperty(ref _metalSideBStatus, value); } }
  123. public bool IsSideAFull { get { return _isSideAFull; } set { SetProperty(ref _isSideAFull, value); } }
  124. public bool IsSideBFull{ get { return _isSideBFull; } set { SetProperty(ref _isSideBFull, value); } }
  125. #endregion
  126. }
  127. }