From 2ea23e2364f742f528fb8b97657212c174d1bbd7 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期六, 21 十月 2023 14:06:59 +0800
Subject: [PATCH] 增加切换serf状态接口(调试用)

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

diff --git a/conf/config.go b/conf/config.go
index bf7ffbd..53f53ea 100644
--- a/conf/config.go
+++ b/conf/config.go
@@ -70,6 +70,15 @@
 	plc struct {
 		FinishNumberTimeInterval int
 		TotalNumberTimeInterval  int
+		ModbusIntType            string
+		SlaveId                  int
+		Package                  string
+		StandbyTime              int64
+	}
+
+	Prompt struct {
+		SafeProduce     string `json:"safeProduce,omitempty"`
+		PlcNotConnected string `json:"plcNotConnected,omitempty"`
 	}
 
 	config struct {
@@ -90,6 +99,8 @@
 
 		//PLC
 		PLC plc
+
+		Prompt Prompt
 	}
 )
 

--
Gitblit v1.8.0