PLCInstruct.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace UAS_LabelMachine.PublicMethod
  6. {
  7. class PLCInstruct
  8. {
  9. /// <summary>
  10. /// 设备启动
  11. /// </summary>
  12. private static string deviceStart= "deviceStart";
  13. /// <summary>
  14. /// 设备停止
  15. /// </summary>
  16. private static string deviceStop = "deviceStop";
  17. /// <summary>
  18. /// 数据到达
  19. /// </summary>
  20. private static string dataRecive = "dataRecive";
  21. /// <summary>
  22. /// 设备异常
  23. /// </summary>
  24. private static string devError = "devError";
  25. /// <summary>
  26. /// 堆叠料到达
  27. /// </summary>
  28. private static string stackMaterial = "stackMaterial";
  29. /// <summary>
  30. /// 复核料到达
  31. /// </summary>
  32. private static string checkMaterial = "checkMaterial";
  33. /// <summary>
  34. /// 前端扫描数据异常
  35. /// </summary>
  36. private static string frontDataDelete = "frontDataDelete";
  37. /// <summary>
  38. /// 前端数据通过
  39. /// </summary>
  40. private static string frontDataPass = "frontDataPass";
  41. /// <summary>
  42. /// 后端扫描数据异常
  43. /// </summary>
  44. private static string backDataDelete = "backDataDelete";
  45. /// <summary>
  46. /// 后端数据通过
  47. /// </summary>
  48. private static string backDataPass = "backDataPass";
  49. /// <summary>
  50. /// 料盘叠料
  51. /// </summary>
  52. private static string materialTray = "materialTray";
  53. public static string DeviceStart
  54. {
  55. get
  56. {
  57. return deviceStart;
  58. }
  59. set
  60. {
  61. deviceStart = value;
  62. }
  63. }
  64. public static string DataRecive
  65. {
  66. get
  67. {
  68. return dataRecive;
  69. }
  70. set
  71. {
  72. dataRecive = value;
  73. }
  74. }
  75. public static string DevError
  76. {
  77. get
  78. {
  79. return devError;
  80. }
  81. set
  82. {
  83. devError = value;
  84. }
  85. }
  86. public static string StackMaterial
  87. {
  88. get
  89. {
  90. return stackMaterial;
  91. }
  92. set
  93. {
  94. stackMaterial = value;
  95. }
  96. }
  97. public static string CheckMaterial
  98. {
  99. get
  100. {
  101. return checkMaterial;
  102. }
  103. set
  104. {
  105. checkMaterial = value;
  106. }
  107. }
  108. public static string FrontDataDelete
  109. {
  110. get
  111. {
  112. return frontDataDelete;
  113. }
  114. set
  115. {
  116. frontDataDelete = value;
  117. }
  118. }
  119. public static string FrontDataPass
  120. {
  121. get
  122. {
  123. return frontDataPass;
  124. }
  125. set
  126. {
  127. frontDataPass = value;
  128. }
  129. }
  130. public static string BackDataDelete
  131. {
  132. get
  133. {
  134. return backDataDelete;
  135. }
  136. set
  137. {
  138. backDataDelete = value;
  139. }
  140. }
  141. public static string BackDataPass
  142. {
  143. get
  144. {
  145. return backDataPass;
  146. }
  147. set
  148. {
  149. backDataPass = value;
  150. }
  151. }
  152. public static string MaterialTray
  153. {
  154. get
  155. {
  156. return materialTray;
  157. }
  158. set
  159. {
  160. materialTray = value;
  161. }
  162. }
  163. public static string DeviceStop
  164. {
  165. get
  166. {
  167. return deviceStop;
  168. }
  169. set
  170. {
  171. deviceStop = value;
  172. }
  173. }
  174. }
  175. }