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

114 lines
4.8 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.JXJFoodBigStation.Model.HK_PLC
  7. {
  8. public class DB_Read
  9. {
  10. [PlcComm("plc心跳上报")]
  11. public bool HeartBeat { get; set; }
  12. [PlcComm("配方1允许下发配方")]
  13. public bool IsAllowIssueRecipe1 { get; set; }
  14. [PlcComm("配方2允许下发配方")]
  15. public bool IsAllowIssueRecipe2 { get; set; }
  16. [PlcComm("配方3允许下发配方")]
  17. public bool IsAllowIssueRecipe3 { get; set; }
  18. [PlcComm("配方4允许下发配方")]
  19. public bool IsAllowIssueRecipe4 { get; set; }
  20. [PlcComm("配方1接收配方完成")]
  21. public bool ReceiveFinishRecipe1 { get; set; }
  22. [PlcComm("配方2接收配方完成")]
  23. public bool ReceiveFinishRecipe2 { get; set; }
  24. [PlcComm("配方3接收配方完成")]
  25. public bool ReceiveFinishRecipe3 { get; set; }
  26. [PlcComm("配方4接收配方完成")]
  27. public bool ReceiveFinishRecipe4 { get; set; }
  28. [PlcComm("配方1配料完成")]
  29. public bool Recipe1DosingFinish { get; set; }
  30. [PlcComm("配方2配料完成")]
  31. public bool Recipe2DosingFinish { get; set; }
  32. [PlcComm("配方3配料完成")]
  33. public bool Recipe3DosingFinish { get; set; }
  34. [PlcComm("配方4配料完成")]
  35. public bool Recipe4DosingFinish { get; set; }
  36. [PlcComm("配方1托盘编号")]
  37. public short Recipe1TrayCode { get; set; }
  38. [PlcComm("配方2托盘编号")]
  39. public short Recipe2TrayCode { get; set; }
  40. [PlcComm("配方3托盘编号")]
  41. public short Recipe3TrayCode { get; set; }
  42. [PlcComm("配方4托盘编号")]
  43. public short Recipe4TrayCode { get; set; }
  44. [PlcComm("料仓1实际下料重量")]
  45. public float StockBin1ActualWeight { get; set; }
  46. [PlcComm("料仓2实际下料重量")]
  47. public float StockBin2ActualWeight { get; set; }
  48. [PlcComm("料仓3实际下料重量")]
  49. public float StockBin3ActualWeight { get; set; }
  50. [PlcComm("料仓4实际下料重量")]
  51. public float StockBin4ActualWeight { get; set; }
  52. [PlcComm("料仓5实际下料重量")]
  53. public float StockBin5ActualWeight { get; set; }
  54. [PlcComm("料仓6实际下料重量")]
  55. public float StockBin6ActualWeight { get; set; }
  56. [PlcComm("料仓7实际下料重量")]
  57. public float StockBin7ActualWeight { get; set; }
  58. [PlcComm("料仓8实际下料重量")]
  59. public float StockBin8ActualWeight { get; set; }
  60. [PlcComm("料仓9实际下料重量")]
  61. public float StockBin9ActualWeight { get; set; }
  62. [PlcComm("料仓10实际下料重量")]
  63. public float StockBin10ActualWeight { get; set; }
  64. [PlcComm("料仓11实际下料重量")]
  65. public float StockBin11ActualWeight { get; set; }
  66. [PlcComm("料仓12实际下料重量")]
  67. public float StockBin12ActualWeight { get; set; }
  68. [PlcComm("料仓13实际下料重量")]
  69. public float StockBin13ActualWeight { get; set; }
  70. [PlcComm("料仓14实际下料重量")]
  71. public float StockBin14ActualWeight { get; set; }
  72. /*[PlcComm("托盘到位")]
  73. public ushort TrayInPlace { get; set; }
  74. [PlcComm("托盘传感器信号")]
  75. public ushort TraySensor { get; set; }
  76. [PlcComm("托盘1气缸信号")]
  77. public ushort TrayCylinder { get; set; }*/
  78. [PlcComm("托盘1到位")]
  79. public bool Tray1InPlace { get; set; }
  80. [PlcComm("托盘2到位")]
  81. public bool Tray2InPlace { get; set; }
  82. [PlcComm("托盘3到位")]
  83. public bool Tray3InPlace { get; set; }
  84. [PlcComm("托盘4到位")]
  85. public bool Tray4InPlace { get; set; }
  86. [PlcComm("托盘5到位")]
  87. public bool Tray5InPlace { get; set; }
  88. [PlcComm("托盘1气缸信号")]
  89. public bool Tray1Cylinder { get; set; }
  90. [PlcComm("托盘2气缸信号")]
  91. public bool Tray2Cylinder { get; set; }
  92. [PlcComm("托盘3气缸信号")]
  93. public bool Tray3Cylinder { get; set; }
  94. [PlcComm("托盘4气缸信号")]
  95. public bool Tray4Cylinder { get; set; }
  96. [PlcComm("托盘5气缸信号")]
  97. public bool Tray5Cylinder { get; set; }
  98. [PlcComm("托盘1传感器信号")]
  99. public bool Tray1Sensor { get; set; }
  100. [PlcComm("托盘2传感器信号")]
  101. public bool Tray2Sensor { get; set; }
  102. [PlcComm("托盘3传感器信号")]
  103. public bool Tray3Sensor { get; set; }
  104. [PlcComm("托盘4传感器信号")]
  105. public bool Tray4Sensor { get; set; }
  106. [PlcComm("托盘5传感器信号")]
  107. public bool Tray5Sensor { get; set; }
  108. }
  109. }