zhaopeiym / IoTClient

This is an IoT device communication protocol implementation client, which will include common industrial communication protocols such as mainstream PLC communication reading, ModBus protocol, and Bacnet protocol. This component is open source and free for life, using the most relaxed MIT open source agreement, you can modify and commercial use at will (commercial use please evaluate and test). 这是一个物联网设备通讯协议实现客户端,将会包括主流PLC通信读取、ModBus协议、Bacnet协议等常用工业通讯协议。本组件终身开源免费,采用最宽松的MIT开源协议,您可以随意修改和商业使用(商业使用请做好评估和测试)。
MIT License
1.3k stars 414 forks source link

SiemensClient.BatchWrite 写入失败 #40

Open appledf opened 9 months ago

appledf commented 9 months ago

SiemensClient

Dictionary<string, object> arr = new Dictionary<string, object>(); arr.Add("va01", 8); arr.Add("va02", 0.5); arr.Add("va03", 2.9); arr.Add("va04", true); arr.Add("va05", (byte)1); var result = client.BatchWrite(arr,5);

一直提示result.IsSucceed==false 单个写入没有问题。 请指点。。。

appledf commented 9 months ago

还有在写入string类型的时候,写入成功,读取却报错 未定义数据类型:String