From 50d488d3df805ccb4ab7984a40ff74bda9b21a40 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 28 十一月 2023 09:57:42 +0800
Subject: [PATCH] 报工保存生产进度
---
model/response/common.go | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/model/response/common.go b/model/response/common.go
index 699292f..79457c5 100644
--- a/model/response/common.go
+++ b/model/response/common.go
@@ -79,10 +79,16 @@
SystemDeviceStatusUnNormal SystemDeviceStatus = 2 //寮傚父
)
+type Device struct {
+ DeviceID string `json:"deviceID"`
+ DeviceName string `json:"deviceName"`
+ NeedSetProcessParams bool `json:"needSetProcessParams"` //鏄惁闇�瑕佽缃伐鑹哄弬鏁�
+}
+
type DeviceListResponse struct {
SystemDeviceID string `json:"systemDeviceID,omitempty"` //宸ユ帶鏈鸿澶嘔D
CurrentDeviceID string `json:"currentDeviceID,omitempty"` //褰撳墠閫夊畾鐨勭敓浜ц澶�
- DeviceIDList []string `json:"deviceIDList,omitempty"` //鐢熶骇璁惧id鍒楄〃
+ DeviceList []*Device `json:"deviceList,omitempty"` //鐢熶骇璁惧id鍒楄〃
SystemDeviceStatus SystemDeviceStatus `json:"systemDeviceStatus"` //璁惧鐘舵��
ClusterStatus string `json:"clusterStatus"` //闆嗙兢鐘舵��
ClusterNodeQuantity int `json:"clusterNodeQuantity"` //闆嗙兢鑺傜偣鏁伴噺
--
Gitblit v1.8.0