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

153 rivejä
5.8 KiB

  1. using BPASmartClient.S7Net;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmartClient.JXJFoodBigStation.Model.HK_PLC
  8. {
  9. /// <summary>
  10. /// 上位机只写的DB99。
  11. /// </summary>
  12. public class DB_Write
  13. {
  14. /// <summary>
  15. /// 上位机 到 PLC的心跳
  16. /// </summary>
  17. public bool HeartBeat { get; set; }
  18. /// <summary>
  19. /// 订单类型(false:正常工单执行 true:洗桶)
  20. /// </summary>
  21. public bool RecipeLock { get; set; }
  22. /// <summary>
  23. /// 配方清零
  24. /// </summary>
  25. public bool RecipeReset { get; set; }
  26. /// <summary>
  27. /// 配方1下发完成
  28. /// </summary>
  29. public bool Recipe1IssuedFinish { get; set; }
  30. /// <summary>
  31. /// 配方2下发完成
  32. /// </summary>
  33. public bool Recipe2IssuedFinish { get; set; }
  34. /// <summary>
  35. /// 配方3下发完成
  36. /// </summary>
  37. public bool Recipe3IssuedFinish { get; set; }
  38. /// <summary>
  39. /// 配方4下发完成
  40. /// </summary>
  41. public bool Recipe4IssuedFinish { get; set; }
  42. /// <summary>
  43. /// AGV在托盘1到位
  44. /// </summary>
  45. public bool Tray1InPlace { get; set; }
  46. /// <summary>
  47. /// AGV在托盘2到位
  48. /// </summary>
  49. public bool Tray2InPlace { get; set; }
  50. /// <summary>
  51. /// AGV在托盘3到位
  52. /// </summary>
  53. public bool Tray3InPlace { get; set; }
  54. /// <summary>
  55. /// AGV在托盘4到位
  56. /// </summary>
  57. public bool Tray4InPlace { get; set; }
  58. /// <summary>
  59. /// AGV在托盘5到位
  60. /// </summary>
  61. public bool Tray5InPlace { get; set; }
  62. /// <summary>
  63. /// 配方1配料完成
  64. /// </summary>
  65. public bool Recipe1DoisngFinish { get; set; }
  66. /// <summary>
  67. /// 配方2配料完成
  68. /// </summary>
  69. public bool Recipe2DoisngFinish { get; set; }
  70. /// <summary>
  71. /// 配方3配料完成
  72. /// </summary>
  73. public bool Recipe3DoisngFinish { get; set; }
  74. /// <summary>
  75. /// 配方4配料完成
  76. /// </summary>
  77. public bool Recipe4DoisngFinish { get; set; }
  78. /// <summary>
  79. /// 配方编码
  80. /// </summary>
  81. public short RecipeCode { get; set; }
  82. /// <summary>
  83. /// 托盘编码
  84. /// </summary>
  85. public short TrayCode { get; set; }
  86. public float Bareel1Bin1SetWeight { get; set; }
  87. public float Bareel1Bin2SetWeight { get; set; }
  88. public float Bareel1Bin3SetWeight { get; set; }
  89. public float Bareel1Bin4SetWeight { get; set; }
  90. public float Bareel1Bin5SetWeight { get; set; }
  91. public float Bareel1Bin6SetWeight { get; set; }
  92. public float Bareel1Bin7SetWeight { get; set; }
  93. public float Bareel1Bin8SetWeight { get; set; }
  94. public float Bareel1Bin9SetWeight { get; set; }
  95. public float Bareel1Bin10SetWeight { get; set; }
  96. public float Bareel1Bin11SetWeight { get; set; }
  97. public float Bareel1Bin12SetWeight { get; set; }
  98. public float Bareel1Bin13SetWeight { get; set; }
  99. public float Bareel1Bin14SetWeight { get; set; }
  100. public float Bareel2Bin1SetWeight { get; set; }
  101. public float Bareel2Bin2SetWeight { get; set; }
  102. public float Bareel2Bin3SetWeight { get; set; }
  103. public float Bareel2Bin4SetWeight { get; set; }
  104. public float Bareel2Bin5SetWeight { get; set; }
  105. public float Bareel2Bin6SetWeight { get; set; }
  106. public float Bareel2Bin7SetWeight { get; set; }
  107. public float Bareel2Bin8SetWeight { get; set; }
  108. public float Bareel2Bin9SetWeight { get; set; }
  109. public float Bareel2Bin10SetWeight { get; set; }
  110. public float Bareel2Bin11SetWeight { get; set; }
  111. public float Bareel2Bin12SetWeight { get; set; }
  112. public float Bareel2Bin13SetWeight { get; set; }
  113. public float Bareel2Bin14SetWeight { get; set; }
  114. public float Bareel4Bin1SetWeight { get; set; }
  115. public float Bareel4Bin2SetWeight { get; set; }
  116. public float Bareel4Bin3SetWeight { get; set; }
  117. public float Bareel4Bin4SetWeight { get; set; }
  118. public float Bareel4Bin5SetWeight { get; set; }
  119. public float Bareel4Bin6SetWeight { get; set; }
  120. public float Bareel4Bin7SetWeight { get; set; }
  121. public float Bareel4Bin8SetWeight { get; set; }
  122. public float Bareel4Bin9SetWeight { get; set; }
  123. public float Bareel4Bin10SetWeight { get; set; }
  124. public float Bareel4Bin11SetWeight { get; set; }
  125. public float Bareel4Bin12SetWeight { get; set; }
  126. public float Bareel4Bin13SetWeight { get; set; }
  127. public float Bareel4Bin14SetWeight { get; set; }
  128. public float Bareel5Bin1SetWeight { get; set; }
  129. public float Bareel5Bin2SetWeight { get; set; }
  130. public float Bareel5Bin3SetWeight { get; set; }
  131. public float Bareel5Bin4SetWeight { get; set; }
  132. public float Bareel5Bin5SetWeight { get; set; }
  133. public float Bareel5Bin6SetWeight { get; set; }
  134. public float Bareel5Bin7SetWeight { get; set; }
  135. public float Bareel5Bin8SetWeight { get; set; }
  136. public float Bareel5Bin9SetWeight { get; set; }
  137. public float Bareel5Bin10SetWeight { get; set; }
  138. public float Bareel5Bin11SetWeight { get; set; }
  139. public float Bareel5Bin12SetWeight { get; set; }
  140. public float Bareel5Bin13SetWeight { get; set; }
  141. public float Bareel5Bin14SetWeight { get; set; }
  142. public bool OrderCancel_Sign { get; set; }
  143. public short OrderCancel_TrayCode { get; set; }
  144. }
  145. }