终端一体化运控平台
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

186 строки
10 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.Academy.Model
  7. {
  8. public class DeviceCtrl:NotifyBase
  9. {
  10. #region 按钮变量
  11. public bool 配料罐搅拌电机 { get { return m_配料罐搅拌电机; } set { m_配料罐搅拌电机 = value; OnPropertyChanged(); } }
  12. private bool m_配料罐搅拌电机;
  13. public bool 反应釜搅拌电机 { get { return m_反应釜搅拌电机; } set { m_反应釜搅拌电机 = value; OnPropertyChanged(); } }
  14. private bool m_反应釜搅拌电机;
  15. public bool 真空泵 { get { return m_真空泵; } set { m_真空泵 = value; OnPropertyChanged(); } }
  16. private bool m_真空泵;
  17. public bool 进料阀 { get { return m_进料阀; } set { m_进料阀 = value; OnPropertyChanged(); } }
  18. private bool m_进料阀;
  19. public bool 蒸馏阀 { get { return m_蒸馏阀; } set { m_蒸馏阀 = value; OnPropertyChanged(); } }
  20. private bool m_蒸馏阀;
  21. public bool 回油阀 { get { return m_回油阀; } set { m_回油阀 = value; OnPropertyChanged(); } }
  22. private bool m_回油阀;
  23. public bool 回水阀 { get { return m_回水阀; } set { m_回水阀 = value; OnPropertyChanged(); } }
  24. private bool m_回水阀;
  25. public bool 汇馏阀 { get { return m_汇馏阀; } set { m_汇馏阀 = value; OnPropertyChanged(); } }
  26. private bool m_汇馏阀;
  27. public bool 排馏阀 { get { return m_排馏阀; } set { m_排馏阀 = value; OnPropertyChanged(); } }
  28. private bool m_排馏阀;
  29. public bool 冷凝器冷却阀 { get { return m_冷凝器冷却阀; } set { m_冷凝器冷却阀 = value; OnPropertyChanged(); } }
  30. private bool m_冷凝器冷却阀;
  31. public bool 配料釜蒸汽阀 { get { return m_配料釜蒸汽阀; } set { m_配料釜蒸汽阀 = value; OnPropertyChanged(); } }
  32. private bool m_配料釜蒸汽阀;
  33. public bool 反应釜蒸汽阀 { get { return m_反应釜蒸汽阀; } set { m_反应釜蒸汽阀 = value; OnPropertyChanged(); } }
  34. private bool m_反应釜蒸汽阀;
  35. public bool 反应釜蒸汽疏水阀 { get { return m_反应釜蒸汽疏水阀; } set { m_反应釜蒸汽疏水阀 = value; OnPropertyChanged(); } }
  36. private bool m_反应釜蒸汽疏水阀;
  37. public bool 反应釜冷却水阀 { get { return m_反应釜冷却水阀; } set { m_反应釜冷却水阀 = value; OnPropertyChanged(); } }
  38. private bool m_反应釜冷却水阀;
  39. public bool 配料罐自动升温 { get { return m_配料罐自动升温; } set { m_配料罐自动升温 = value; OnPropertyChanged(); } }
  40. private bool m_配料罐自动升温;
  41. public bool 反应釜自动升温 { get { return m_反应釜自动升温; } set { m_反应釜自动升温 = value; OnPropertyChanged(); } }
  42. private bool m_反应釜自动升温;
  43. public bool 系统启动 { get { return m_系统启动; } set { m_系统启动 = value; OnPropertyChanged(); } }
  44. private bool m_系统启动;
  45. public bool 手自动 { get { return m_手自动; } set { m_手自动 = value; OnPropertyChanged(); } }
  46. private bool m_手自动;
  47. public bool 反应釜冷却水排水阀 { get { return m_反应釜冷却水排水阀; } set { m_反应釜冷却水排水阀 = value; OnPropertyChanged(); } }
  48. private bool m_反应釜冷却水排水阀;
  49. public bool 分馏真空阀 { get { return m_分馏真空阀; } set { m_分馏真空阀 = value; OnPropertyChanged(); } }
  50. private bool m_分馏真空阀;
  51. public bool 蒸馏真空阀 { get { return m_蒸馏真空阀; } set { m_蒸馏真空阀 = value; OnPropertyChanged(); } }
  52. private bool m_蒸馏真空阀;
  53. public bool 空压机启动 { get { return m_空压机启动; } set { m_空压机启动 = value; OnPropertyChanged(); } }
  54. private bool m_空压机启动;
  55. public bool 水罐重量清零 { get { return m_水罐重量清零; } set { m_水罐重量清零 = value; OnPropertyChanged(); } }
  56. private bool m_水罐重量清零;
  57. public bool 反应釜自动降温 { get { return m_反应釜自动降温; } set { m_反应釜自动降温 = value; OnPropertyChanged(); } }
  58. private bool m_反应釜自动降温;
  59. public bool 反应釜出料阀 { get { return m_反应釜出料阀; } set { m_反应釜出料阀 = value; OnPropertyChanged(); } }
  60. private bool m_反应釜出料阀;
  61. public bool 反应釜排空阀 { get { return m_反应釜排空阀; } set { m_反应釜排空阀 = value; OnPropertyChanged(); } }
  62. private bool m_反应釜排空阀;
  63. public bool 配料釜蒸汽输水旁通阀 { get { return m_配料釜蒸汽输水旁通阀; } set { m_配料釜蒸汽输水旁通阀 = value; OnPropertyChanged(); } }
  64. private bool m_配料釜蒸汽输水旁通阀;
  65. public bool 反应釜蒸汽输水旁通阀 { get { return m_反应釜蒸汽输水旁通阀; } set { m_反应釜蒸汽输水旁通阀 = value; OnPropertyChanged(); } }
  66. private bool m_反应釜蒸汽输水旁通阀;
  67. public bool 心跳 { get { return m_心跳; } set { m_心跳 = value; OnPropertyChanged(); } }
  68. private bool m_心跳;
  69. public bool 闪蒸 { get { return m_闪蒸; } set { m_闪蒸 = value; OnPropertyChanged(); } }
  70. private bool m_闪蒸;
  71. public bool 真空蒸馏 { get { return m_真空蒸馏; } set { m_真空蒸馏 = value; OnPropertyChanged(); } }
  72. private bool m_真空蒸馏;
  73. public bool 真空下料 { get { return m_真空下料; } set { m_真空下料 = value; OnPropertyChanged(); } }
  74. private bool m_真空下料;
  75. public bool 二次闪蒸 { get { return m_二次闪蒸; } set { m_二次闪蒸 = value; OnPropertyChanged(); } }
  76. private bool m_二次闪蒸;
  77. public bool 排空阀 { get { return m_排空阀; } set { m_排空阀 = value; OnPropertyChanged(); } }
  78. private bool m_排空阀;
  79. #endregion
  80. public bool M101 { get { return _m101; } set { _m101 = value;OnPropertyChanged(); } }
  81. private bool _m101 = false;
  82. private int myVar;
  83. public int MyProperty
  84. {
  85. get { return myVar; }
  86. set { myVar = value; }
  87. }
  88. public bool IsConnect { get { return _isConnect; } set { _isConnect = value; OnPropertyChanged(); } }
  89. private bool _isConnect = false;
  90. public bool M102 { get { return _m102; } set { _m102 = value; OnPropertyChanged(); } }
  91. private bool _m102 = false;
  92. public bool M103 { get { return _m103; } set { _m103 = value; OnPropertyChanged(); } }
  93. private bool _m103 = false;
  94. public bool VX100 { get { return _vx100; } set { _vx100 = value; OnPropertyChanged(); } }
  95. private bool _vx100 = false;
  96. public bool VX101 { get { return _vx101; } set { _vx101 = value; OnPropertyChanged(); } }
  97. private bool _vx101 = false;
  98. public bool VX102 { get { return _vx102; } set { _vx102 = value; OnPropertyChanged(); } }
  99. private bool _vx102 = false;
  100. public bool VX103 { get { return _vx103; } set { _vx103 = value; OnPropertyChanged(); } }
  101. private bool _vx103 = false;
  102. public bool VX104 { get { return _vx104; } set { _vx104 = value; OnPropertyChanged(); } }
  103. private bool _vx104 = false;
  104. public bool VX105 { get { return _vx105; } set { _vx105 = value; OnPropertyChanged(); } }
  105. private bool _vx105 = false;
  106. public bool VX106 { get { return _vx106; } set { _vx106 = value; OnPropertyChanged(); } }
  107. private bool _vx106 = false;
  108. public bool VX107 { get { return _vx107; } set { _vx107 = value; OnPropertyChanged(); } }
  109. private bool _vx107 = false;
  110. public bool VX108 { get { return _vx108; } set { _vx108 = value; OnPropertyChanged(); } }
  111. private bool _vx108 = false;
  112. public bool VX109 { get { return _vx109; } set { _vx109 = value; OnPropertyChanged(); } }
  113. private bool _vx109 = false;
  114. public bool VX110 { get { return _vx110; } set { _vx110 = value; OnPropertyChanged(); } }
  115. private bool _vx110 = false;
  116. public bool VX111 { get { return _vx111; } set { _vx111 = value; OnPropertyChanged(); } }
  117. private bool _vx111 = false;
  118. public bool VX112 { get { return _vx112; } set { _vx112 = value; OnPropertyChanged(); } }
  119. private bool _vx112 = false;
  120. public bool VX113 { get { return _vx113; } set { _vx113 = value; OnPropertyChanged(); } }
  121. private bool _vx113 = false;
  122. public bool VX114 { get { return _vx114; } set { _vx114 = value; OnPropertyChanged(); } }
  123. private bool _vx114 = false;
  124. public bool VX115 { get { return _vx115; } set { _vx115 = value; OnPropertyChanged(); } }
  125. private bool _vx115 = false;
  126. public int TempWok { get { return _tempWok; } set { _tempWok = value; OnPropertyChanged(); } }
  127. private int _tempWok;
  128. public int TempMaterial { get { return _tempMaterial; } set { _tempMaterial = value; OnPropertyChanged(); } }
  129. private int _tempMaterial;
  130. public float WeightWok { get { return _weightWok; } set { _weightWok = value; OnPropertyChanged(); } }
  131. private float _weightWok;
  132. public int TempVent { get { return _tempVent; } set { _tempVent = value; OnPropertyChanged(); } }
  133. private int _tempVent;
  134. public float PressureWok { get { return _pressureWok; } set { _pressureWok = value; OnPropertyChanged(); } }
  135. private float _pressureWok;
  136. public float PressureWeek { get { return _pressureWeek; } set { _pressureWeek = value; OnPropertyChanged(); } }
  137. private float _pressureWeek;
  138. public float OpenValue { get { return _openValue; } set { _openValue = value; OnPropertyChanged(); } }
  139. private float _openValue;
  140. public bool Compressor { get { return _compressor; } set { _compressor = value; OnPropertyChanged(); } }
  141. private bool _compressor = false;
  142. public bool ByPassMaterial { get { return _byPassMaterial; } set { _byPassMaterial = value; OnPropertyChanged(); } }
  143. private bool _byPassMaterial = false;
  144. public bool ByPassReact { get { return _byPassReact; } set { _byPassReact = value; OnPropertyChanged(); } }
  145. private bool _byPassReact = false;
  146. }
  147. }