123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- <?xml version="1.0" encoding="UTF-8"?>
- <config>
- <managerSetting>
- <enable>true</enable>
- <host>10.26.1.25</host>
- <beatPort>8050</beatPort>
- <serverUrl>http://10.26.1.25:9191</serverUrl>
- </managerSetting>
- <!--通道属性配置-->
- <channelSetting>
- <!--本机IP-->
- <ip>10.26.1.26</ip>
- <channelCode>A1002</channelCode>
- <channelName>货运进道2</channelName>
- <!--0 货运通道 1 行政通道-->
- <channelType>0</channelType>
- <!--车牌保存路径-->
- <fileRootPath>D:\\file</fileRootPath>
- </channelSetting>
- <!--设备相关设置-->
- <sysConfig>
- <caputreSetting>
- <enable>true</enable>
- <host>10.26.6.51</host>
- <port>8000</port>
- <username>admin</username>
- <pwd>ABCabc123</pwd>
- <brand>5000</brand>
- </caputreSetting>
- <serialSetting>
- <host>10.26.6.50</host>
- <weighbridge>
- <enable>true</enable>
- <port>4003</port>
- <brand>3000</brand>
- <minKg>1000</minKg>
- </weighbridge>
- <led>
- <enable>true</enable>
- <port>4002</port>
- <brand>2000</brand>
- </led>
- <electron>
- <enable>false</enable>
- <port>4002</port>
- <brand>2000</brand>
- </electron>
- <plc>
- <enable>true</enable>
- <port>4001</port>
- <!--输出-->
- <out>
- <gatePoint>00</gatePoint>
- <signalRedPoint>02</signalRedPoint>
- <signalGreenPoint>03</signalGreenPoint>
- </out>
- <!--状态信号-->
- <status>
- <!--上到位-->
- <upPoint>0</upPoint>
- <!--下到位-->
- <downPoint>1</downPoint>
- <!--雷达-->
- <radarPoint>2</radarPoint>
- <!--前红外-->
- <fRedPoint>3</fRedPoint>
- <!--后红外-->
- <bRedPoint>4</bRedPoint>
- </status>
- </plc>
- </serialSetting>
- </sysConfig>
- <!--事件时序-->
- <eventList>
- <event>
- <name>WEIGHBRIDGE.READ</name>
- <!--动作格式 模块.命令-->
- <actionList>
- <action>CENTER.TIMER_SLEEP(1000)</action>
- <action>LED.LED_SHOW_CONTENT(04|即将称重,请停车)</action>
- <action>CENTER.TIMER_SLEEP(3000)</action>
- <action>WEIGHBRIDGE.START_READ</action>
- <action>CENTER.TIMER_SLEEP(5000)</action>
- <action>LED.LED_SHOW_CONTENT(${weight})</action>
- <action>CENTER.TIMER_SLEEP(500)</action>
- <action>LED.LED_SHOW_CONTENT(04|称重成功,后台验放通讯中)</action>
- <action>CENTER.SUBMIT</action>
- </actionList>
- </event>
- <event>
- <name>LED.READ</name>
- <actionList>
- <action>LED.LED_SHOW_CONTENT(红外初始化=======)</action>
- <action>CENTER.TIMER_SLEEP(10000)</action>
- <action>LED.LED_SHOW_CONTENT(欢迎使用红外)</action>
- </actionList>
- </event>
- <event>
- <!--识别到车牌-->
- <name>CAPTURE.CAPTURE_CAR_NO</name>
- <actionList>
- <action>LED.LED_SHOW_CONTENT(${platNo})</action>
- <action>PLC.RED_LIGHT_ON</action>
- <action>PLC.GREEN_LIGHT_OFF</action>
- <action>LED.LED_SHOW_CONTENT(04|请继续行驶)</action>
- </actionList>
- </event>
- <event>
- <!--通过校验,抬杆-->
- <name>PLC.RAILING_RISE</name>
- <actionList>
- <action>PLC.RAILING_RISE_ON</action>
- <action>CENTER.TIMER_SLEEP(100)</action>
- <action>PLC.RAILING_RISE_OFF</action>
- </actionList>
- </event>
- <event>
- <!--校验失败-->
- <name>PLC.SUBMIT_TIMEOUT</name>
- <actionList>
- <action>LED.LED_SHOW_CONTENT(04|提交数据请求失败,请联系管理人员)</action>
- </actionList>
- </event>
- <event>
- <!--通道重置-->
- <name>PLC.IDLE</name>
- <actionList>
- <action>WEIGHBRIDGE.CLEAN</action>
- <action>CENTER.TIMER_SLEEP(20)</action>
- <action>PLC.RED_LIGHT_OFF</action>
- <action>CENTER.TIMER_SLEEP(30)</action>
- <action>PLC.GREEN_LIGHT_ON</action>
- <action>PLC.RAILING_RISE_OFF</action>
- <action>LED.LED_SHOW_CONTENT(${channel})</action>
- <action>LED.LED_SHOW_CONTENT(${platNo})</action>
- <action>LED.LED_SHOW_CONTENT(${weight})</action>
- <action>LED.LED_SHOW_CONTENT(04|通道就绪,请通行)</action>
- </actionList>
- </event>
- <event>
- <name>WEIGHBRIDGE.TIMEOUT</name>
- <actionList>
- <action>CENTER.TIMER_SLEEP(1000)</action>
- <action>LED.LED_SHOW_CONTENT(03|称重异常)</action>
- <action>LED.LED_SHOW_CONTENT(04|请退车并请联系管理人员)</action>
- </actionList>
- </event>
- <event>
- <name>WEIGHBRIDGE.POSITION_ERROR</name>
- <actionList>
- <action>LED.LED_SHOW_CONTENT(03|车辆位置异常或异常跟车)</action>
- <action>LED.LED_SHOW_CONTENT(04|请完全退出通道后再次进入通道)</action>
- </actionList>
- </event>
- <event>
- <name>CAPTURE.CAPTURE_FAILED</name>
- <actionList>
- <action>LED.LED_SHOW_CONTENT(02|车牌获取异常)</action>
- <action>LED.LED_SHOW_CONTENT(04|请退车并申请人工处理)</action>
- </actionList>
- </event>
- <event>
- <!--行政通道 识别到车牌-->
- <name>CAPTURE.CAPTURE_ADMIN</name>
- <actionList>
- <action>LED.LED_SHOW_CONTENT(${platNo})</action>
- <action>CENTER.TIMER_SLEEP(500)</action>
- <action>LED.LED_SHOW_CONTENT(04|后台验放通讯中)</action>
- <action>CENTER.SUBMIT</action>
- </actionList>
- </event>
- </eventList>
- </config>
|