From 578b74f9de4b96e88e2fddb726c7c6f78162b033 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 21 十月 2023 14:34:23 +0800 Subject: [PATCH] 启停生产者 --- 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