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

Alarm.cs 3.4 KiB

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