diff --git a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/ChargingController.java b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/ChargingController.java index d92639ae..47ab00b3 100644 --- a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/ChargingController.java +++ b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/ChargingController.java @@ -205,7 +205,7 @@ public class ChargingController { data = ArrayUtils.addAll(data, HexUtils.toBytes(pileNo)); data = ArrayUtils.addAll(data, HexUtils.toBytes(gunId)); } - String msg = HexUtils.toHex(data).concat(ServiceResult.HEX_OK); + String msg = HexUtils.toHex(data); msg = msg.concat(CRCCalculator.calcCrc(msg)); log.info("stop charging, send msg to terminal ({}{}) >>>> {}", pileNo, gunId, msg); return HexUtils.toBytes(msg);