终端一体化运控平台
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.
 
 
 

149 lines
4.1 KiB

  1. using BPASmartClient.Device;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmartClient.MorkS
  8. {
  9. public class Alarm : IAlarm
  10. {
  11. /// <summary>
  12. /// 煮面机左侧低温报警
  13. /// PLC ---> M230.0
  14. /// ModbusTcp --> 1570
  15. /// </summary>
  16. [Alarm("煮面机左侧低温报警")]
  17. public bool MachineLeftLowTemperature { get; set; }
  18. /// <summary>
  19. /// 煮面机左侧低温报警
  20. /// PLC ---> M230.1
  21. /// ModbusTcp --> 1571
  22. /// </summary>
  23. [Alarm("煮面机右侧低温报警")]
  24. public bool MachineRightLowTemperature { get; set; }
  25. /// <summary>
  26. /// 供碗1缺碗
  27. /// PLC ---> 230.2
  28. /// ModbusTcp --> 1572
  29. /// </summary>
  30. [Alarm("供碗1缺碗")]
  31. public bool Supply1_LossBowl { get; set; }
  32. /// <summary>
  33. /// 供碗2缺碗
  34. /// PLC ---> M230.3
  35. /// ModbusTcp --> 1573
  36. /// </summary>
  37. [Alarm("供碗2缺碗")]
  38. public bool Supply2_LossBowl { get; set; }
  39. /// <summary>
  40. /// 供碗1出碗检测异常
  41. /// PLC ---> M230.4
  42. /// ModbusTcp --> 1574
  43. /// </summary>
  44. [Alarm("供碗1出碗检测异常")]
  45. public bool Supply1_ErrorOutBowl { get; set; }
  46. /// <summary>
  47. /// 供碗2出碗检测异常
  48. /// PLC ---> M230.5
  49. /// ModbusTcp --> 1575
  50. /// </summary>
  51. [Alarm("供碗2出碗检测异常")]
  52. public bool Supply2_ErrorOutBowl { get; set; }
  53. /// <summary>
  54. /// 推碗气缸故障
  55. /// PLC ---> M230.6
  56. /// ModbusTcp --> 1576
  57. /// </summary>
  58. [Alarm("推碗气缸故障")]
  59. public bool PushBowlCylinderError { get; set; }
  60. /// <summary>
  61. /// 煮面机通讯异常
  62. /// PLC ---> M230.7
  63. /// ModbusTcp --> 1577
  64. /// </summary>
  65. [Alarm("煮面机通讯异常")]
  66. public bool NoodleMacCommunicateError { get; set; }
  67. /// <summary>
  68. /// 配料机通讯异常
  69. /// PLC ---> M231.0
  70. /// ModbusTcp --> 1580
  71. /// </summary>
  72. [Alarm("配料机通讯异常")]
  73. public bool DosingMacCommunicateError { get; set; }
  74. /// <summary>
  75. /// 机器人通讯异常
  76. /// PLC ---> M231.1
  77. /// ModbusTcp --> 1581
  78. /// </summary>
  79. [Alarm("机器人通讯异常")]
  80. public bool RobotMacCommunicateError { get; set; }
  81. /// <summary>
  82. /// 机器人初始化失败
  83. /// PLC ---> M551.3
  84. /// ModbusTcp --> 1583
  85. /// </summary>
  86. [Alarm("机器人初始化失败")]
  87. public bool RobotInitError { get; set; }
  88. /// <summary>
  89. /// 机器人急停
  90. /// PLC ---> M551.4
  91. /// ModbusTcp --> 1584
  92. /// </summary>
  93. [Alarm("机器人急停")]
  94. public bool RobotUrgentStop { get; set; }
  95. /// <summary>
  96. /// 机器人不在远程模式
  97. /// PLC ---> M551.5
  98. /// ModbusTcp --> 1585
  99. /// </summary>
  100. [Alarm("机器人不在远程模式")]
  101. public bool RobotNotInRemoteMode { get; set; }
  102. /// <summary>
  103. /// 机器人伺服未就绪
  104. /// PLC ---> M551.6
  105. /// ModbusTcp --> 1586
  106. /// </summary>
  107. [Alarm("机器人伺服未就绪")]
  108. public bool RobotNotInReady { get; set; }
  109. /// <summary>
  110. /// 机器人本体异常
  111. /// PLC ---> M551.7
  112. /// ModbusTcp --> 1587
  113. /// </summary>
  114. [Alarm("机器人本体异常")]
  115. public bool RobotSelfInException { get; set; }
  116. /// <summary>
  117. /// 煮面机左侧缺水
  118. /// PLC ---> M232.0
  119. /// ModbusTcp --> 1570
  120. /// </summary>
  121. [Alarm("煮面机左侧缺水报警")]
  122. public bool LeftLackWater { get; set; }
  123. /// <summary>
  124. /// 煮面机右侧缺水
  125. /// PLC ---> M232.1
  126. /// ModbusTcp --> 1571
  127. /// </summary>
  128. [Alarm("煮面机右侧缺水报警")]
  129. public bool RightLackWater { get; set; }
  130. }
  131. }