From b331c9990a0396301e934daffe095f99d62d1c89 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 27 九月 2023 15:58:49 +0800
Subject: [PATCH] 任务获取修改,状态2只返回已开始和已结束的

---
 conf/config.go |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/conf/config.go b/conf/config.go
index d18e32e..53f53ea 100644
--- a/conf/config.go
+++ b/conf/config.go
@@ -73,7 +73,12 @@
 		ModbusIntType            string
 		SlaveId                  int
 		Package                  string
-		KeepAlive                bool
+		StandbyTime              int64
+	}
+
+	Prompt struct {
+		SafeProduce     string `json:"safeProduce,omitempty"`
+		PlcNotConnected string `json:"plcNotConnected,omitempty"`
 	}
 
 	config struct {
@@ -94,6 +99,8 @@
 
 		//PLC
 		PLC plc
+
+		Prompt Prompt
 	}
 )
 

--
Gitblit v1.8.0