config.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <config>
  3. <managerSetting>
  4. <enable>false</enable>
  5. <host>192.168.3.127</host>
  6. <beatPort>8050</beatPort>
  7. <serverUrl>http://127.0.0.1:9191</serverUrl>
  8. </managerSetting>
  9. <!--通道属性配置-->
  10. <channelSetting>
  11. <!--本机IP-->
  12. <ip>10.5.136.55</ip>
  13. <channelCode>DE2</channelCode>
  14. <channelName>货运进道2</channelName>
  15. <!--0 货运通道 1 行政通道-->
  16. <channelType>0</channelType>
  17. <!--车牌保存路径-->
  18. <fileRootPath>D:\\file</fileRootPath>
  19. </channelSetting>
  20. <!--设备相关设置-->
  21. <sysConfig>
  22. <caputreSetting>
  23. <enable>true</enable>
  24. <brand>6000</brand>
  25. <host>192.168.55.100</host>
  26. <port>8000</port>
  27. <username>admin</username>
  28. <pwd>ap123456</pwd>
  29. </caputreSetting>
  30. <serialSetting>
  31. <host>10.5.136.55</host>
  32. <weighbridge>
  33. <enable>false</enable>
  34. <port>4003</port>
  35. <brand>3000</brand>
  36. <minKg>1000</minKg>
  37. </weighbridge>
  38. <led>
  39. <enable>false</enable>
  40. <port>4002</port>
  41. <brand>2000</brand>
  42. </led>
  43. <electron>
  44. <enable>false</enable>
  45. <port>4002</port>
  46. <brand>2000</brand>
  47. </electron>
  48. <plc>
  49. <enable>false</enable>
  50. <port>4001</port>
  51. <!--输出-->
  52. <out>
  53. <gatePoint>00</gatePoint>
  54. <signalRedPoint>02</signalRedPoint>
  55. <signalGreenPoint>03</signalGreenPoint>
  56. </out>
  57. <!--状态信号-->
  58. <status>
  59. <!--上到位-->
  60. <upPoint>0</upPoint>
  61. <!--下到位-->
  62. <downPoint>1</downPoint>
  63. <!--雷达-->
  64. <radarPoint>2</radarPoint>
  65. <!--前红外-->
  66. <fRedPoint>3</fRedPoint>
  67. <!--后红外-->
  68. <bRedPoint>4</bRedPoint>
  69. </status>
  70. </plc>
  71. </serialSetting>
  72. </sysConfig>
  73. <!--事件时序-->
  74. <eventList>
  75. <event>
  76. <name>WEIGHBRIDGE.READ</name>
  77. <!--动作格式 模块.命令-->
  78. <actionList>
  79. <action>CENTER.TIMER_SLEEP(1000)</action>
  80. <action>LED.LED_SHOW_CONTENT(04|即将称重,请停车)</action>
  81. <action>CENTER.TIMER_SLEEP(3000)</action>
  82. <action>WEIGHBRIDGE.START_READ</action>
  83. <action>CENTER.TIMER_SLEEP(5000)</action>
  84. <action>LED.LED_SHOW_CONTENT(${weight})</action>
  85. <action>CENTER.TIMER_SLEEP(500)</action>
  86. <action>LED.LED_SHOW_CONTENT(04|称重成功,后台验放通讯中)</action>
  87. <action>CENTER.SUBMIT</action>
  88. </actionList>
  89. </event>
  90. <event>
  91. <name>LED.READ</name>
  92. <actionList>
  93. <action>LED.LED_SHOW_CONTENT(红外初始化=======)</action>
  94. <action>CENTER.TIMER_SLEEP(10000)</action>
  95. <action>LED.LED_SHOW_CONTENT(欢迎使用红外)</action>
  96. </actionList>
  97. </event>
  98. <event>
  99. <!--识别到车牌-->
  100. <name>CAPTURE.CAPTURE_CAR_NO</name>
  101. <actionList>
  102. <action>LED.LED_SHOW_CONTENT(${platNo})</action>
  103. <action>PLC.RED_LIGHT_ON</action>
  104. <action>PLC.GREEN_LIGHT_OFF</action>
  105. <action>LED.LED_SHOW_CONTENT(04|请继续行驶)</action>
  106. </actionList>
  107. </event>
  108. <event>
  109. <!--通过校验,抬杆-->
  110. <name>PLC.RAILING_RISE</name>
  111. <actionList>
  112. <action>PLC.RAILING_RISE_ON</action>
  113. <action>CENTER.TIMER_SLEEP(100)</action>
  114. <action>PLC.RAILING_RISE_OFF</action>
  115. </actionList>
  116. </event>
  117. <event>
  118. <!--通过校验,继电器1断开闭合-->
  119. <name>PLC.UP_POINT_READ</name>
  120. <actionList>
  121. <action>PLC.RAILING_RISE_OFF</action>
  122. </actionList>
  123. </event>
  124. <event>
  125. <!--校验超时-->
  126. <name>PLC.SUBMIT_TIMEOUT</name>
  127. <actionList>
  128. <action>LED.LED_SHOW_CONTENT(04|提交数据请求失败,请联系管理人员)</action>
  129. </actionList>
  130. </event>
  131. <event>
  132. <!--行政车校验不放行-->
  133. <name>PLC.CHECK_ADMIN_FAILED</name>
  134. <actionList>
  135. <action>WEIGHBRIDGE.CLEAN</action>
  136. <action>CENTER.TIMER_SLEEP(2000)</action>
  137. <action>LED.LED_SHOW_CONTENT(04|请退出通道)</action>
  138. <action>CENTER.TIMER_SLEEP(8000)</action>
  139. <action>PLC.RED_LIGHT_OFF</action>
  140. <action>CENTER.TIMER_SLEEP(100)</action>
  141. <action>PLC.GREEN_LIGHT_ON</action>
  142. <action>PLC.RAILING_RISE_OFF</action>
  143. <action>LED.LED_SHOW_CONTENT(${platNo})</action>
  144. <action>LED.LED_SHOW_CONTENT(04|通道就绪,请通行)</action>
  145. </actionList>
  146. </event>
  147. <event>
  148. <!--通道重置-->
  149. <name>PLC.IDLE</name>
  150. <actionList>
  151. <action>WEIGHBRIDGE.CLEAN</action>
  152. <action>CENTER.TIMER_SLEEP(20)</action>
  153. <action>PLC.RED_LIGHT_OFF</action>
  154. <action>CENTER.TIMER_SLEEP(30)</action>
  155. <action>PLC.GREEN_LIGHT_ON</action>
  156. <action>PLC.RAILING_RISE_OFF</action>
  157. <action>LED.LED_SHOW_CONTENT(${channel})</action>
  158. <action>LED.LED_SHOW_CONTENT(${platNo})</action>
  159. <action>LED.LED_SHOW_CONTENT(${weight})</action>
  160. <action>LED.LED_SHOW_CONTENT(04|通道就绪,请通行)</action>
  161. </actionList>
  162. </event>
  163. <!--通道关闭-->
  164. <event>
  165. <name>PLC.SHUTDOWN</name>
  166. <actionList>
  167. <action>PLC.GREEN_LIGHT_OFF</action>
  168. <action>CENTER.TIMER_SLEEP(100)</action>
  169. <action>PLC.RED_LIGHT_ON</action>
  170. <action>LED.LED_SHOW_CONTENT(04|通道停止使用|01)</action>
  171. </actionList>
  172. </event>
  173. <event>
  174. <name>WEIGHBRIDGE.TIMEOUT</name>
  175. <actionList>
  176. <action>CENTER.TIMER_SLEEP(1000)</action>
  177. <action>LED.LED_SHOW_CONTENT(03|称重异常)</action>
  178. <action>LED.LED_SHOW_CONTENT(04|请退车并请联系管理人员)</action>
  179. </actionList>
  180. </event>
  181. <event>
  182. <name>WEIGHBRIDGE.POSITION_ERROR</name>
  183. <actionList>
  184. <action>LED.LED_SHOW_CONTENT(03|车辆位置异常或异常跟车)</action>
  185. <action>LED.LED_SHOW_CONTENT(04|请完全退出通道后再次进入通道)</action>
  186. </actionList>
  187. </event>
  188. <event>
  189. <name>CAPTURE.CAPTURE_FAILED</name>
  190. <actionList>
  191. <action>LED.LED_SHOW_CONTENT(02|车牌获取异常)</action>
  192. <action>LED.LED_SHOW_CONTENT(04|请退车并申请人工处理)</action>
  193. </actionList>
  194. </event>
  195. <event>
  196. <!--行政通道 识别到车牌-->
  197. <name>CAPTURE.CAPTURE_ADMIN</name>
  198. <actionList>
  199. <action>LED.LED_SHOW_CONTENT(${platNo})</action>
  200. <action>CENTER.TIMER_SLEEP(500)</action>
  201. <action>LED.LED_SHOW_CONTENT(04|后台验放通讯中)</action>
  202. <action>CENTER.SUBMIT</action>
  203. </actionList>
  204. </event>
  205. </eventList>
  206. </config>