config.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <config>
  3. <managerSetting>
  4. <enable>true</enable>
  5. <host>10.26.1.25</host>
  6. <beatPort>8050</beatPort>
  7. <serverUrl>http://10.26.1.25:9191</serverUrl>
  8. </managerSetting>
  9. <!--通道属性配置-->
  10. <channelSetting>
  11. <!--本机IP-->
  12. <ip>10.26.1.26</ip>
  13. <channelCode>A1002</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. <host>10.26.6.51</host>
  25. <port>8000</port>
  26. <username>admin</username>
  27. <pwd>ABCabc123</pwd>
  28. <brand>5000</brand>
  29. </caputreSetting>
  30. <serialSetting>
  31. <host>10.26.6.50</host>
  32. <weighbridge>
  33. <enable>true</enable>
  34. <port>4003</port>
  35. <brand>3000</brand>
  36. <minKg>1000</minKg>
  37. </weighbridge>
  38. <led>
  39. <enable>true</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>true</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. <!--校验失败-->
  119. <name>PLC.SUBMIT_TIMEOUT</name>
  120. <actionList>
  121. <action>LED.LED_SHOW_CONTENT(04|提交数据请求失败,请联系管理人员)</action>
  122. </actionList>
  123. </event>
  124. <event>
  125. <!--通道重置-->
  126. <name>PLC.IDLE</name>
  127. <actionList>
  128. <action>WEIGHBRIDGE.CLEAN</action>
  129. <action>CENTER.TIMER_SLEEP(20)</action>
  130. <action>PLC.RED_LIGHT_OFF</action>
  131. <action>CENTER.TIMER_SLEEP(30)</action>
  132. <action>PLC.GREEN_LIGHT_ON</action>
  133. <action>PLC.RAILING_RISE_OFF</action>
  134. <action>LED.LED_SHOW_CONTENT(${channel})</action>
  135. <action>LED.LED_SHOW_CONTENT(${platNo})</action>
  136. <action>LED.LED_SHOW_CONTENT(${weight})</action>
  137. <action>LED.LED_SHOW_CONTENT(04|通道就绪,请通行)</action>
  138. </actionList>
  139. </event>
  140. <event>
  141. <name>WEIGHBRIDGE.TIMEOUT</name>
  142. <actionList>
  143. <action>CENTER.TIMER_SLEEP(1000)</action>
  144. <action>LED.LED_SHOW_CONTENT(03|称重异常)</action>
  145. <action>LED.LED_SHOW_CONTENT(04|请退车并请联系管理人员)</action>
  146. </actionList>
  147. </event>
  148. <event>
  149. <name>WEIGHBRIDGE.POSITION_ERROR</name>
  150. <actionList>
  151. <action>LED.LED_SHOW_CONTENT(03|车辆位置异常或异常跟车)</action>
  152. <action>LED.LED_SHOW_CONTENT(04|请完全退出通道后再次进入通道)</action>
  153. </actionList>
  154. </event>
  155. <event>
  156. <name>CAPTURE.CAPTURE_FAILED</name>
  157. <actionList>
  158. <action>LED.LED_SHOW_CONTENT(02|车牌获取异常)</action>
  159. <action>LED.LED_SHOW_CONTENT(04|请退车并申请人工处理)</action>
  160. </actionList>
  161. </event>
  162. <event>
  163. <!--行政通道 识别到车牌-->
  164. <name>CAPTURE.CAPTURE_ADMIN</name>
  165. <actionList>
  166. <action>LED.LED_SHOW_CONTENT(${platNo})</action>
  167. <action>CENTER.TIMER_SLEEP(500)</action>
  168. <action>LED.LED_SHOW_CONTENT(04|后台验放通讯中)</action>
  169. <action>CENTER.SUBMIT</action>
  170. </actionList>
  171. </event>
  172. </eventList>
  173. </config>