终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

194 lines
5.8 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows.Forms;
  7. namespace BPASmartClient.MorkSUpgradedVer
  8. {
  9. public class DeviceData : IStatus
  10. {
  11. /// <summary>
  12. /// 初始化启动
  13. /// </summary>
  14. [VariableMonitor("初始化启动", "M0.0", "320")]
  15. public bool InitStart { get; set; }
  16. /// <summary>
  17. /// 初始化完成
  18. /// </summary>
  19. [VariableMonitor("初始化完成", "M0.1", "321")]
  20. public bool InitComplete { get; set; }
  21. /// <summary>
  22. /// 移碗丝杆初始化完成
  23. /// </summary>
  24. [VariableMonitor("移碗丝杆初始化完成", "M0.2", "322")]
  25. public bool MoveScrewRodInitCom { get; set; }
  26. /// <summary>
  27. /// 供碗1初始化完成
  28. /// </summary>
  29. [VariableMonitor("供碗1初始化完成", "M0.3", "323")]
  30. public bool SacrificialVesselInitCom { get; set; }
  31. /// <summary>
  32. /// 气缸推杆初始化完成
  33. /// </summary>
  34. [VariableMonitor("气缸推杆初始化完成", "M0.4", "324")]
  35. public bool CylinderInitCom { get; set; }
  36. /// <summary>
  37. /// 煮面机初始化完成
  38. /// </summary>
  39. [VariableMonitor("煮面机初始化完成", "M0.5", "325")]
  40. public bool NoodleCookerInitCom { get; set; }
  41. /// <summary>
  42. /// 机器人初始化完成
  43. /// </summary>
  44. [VariableMonitor("机器人初始化完成", "M0.6", "326")]
  45. public bool RobotInitCom { get; set; }
  46. /// <summary>
  47. /// 料仓初始化完成
  48. /// </summary>
  49. [VariableMonitor("料仓初始化完成", "M0.7", "327")]
  50. public bool SiloInitCom { get; set; }
  51. /// <summary>
  52. /// 故障复位/停止
  53. /// </summary>
  54. [VariableMonitor("故障复位/停止", "M1.0", "328")]
  55. public bool FaultResetOrStop { get; set; }
  56. /// <summary>
  57. /// 落碗1,大碗
  58. /// </summary>
  59. [VariableMonitor("落碗1,大碗", "M9.0", "392")]
  60. public bool DropBowlOne { get; set; }
  61. /// <summary>
  62. /// 落碗2,一次性碗
  63. /// </summary>
  64. [VariableMonitor("落碗2,一次性碗", "M9.1", "393")]
  65. public bool DropBowlTow { get; set; }
  66. /// <summary>
  67. /// 允许倒面
  68. /// </summary>
  69. [VariableMonitor("允许倒面", "M10.0", "400")]
  70. public bool AllowInvertedFace { get; set; }
  71. /// <summary>
  72. /// 出餐完成
  73. /// </summary>
  74. [VariableMonitor("出餐完成", "M10.1", "401")]
  75. public bool DiningComplete { get; set; }
  76. /// <summary>
  77. /// 落碗机构状态,1:忙碌 0:空闲
  78. /// </summary>
  79. [VariableMonitor("落碗机构状态,1:忙碌 0:空闲", "M10.4", "404")]
  80. public bool DropBowlMechanismStatus { get; set; }
  81. /// <summary>
  82. /// 定位标志,1:忙碌 0:空闲
  83. /// </summary>
  84. [VariableMonitor("定位标志,1:忙碌 0:空闲", "M12.2", "418")]
  85. public bool FixedFlag { get; set; }
  86. /// <summary>
  87. /// 定位启动
  88. /// </summary>
  89. [VariableMonitor("定位启动", "M12.3", "419")]
  90. public bool FixedStart { get; set; }
  91. /// <summary>
  92. /// 料仓到位
  93. /// </summary>
  94. [VariableMonitor("料仓到位", "M13.5", "429")]
  95. public bool SiloInPlace { get; set; }
  96. /// <summary>
  97. /// 机器人料仓取面完成
  98. /// </summary>
  99. [VariableMonitor("机器人去料仓取面完成", "M16.7", "455")]
  100. public bool RobotTakeNoodleCom { get; set; }
  101. /// <summary>
  102. /// 机器人状态
  103. /// </summary>
  104. [VariableMonitor("机器人状态", "M17.4", "460")]
  105. public bool RobotStatus { get; set; }
  106. /// <summary>
  107. /// 一次性碗有无检测
  108. /// </summary>
  109. [VariableMonitor("一次性碗有无检测", "M18.0", "464")]
  110. public bool SmallBowlYesOrNoCheck { get; set; }
  111. /// <summary>
  112. /// 大碗有无检测
  113. /// </summary>
  114. [VariableMonitor("大碗有无检测", "M18.1", "465")]
  115. public bool LargeBowYesOrNoCheck { get; set; }
  116. /// <summary>
  117. /// 转台高位
  118. /// </summary>
  119. [VariableMonitor("转台高位", "M18.2", "466")]
  120. public bool TurntableHighPosition { get; set; }
  121. /// <summary>
  122. /// 转台低位
  123. /// </summary>
  124. [VariableMonitor("转台低位", "M18.3", "467")]
  125. public bool TurntableLowPosition { get; set; }
  126. /// <summary>
  127. /// 煮面完成
  128. /// </summary>
  129. [VariableMonitor("煮面完成", "V17.0")]
  130. public bool[] CookNoodleCom { get; set; } = new bool[6];
  131. /// <summary>
  132. /// 本地/远程
  133. /// </summary>
  134. [VariableMonitor("本地/远程", "V18.0")]
  135. public bool LocalOrRemote { get; set; }
  136. /// <summary>
  137. /// 温度到达
  138. /// </summary>
  139. [VariableMonitor("温度到达", "V18.7")]
  140. public bool TemperatureReaches { get; set; }
  141. /// <summary>
  142. /// 加热中
  143. /// </summary>
  144. [VariableMonitor("加热中", "V18.6")]
  145. public bool Heating { get; set; }
  146. /// <summary>
  147. /// 转台当前位置
  148. /// </summary>
  149. [VariableMonitor("转台当前位置", "VW770")]
  150. public ushort CurrentLoc { get; set; }
  151. /// <summary>
  152. /// 补料完成
  153. /// </summary>
  154. [VariableMonitor("补料完成", "M101.6", "1134")]
  155. public bool FeedComplete { get; set; }
  156. /// <summary>
  157. /// 补料中
  158. /// </summary>
  159. [VariableMonitor("补料中", "M102.6", "1142")]
  160. public bool Feeding { get; set; }
  161. }
  162. }