update 预约充电记录

This commit is contained in:
Guoqs
2024-08-02 15:45:15 +08:00
parent 42f344f71e
commit ea0233fa9f
7 changed files with 52 additions and 26 deletions

View File

@@ -65,7 +65,7 @@ public class ReservationChargingStartupResultHandler extends AbstractHandler{
startIndex += length;
length = 17;
byte[] vinCodeByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
String vinCode = BytesUtil.bcd2Str(vinCodeByteArr);
String vinCode = YKCUtils.parseVin(vinCodeByteArr); // 解析vin
// 启动结果 0x00失败 0x01成功
startIndex += length;

View File

@@ -475,7 +475,7 @@ public class TransactionRecordsRequestHandler extends AbstractHandler {
startIndex += length;
length = 17;
byte[] vinCodeByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
String vinCode = BytesUtil.ascii2Str(vinCodeByteArr);
String vinCode = YKCUtils.parseVin(vinCodeByteArr); // 解析vin
/**
* 交易标识