zhangqian
2023-09-28 e8b6ad0c160a39b024b0f2b996d603bdd9b22db9
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
   }
)