config.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <config>
  3. <sysConfig>
  4. <serialSetting>
  5. <host>192.168.1.254</host>
  6. <weighbridge>
  7. <enable>false</enable>
  8. <port>4005</port>
  9. <brand>3000</brand>
  10. <minKg>5000</minKg>
  11. </weighbridge>
  12. <car>
  13. <enable>false</enable>
  14. <port>4002</port>
  15. <brand>1000</brand>
  16. </car>
  17. <led>
  18. <enable>true</enable>
  19. <port>4003</port>
  20. <brand>2000</brand>
  21. </led>
  22. <electron>
  23. <enable>true</enable>
  24. <port>4002</port>
  25. <brand>2000</brand>
  26. </electron>
  27. <plc>
  28. <enable>true</enable>
  29. <port>4001</port>
  30. <!--输出-->
  31. <out>
  32. <signalRedPoint>02</signalRedPoint>
  33. <signalGreenPoint>03</signalGreenPoint>
  34. <gatePoint>00</gatePoint>
  35. </out>
  36. <!--状态信号-->
  37. <status>
  38. <!--上到位-->
  39. <upPoint>0</upPoint>
  40. <!--下到位-->
  41. <downPoint>1</downPoint>
  42. <!--雷达-->
  43. <radarPoint>2</radarPoint>
  44. <!--前红外-->
  45. <fRedPoint>3</fRedPoint>
  46. <!--后红外-->
  47. <bRedPoint>4</bRedPoint>
  48. </status>
  49. </plc>
  50. </serialSetting>
  51. </sysConfig>
  52. <eventList>
  53. <event>
  54. <name>WEIGHBRIDGE.READY</name>
  55. <!--动作格式 模块.命令-->
  56. <actionList>
  57. <action>LED.LED_SHOW_CONTENT(地磅初始化)</action>
  58. <action>CENTER.TIMER_SLEEP(1500)</action>
  59. <action>LED.LED_SHOW_CONTENT(即将称重,请停稳车辆)</action>
  60. </actionList>
  61. </event>
  62. <event>
  63. <name>WEIGHBRIDGE.READ</name>
  64. <!--动作格式 模块.命令-->
  65. <actionList>
  66. <action>LED.LED_SHOW_CONTENT(地磅称重中)</action>
  67. <action>WEIGHBRIDGE.START_READ</action>
  68. <action>LED.LED_SHOW_CONTENT(${weight})</action>
  69. <action>CENTER.SUBMIT</action>
  70. </actionList>
  71. </event>
  72. <event>
  73. <name>LED.READ</name>
  74. <actionList>
  75. <action>LED.LED_SHOW_CONTENT(红外初始化=======)</action>
  76. <action>CENTER.TIMER_SLEEP(10000)</action>
  77. <action>LED.LED_SHOW_CONTENT(欢迎使用红外)</action>
  78. </actionList>
  79. </event>
  80. <event>
  81. <!--识别到车牌-->
  82. <name>CAPTURE.CAPTURE_CAR_NO</name>
  83. <actionList>
  84. <action>LED.LED_SHOW_CONTENT(${platNo})</action>
  85. <action>PLC.RED_LIGHT_ON</action>
  86. <action>CENTER.TIMER_SLEEP(5000)</action>
  87. <action>PLC.RED_LIGHT_OFF</action>
  88. </actionList>
  89. </event>
  90. <event>
  91. <!--通过校验,抬杆-->
  92. <name>PLC.RAILING_RISE</name>
  93. <actionList>
  94. <action>LED.LED_SHOW_CONTENT(校验已通过)</action>
  95. <action>PLC.RAILING_RISE_ON</action>
  96. <action>CENTER.TIMER_SLEEP(5000)</action>
  97. <action>PLC.RAILING_RISE_OFF</action>
  98. </actionList>
  99. </event>
  100. <event>
  101. <!--校验失败-->
  102. <name>PLC.CHECK_FAILED</name>
  103. <actionList>
  104. <action>LED.LED_SHOW_CONTENT(校验失败,请退出通道)</action>
  105. </actionList>
  106. </event>
  107. <event>
  108. <!--通道重置-->
  109. <name>PLC.IDLE</name>
  110. <actionList>
  111. <action>PLC.GREEN_LIGHT_ON</action>
  112. <action>LED.LED_SHOW_CONTENT(${platNo})</action>
  113. <action>LED.LED_SHOW_CONTENT(通道就绪,请通行)</action>
  114. <action>CENTER.TIMER_SLEEP(5000)</action>
  115. <action>PLC.GREEN_LIGHT_OFF</action>
  116. </actionList>
  117. </event>
  118. <event>
  119. <name>WEIGHBRIDGE.TIMEOUT</name>
  120. <actionList>
  121. <action>LED.LED_SHOW_CONTENT(地磅称重数据异常,请联系管理人员)</action>
  122. </actionList>
  123. </event>
  124. <event>
  125. <name>WEIGHBRIDGE.POSITION_ERROR</name>
  126. <actionList>
  127. <action>LED.LED_SHOW_CONTENT(车辆位置异常,请完全退出通道后再次进入通道)</action>
  128. </actionList>
  129. </event>
  130. <!--识别车牌异常-->
  131. <event>
  132. <name>CAPTURE.CAPTURE_FAILED</name>
  133. <actionList>
  134. <action>LED.LED_SHOW_CONTENT(车牌获取异常,请退车并申请人工处理)</action>
  135. </actionList>
  136. </event>
  137. </eventList>
  138. </config>