diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/domain/ebike/deviceupload/ChargingOperationResponse.java b/jsowell-pile/src/main/java/com/jsowell/pile/domain/ebike/deviceupload/ChargingOperationResponse.java index a81c5a881..fb4ffefdc 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/domain/ebike/deviceupload/ChargingOperationResponse.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/domain/ebike/deviceupload/ChargingOperationResponse.java @@ -60,7 +60,7 @@ public class ChargingOperationResponse extends AbsEBikeMessage2 { protected void parseMessage(byte[] messageBytes) { super.parseMessage(messageBytes); // 截取数据 - byte[] bytes = BytesUtil.copyBytes(messageBytes, 11, this.msgLength); + byte[] bytes = BytesUtil.copyBytes(messageBytes, 12, this.msgLength); ChargingOperationResponse response = new ChargingOperationResponse(bytes); System.out.println(JSON.toJSONString(response)); } @@ -70,6 +70,6 @@ public class ChargingOperationResponse extends AbsEBikeMessage2 { byte[] messageBytes = BytesUtil.hexStringToByteArray(s); ChargingOperationResponse response = new ChargingOperationResponse(messageBytes); response.parseMessage(messageBytes); - System.out.println(response); + // System.out.println(response); } }