From f05f4cca1340f0ddec7261d4dbe65dd331224423 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 28 九月 2023 15:59:30 +0800
Subject: [PATCH] 接收设备信息改变

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