From 5a9e2e97e78a05209a57a75a75678d67c32c58d5 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期六, 21 十月 2023 11:25:20 +0800
Subject: [PATCH] debug over
---
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