zhangqian
2023-11-03 7335d19846ad4f5b0a61541a992d61763c5cf35b
service/plc.go
@@ -112,7 +112,7 @@
         return nil, errors.New("conf.Conf.Services.Serial config not set yet")
      }
      label := fmt.Sprintf("D%d", address)
      return plccom.ReadPLC(plccom.DeviceTypeMitsubishi, ipAddr, label)
      return plccom.ReadPLC(plccom.DeviceTypeMitsubishi, ipAddr, label, dataLength)
   }
   return
}