From fc85945b34f5051635aacf90446e8061a683fb2f Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 15 九月 2023 14:22:53 +0800
Subject: [PATCH] plc新建连接失败记录日志

---
 model/response/common.go |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/model/response/common.go b/model/response/common.go
index ff33efc..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 {
@@ -21,7 +22,16 @@
 type TaskData struct {
 	Order     *model.Order
 	Procedure *model.Procedures
-	Config
+
+	Position              int //褰撳墠浠诲姟鍦ㄨ澶囩鍑犱釜浣嶇疆
+	AllProcedures         []string
+	CurrentProcedureIndex int
+}
+
+type TaskResponse struct {
+	Tasks     []*TaskData
+	TaskCount int64
+	Workers   []*common.ProcedureWorker `json:"workers"` // 浜哄憳鍒楄〃
 }
 
 type Config struct {
@@ -42,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