From 49f56cee1e2285fd32c43f35e3622d2ed6c5fec3 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 26 八月 2023 20:09:07 +0800 Subject: [PATCH] plc tag --- model/device_plc.go | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/model/device_plc.go b/model/device_plc.go index 785ab8e..0057c46 100644 --- a/model/device_plc.go +++ b/model/device_plc.go @@ -29,10 +29,10 @@ } DevicePlcAddress struct { - StartAddress int `json:"startAddress"` // 鏁版嵁璧峰鍦板潃 - Length int `json:"length"` // 鏁版嵁闀垮害 - Type string `json:"type"` // 鏁版嵁绫诲瀷 - FieldName int `json:"fieldName"` // 瀵瑰簲绯荤粺瀛楁 + StartAddress int `json:"startAddress"` // 鏁版嵁璧峰鍦板潃 + Length int `json:"length"` // 鏁版嵁闀垮害 + Type constvar.PlcStartAddressValueType `json:"type"` // 鏁版嵁绫诲瀷 + FieldName constvar.PlcStartAddressType `json:"fieldName"` // 瀵瑰簲绯荤粺瀛楁 } DevicePlcSearch struct { -- Gitblit v1.8.0