update 电单车协议

This commit is contained in:
Guoqs
2024-09-04 13:32:21 +08:00
parent 3da69c7954
commit c0366f7c1b

View File

@@ -2,6 +2,7 @@ package com.jsowell.pile.domain.ebike;
import com.jsowell.common.util.BytesUtil;
import com.jsowell.pile.domain.ebike.deviceupload.*;
import com.jsowell.pile.domain.ebike.serversend.EBikeMessageCmd82;
import lombok.extern.slf4j.Slf4j;
/**
@@ -18,11 +19,7 @@ public enum EBikeCommandEnum {
SETTLEMENT_UPLOAD(0x03, "结算消费信息上传", EBikeMessageCmd03.class),
CHARGE_PORT_CONFIRMATION(0x04, "充电端口订单确认", EBikeMessageCmd04.class),
POWER_HEARTBEAT(0x06, "端口充电时功率心跳包", EBikeMessageCmd06.class),
// CHARGER_HEARTBEAT("41", "充电柜专有心跳包", EBikeMessageCmd41.class),
// ALARM_PUSH("42", "报警推送指令", EBikeMessageCmd20.class),
// CHARGE_COMPLETE("43", "充电完成通知,但不结算", EBikeMessageCmd20.class),
// PORT_PUSH("44", "端口推送指令", EBikeMessageCmd20.class);
REMOTE_CONTROL_COMMAND(0x82, "服务器开始、停止充电操作", EBikeMessageCmd82.class),
;
EBikeCommandEnum(int code, String desc, Class<? extends AbsEBikeMessage> msgClass) {