zhangzengfei
2023-08-11 bc0b7e914a378b2c40f9d2ec2470b61a19c18288
msg/send.go
@@ -2,12 +2,12 @@
import (
   "encoding/json"
   "plc-recorder/util"
   "time"
   "plc-recorder/config"
   "plc-recorder/logger"
   "plc-recorder/nsqclient"
   "plc-recorder/util"
)
func SendDeviceLiveData(response *PLCResponse) {
@@ -37,7 +37,6 @@
         DeviceName: "test",
         DeviceIP:   "0.0.0.0",
         Online:     true,
         Message:    "",
         PLCData: []PLCData{{
            StartAddress: 100,
            Length:       1,