From 8dfb8feb32bb5e4e460e23dcde42612a26fa2bcb Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期日, 27 八月 2023 01:11:28 +0800 Subject: [PATCH] fix --- 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