zhangqian
2023-10-09 81cda4f09d4c0fff6edd087d1c49d05cb6eaab38
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
   }
)