From d93d2bc56ed06b3c060ff48f49591e8c5d779230 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 14 九月 2023 22:33:45 +0800
Subject: [PATCH] 通讯方式字段转换

---
 model/response/common.go |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/model/response/common.go b/model/response/common.go
index 99f8a6a..788dd40 100644
--- a/model/response/common.go
+++ b/model/response/common.go
@@ -2,6 +2,7 @@
 
 import (
 	"apsClient/model"
+	"apsClient/model/common"
 )
 
 type PageResult struct {
@@ -19,8 +20,10 @@
 }
 
 type TaskData struct {
-	Order                 *model.Order
-	Procedure             *model.Procedures
+	Order     *model.Order
+	Procedure *model.Procedures
+
+	Position              int //褰撳墠浠诲姟鍦ㄨ澶囩鍑犱釜浣嶇疆
 	AllProcedures         []string
 	CurrentProcedureIndex int
 }
@@ -28,6 +31,7 @@
 type TaskResponse struct {
 	Tasks     []*TaskData
 	TaskCount int64
+	Workers   []*common.ProcedureWorker `json:"workers"` // 浜哄憳鍒楄〃
 }
 
 type Config struct {
@@ -48,6 +52,7 @@
 type ProductProgress struct {
 	FinishNumber int `json:"finishNumber"`
 	TotalNumber  int `json:"totalNumber"`
+	PlcStatus    int `json:"plcStatus"`
 }
 
 type TaskCountdown struct {

--
Gitblit v1.8.0