手动结算电单车订单逻辑update

This commit is contained in:
Guoqs
2025-02-19 09:05:32 +08:00
parent beff27951b
commit 9c9d4632e0
4 changed files with 42 additions and 21 deletions

View File

@@ -28,6 +28,12 @@ public class EBikeMessageCmd03 extends AbsEBikeMessage2 {
// private String timestamp; // 时间戳 上发指令当时的时间,有时候不准确,该字段属于调试使用,服务器无需关心此字段
// private String placeholderDuration; // 占位时长 充电柜专用,其他设备忽略此字段 表示充满后占用设备的时长,单位为分钟
// 构造方法, 使用consumedEnergy stopReason字段构造对象
public EBikeMessageCmd03(BigDecimal consumedEnergy, int stopReason) {
this.consumedEnergy = consumedEnergy;
this.stopReason= stopReason;
}
public EBikeMessageCmd03(byte[] messageBytes) {
super(messageBytes);