终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

117 lines
3.4 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. using AlarmAttribute = BPASmartClient.Device.AlarmAttribute;
  8. namespace BPASmartClient.MorkCL
  9. {
  10. public class Alarm : IAlarm
  11. {
  12. #region 1号炒锅
  13. /// <summary>
  14. /// 急停
  15. /// </summary>
  16. [Alarm("1号炒锅-设备急停")]
  17. public bool EStop1 { get; set; }
  18. /// <summary>
  19. /// 炒锅正限位报警。
  20. /// </summary>
  21. [Alarm("1号炒锅-炒锅正限位报警")]
  22. public bool FryingPanFowardLimit1 { get; set; }
  23. /// <summary>
  24. /// 炒锅负限位报警。
  25. /// </summary>
  26. [Alarm("1号炒锅-炒锅负限位报警")]
  27. public bool FryingPanReverseLimit1 { get; set; }
  28. /// <summary>
  29. /// 编码器通信异常。
  30. /// </summary>
  31. [Alarm("1号炒锅-编码器通信异常")]
  32. public bool FryingPanEncoderCommError1 { get; set; }
  33. /// <summary>
  34. /// 搅拌电机通信异常。
  35. /// </summary>
  36. [Alarm("1号炒锅-搅拌电机通信异常")]
  37. public bool StirMotorCommError1 { get; set; }
  38. /// <summary>
  39. /// 翻转电机通信异常。
  40. /// </summary>
  41. [Alarm("1号炒锅-翻转电机通信异常")]
  42. public bool RollingMotorCommError1 { get; set; }
  43. /// <summary>
  44. /// 搅拌电机故障代码
  45. /// </summary>
  46. [Alarm("1号炒锅-搅拌电机故障,具体故障码查看监控界面。")]
  47. public bool StirMotorError1 { get; set; }
  48. /// <summary>
  49. /// 翻转电机故障代码
  50. /// </summary>
  51. [Alarm("1号炒锅-翻转电机故障,具体故障码查看监控界面。")]
  52. public bool TurnMotorError1 { get; set; }
  53. #endregion
  54. #region 2号炒锅
  55. /// <summary>
  56. /// 急停
  57. /// </summary>
  58. [Alarm("2号炒锅-设备急停")]
  59. public bool EStop2 { get; set; }
  60. /// <summary>
  61. /// 炒锅正限位报警。
  62. /// </summary>
  63. [Alarm("2号炒锅-炒锅正限位报警")]
  64. public bool FryingPanFowardLimit2 { get; set; }
  65. /// <summary>
  66. /// 炒锅负限位报警。
  67. /// </summary>
  68. [Alarm("2号炒锅-炒锅负限位报警")]
  69. public bool FryingPanReverseLimit2 { get; set; }
  70. /// <summary>
  71. /// 编码器通信异常。
  72. /// </summary>
  73. [Alarm("2号炒锅-编码器通信异常")]
  74. public bool FryingPanEncoderCommError2 { get; set; }
  75. /// <summary>
  76. /// 搅拌电机通信异常。
  77. /// </summary>
  78. [Alarm("2号炒锅-搅拌电机通信异常")]
  79. public bool StirMotorCommError2 { get; set; }
  80. /// <summary>
  81. /// 翻转电机通信异常。
  82. /// </summary>
  83. [Alarm("2号炒锅-翻转电机通信异常")]
  84. public bool RollingMotorCommError2 { get; set; }
  85. /// <summary>
  86. /// 搅拌电机故障代码
  87. /// </summary>
  88. [Alarm("2号炒锅-搅拌电机故障,具体故障码查看监控界面。")]
  89. public bool StirMotorError2 { get; set; }
  90. /// <summary>
  91. /// 翻转电机故障代码
  92. /// </summary>
  93. [Alarm("2号炒锅-翻转电机故障,具体故障码查看监控界面。")]
  94. public bool TurnMotorError2 { get; set; }
  95. #endregion
  96. }
  97. }