From 14fc2f577e2c0b7b146c1a430e9438f317ad5b0c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 23 九月 2023 14:14:27 +0800 Subject: [PATCH] 任务接收增加channel字段,postion字段改为channel --- model/device_plc.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/model/device_plc.go b/model/device_plc.go index 728488d..fc8330e 100644 --- a/model/device_plc.go +++ b/model/device_plc.go @@ -33,7 +33,7 @@ } DevicePlcAddress struct { - Position int `json:"position"` // 鏁版嵁璧峰鍦板潃 + Channel int32 `json:"channel"` // 鏁版嵁璧峰鍦板潃 StartAddress int `json:"startAddress"` // 鏁版嵁璧峰鍦板潃 Length int `json:"length"` // 鏁版嵁闀垮害 Type constvar.PlcStartAddressValueType `json:"type"` // 鏁版嵁绫诲瀷 -- Gitblit v1.8.0