| | |
| | | } |
| | | } |
| | | //写入日志 |
| | | Log.Information($"66666666写入PLC,DbNumber:{DbNumber},Pos:{Pos},Value:{Value},setCount:{setCount}"); |
| | | //Log.Information($"66666666写入PLC,DbNumber:{DbNumber},Pos:{Pos},Value:{Value},setCount:{setCount}"); |
| | | |
| | | return _result; |
| | | } |
| | |
| | | /// <returns></returns> |
| | | public IoTClient.Result SetPlcDBValue(PLCDataTypeEnum PosType, string DbNumber, string Pos, string Value) |
| | | { |
| | | Log.Information($"66666666写入PLC,DbNumber:{DbNumber},Pos:{Pos},Value:{Value}"); |
| | | //Log.Information($"66666666写入PLC,DbNumber:{DbNumber},Pos:{Pos},Value:{Value}"); |
| | | |
| | | string address; |
| | | if (DbNumber.StartsWith("DB")) |