终端一体化运控平台
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

168 行
4.3 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.MorkCL.Model.Control
  7. {
  8. internal class FryingPanGet : ModbusBase
  9. {
  10. /// <summary>
  11. /// 初始化完成
  12. /// </summary>
  13. public bool InitComplete { get; set; }
  14. /// <summary>
  15. /// 手自动状态模式
  16. /// </summary>
  17. public bool StatusMode { get; set; }
  18. /// <summary>
  19. /// 急停
  20. /// </summary>
  21. public bool EStop { get; set; }
  22. /// <summary>
  23. /// 炒锅在调料投料位置反馈。
  24. /// </summary>
  25. public bool FeedingSeasoningLocFB;
  26. /// <summary>
  27. /// 炒制位置反馈(1-3)
  28. /// </summary>
  29. public bool[] StirFryingLocFB { get; set; } = new bool[3];
  30. /// <summary>
  31. /// 炒锅在出餐位置反馈。
  32. /// </summary>
  33. public bool DiningOutLocFB { get; set; }
  34. /// <summary>
  35. /// 炒锅在投料位置反馈
  36. /// </summary>
  37. public bool FeedingLocFB;
  38. /// <summary>
  39. /// 炒锅在洗锅位置反馈
  40. /// </summary>
  41. public bool WashingPotLocFB { get; set; }
  42. /// <summary>
  43. /// 通道出料完成反馈(1-3)
  44. /// </summary>
  45. public bool[] ChannelDisCom { get; set; } = new bool[3];
  46. /// <summary>
  47. /// 清洗完成
  48. /// </summary>
  49. public bool CleanFinish;
  50. /// <summary>
  51. /// 倒菜出餐完成。
  52. /// </summary>
  53. public bool OutDinningFinsh;
  54. /// <summary>
  55. /// 炒锅倒菜减速位
  56. /// </summary>
  57. public bool OutDinningSlowDownFlag;
  58. /// <summary>
  59. /// 当前锅底温度
  60. /// </summary>
  61. public float CurrentTemperature { get; set; }
  62. /// <summary>
  63. /// 当前炒锅搅拌转速
  64. /// </summary>
  65. public ushort CurrentSpeed { get; set; }
  66. /// <summary>
  67. /// 当前加热档位
  68. /// </summary>
  69. public ushort HeatingGear { get; set; }
  70. /// <summary>
  71. /// 搅拌电机运行频率
  72. /// </summary>
  73. public ushort StirMotorFreq { get; set; }
  74. /// <summary>
  75. /// 搅拌电机运行电流
  76. /// </summary>
  77. public ushort StirMotorCurrent { get; set; }
  78. /// <summary>
  79. /// 搅拌电机运行电压
  80. /// </summary>
  81. public ushort StirMotorVoltage { get; set; }
  82. /// <summary>
  83. /// 搅拌电机运行温度
  84. /// </summary>
  85. public ushort StirMotorTemprature { get; set; }
  86. /// <summary>
  87. /// 搅拌电机故障代码
  88. /// </summary>
  89. public string StirMotorErrorCode { get; set; } = "无故障";
  90. /// <summary>
  91. /// 翻转电机运行频率
  92. /// </summary>
  93. public ushort TurnMotorFreq { get; set; }
  94. /// <summary>
  95. /// 翻转电机运行电流
  96. /// </summary>
  97. public ushort TurnMotorCurrent { get; set; }
  98. /// <summary>
  99. /// 翻转电机运行电压
  100. /// </summary>
  101. public ushort TurnMotorVoltage { get; set; }
  102. /// <summary>
  103. /// 翻转电机运行温度
  104. /// </summary>
  105. public ushort TurnMotorTemprature { get; set; }
  106. /// <summary>
  107. /// 翻转电机故障代码
  108. /// </summary>
  109. public string TurnMotorErrorCode { get; set; } = "无故障";
  110. #region 炒锅报警
  111. /// <summary>
  112. /// 急停
  113. /// </summary>
  114. public bool EStopAlarm { get; set; }
  115. /// <summary>
  116. /// 炒锅正限位报警。
  117. /// </summary>
  118. public bool FryingPanFowardLimit { get; set; }
  119. /// <summary>
  120. /// 炒锅负限位报警。
  121. /// </summary>
  122. public bool FryingPanReverseLimit { get; set; }
  123. /// <summary>
  124. /// 编码器通信异常。
  125. /// </summary>
  126. public bool FryingPanEncoderCommError { get; set; }
  127. /// <summary>
  128. /// 搅拌电机通信异常。
  129. /// </summary>
  130. public bool StirMotorCommError { get; set; }
  131. /// <summary>
  132. /// 翻转电机通信异常。
  133. /// </summary>
  134. public bool RollingMotorCommError { get; set; }
  135. #endregion
  136. }
  137. }