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 } )