update 电单车协议

This commit is contained in:
Guoqs
2024-09-03 12:13:12 +08:00
parent e668f6c4ab
commit 5aa69b379b
2 changed files with 2 additions and 35 deletions

View File

@@ -152,7 +152,8 @@ public class EBikeMessageCmd82 extends AbsEBikeMessage {
// 充电时长/电量
byte[] chargeDurationOrPowerBytes = BytesUtil.stringToHexBytes(chargeDurationOrPower, 2);
// 订单编号
byte[] orderNumberBytes = BytesUtil.stringToHexBytes(orderNumber, 16);
// byte[] orderNumberBytes = BytesUtil.stringToHexBytes(orderNumber, 16);
byte[] orderNumberBytes = BytesUtil.str2Bcd(orderNumber);
// 最大充电时长
byte[] maxChargeDurationBytes = BytesUtil.stringToHexBytes(maxChargeDuration, 2);
// 过载功率