config.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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></brand>
  10. <minKg>5000</minKg>
  11. </weighbridge>
  12. <led>
  13. <enable>true</enable>
  14. <port>4003</port>
  15. <brand>2000</brand>
  16. </led>
  17. <plc>
  18. <enable>true</enable>
  19. <port>4001</port>
  20. <!--输出-->
  21. <out>
  22. <signalRedPoint>00</signalRedPoint>
  23. <signalGreenPoint>01</signalGreenPoint>
  24. <gatePoint>02</gatePoint>
  25. </out>
  26. <!--状态信号-->
  27. <status>
  28. <!--上到位-->
  29. <upPoint>0</upPoint>
  30. <!--下到位-->
  31. <downPoint>1</downPoint>
  32. <!--雷达-->
  33. <radarPoint>2</radarPoint>
  34. <!--前红外-->
  35. <fRedPoint>3</fRedPoint>
  36. <!--后红外-->
  37. <bRedPoint>4</bRedPoint>
  38. </status>
  39. </plc>
  40. </serialSetting>
  41. </sysConfig>
  42. <eventList>
  43. <event>
  44. <name>WEIGHBRIDGE.READ</name>
  45. <!--动作格式 模块.命令-->
  46. <actionList>
  47. <action>LED.LED_SHOW_CONTENT(地磅初始化)</action>
  48. <action>CENTER.TIMER_SLEEP(1500)</action>
  49. <action>LED.LED_SHOW_CONTENT(地磅初始化成功)</action>
  50. </actionList>
  51. </event>
  52. <event>
  53. <name>LED.READ</name>
  54. <actionList>
  55. <action>LED.LED_SHOW_CONTENT(红外初始化=======)</action>
  56. <action>CENTER.TIMER_SLEEP(10000)</action>
  57. <action>LED.LED_SHOW_CONTENT(欢迎使用红外)</action>
  58. </actionList>
  59. </event>
  60. <event>
  61. <!--识别到车牌-->
  62. <name>CAPTURE.CAPTURE_CAR_NO</name>
  63. <actionList>
  64. <action>LED.LED_SHOW_CONTENT(${platNo})</action>
  65. <action>PLC.RED_LIGHT_ON</action>
  66. <action>CENTER.TIMER_SLEEP(5000)</action>
  67. <action>PLC.RED_LIGHT_OFF</action>
  68. </actionList>
  69. </event>
  70. </eventList>
  71. </config>