msg/msg.go
@@ -24,7 +24,6 @@ DeviceName string `json:"deviceName"` DeviceIP string `json:"deviceIp"` Online bool `json:"online"` Message string `json:"message"` PLCData []PLCData `json:"plcData"` } @@ -34,6 +33,7 @@ Type string `json:"type"` // 数据类型 FieldName string `json:"fieldName"` // 对应系统字段 RawData []byte `json:"rawData"` // 从plc读取的原始数据 Message string `json:"message"` } type ApsDeviceApiResponse struct {