ReservoirsUIData.cs 6.0 KB

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