From 602d118cbe5d5a6910766c3e83208f09c0ba0bb6 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 24 八月 2023 21:57:05 +0800
Subject: [PATCH] 增加设置生产总量接口

---
 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