| | |
| | | address = DbNumber + "." + Pos; |
| | | else |
| | | address = DbNumber + Pos; |
| | | return this.SetPlcDBValue(PosType, address, Pos, Value); |
| | | return this.SetPlcDBValue(PosType, address, Value); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 写入PLC值 |
| | | /// </summary> |
| | | //public IoTClient.Result SetPlcDBValue(PLCDataTypeEnum PosType, string DbNumber, string Pos, byte Value) |
| | | //{ |
| | | // string address; |
| | | // if (DbNumber.StartsWith("DB")) |
| | | // address = DbNumber + "." + Pos; |
| | | // else |
| | | // address = DbNumber + Pos; |
| | | // return this.SetPlcDBValue(PosType, address, Value); |
| | | //} |
| | | /// <summary> |
| | | /// 写入PLC值 |
| | | /// </summary> |