config.xml 2.6 KB

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