update 电单车协议

This commit is contained in:
Guoqs
2024-09-02 19:56:14 +08:00
parent 256e358be5
commit 3cfd0090d4

View File

@@ -158,7 +158,7 @@ public class EBikeMessageCmd82 extends AbsEBikeMessage {
// 过载功率 // 过载功率
byte[] overloadPowerBytes = BytesUtil.stringToHexBytes(overloadPower, 2); byte[] overloadPowerBytes = BytesUtil.stringToHexBytes(overloadPower, 2);
// 二维码灯 // 二维码灯
byte[] qrCodeLightBytes = BytesUtil.stringToHexBytes(qrCodeLight, 1); // byte[] qrCodeLightBytes = BytesUtil.stringToHexBytes(qrCodeLight, 1);
// 长充模式 // 长充模式
// byte[] longChargeModeBytes = BytesUtil.stringToHexBytes(longChargeMode, 1); // byte[] longChargeModeBytes = BytesUtil.stringToHexBytes(longChargeMode, 1);
// 额外浮充时间 // 额外浮充时间
@@ -174,10 +174,10 @@ public class EBikeMessageCmd82 extends AbsEBikeMessage {
// 最大充满功率最长判断时间 // 最大充满功率最长判断时间
// byte[] maxFullChargePowerCheckTimeBytes = BytesUtil.stringToHexBytes(maxFullChargePowerCheckTime, 1); // byte[] maxFullChargePowerCheckTimeBytes = BytesUtil.stringToHexBytes(maxFullChargePowerCheckTime, 1);
return Bytes.concat(rateModeBytes, balanceOrValidityBytes, portNumberBytes, chargeCommandBytes, return Bytes.concat(rateModeBytes, balanceOrValidityBytes, portNumberBytes, chargeCommandBytes,
chargeDurationOrPowerBytes, orderNumberBytes, maxChargeDurationBytes, overloadPowerBytes, qrCodeLightBytes chargeDurationOrPowerBytes, orderNumberBytes, maxChargeDurationBytes, overloadPowerBytes
// ,longChargeModeBytes, extraFloatChargeTimeBytes, skipShortCircuitDetectionBytes, // , qrCodeLightBytes, longChargeModeBytes, extraFloatChargeTimeBytes
// noUserPullOutCheckBytes, forceAutoStopWhenFullBytes, fullChargePowerBytes, // , skipShortCircuitDetectionBytes, noUserPullOutCheckBytes, forceAutoStopWhenFullBytes
// maxFullChargePowerCheckTimeBytes // , fullChargePowerBytes, maxFullChargePowerCheckTimeBytes
); );
} }
} }