前面啥也没有
TCP
客户端配置
GeneralLib.xDvConfigClient.init(GeneralLib.xRemoterClientConfig)
服务端配置
GeneralLib.GenO.InitRemoterTcpServer()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
   | <?xml version="1.0" encoding="utf-8" standalone="yes"?> <Root>   <xDevice updateRate="50">     <Item ip="10.18.13.50:10240">       <__COUNTER_OUT value="None" WriteEnable="false" Reversion="false" />       <__COUNTER_IN value="None" WriteEnable="false" Reversion="false" />       <Communication_ZTS value="CarParam_ZTS" WriteEnable="true" Reversion="false" />       <Communication_VIN value="CarParam_VIN" WriteEnable="true" Reversion="false" />     </Item>     <DeviceDescribe>            </DeviceDescribe>     <Alarms>       <AlarmItem value="None">         <Alarm Index="0" Name="告警信息格式模板" />       </AlarmItem>     </Alarms>   </xDevice> </Root>
   | 
 
配置完成后,相当于客户端的Communication_VIN与服务端的CarParam_VIN进行了绑定
UDP
客户端配置
SocketOpraLib.UDPClientOpra.SetDestInfoConfig(ConfigSend)
SocketOpraLib.UDPClientOpra.SendTo(“{VIN};{ZTS}”)
服务端配置
SocketOpraLib.UDPServerOpra.SetLocalInfoConfig(ConfigRecv)