From 509f1f0c121189fe3f441efca0bd2b062febd586 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 20 十月 2023 15:50:27 +0800
Subject: [PATCH] fix
---
conf/config.go | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/conf/config.go b/conf/config.go
index 4307f1f..53f53ea 100644
--- a/conf/config.go
+++ b/conf/config.go
@@ -73,6 +73,12 @@
ModbusIntType string
SlaveId int
Package string
+ StandbyTime int64
+ }
+
+ Prompt struct {
+ SafeProduce string `json:"safeProduce,omitempty"`
+ PlcNotConnected string `json:"plcNotConnected,omitempty"`
}
config struct {
@@ -93,6 +99,8 @@
//PLC
PLC plc
+
+ Prompt Prompt
}
)
--
Gitblit v1.8.0