mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-11 18:59:51 +08:00
update 电单车协议
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
package com.jsowell.common.enums.ebike;
|
||||||
|
|
||||||
|
public enum EBikeTypeEnum {
|
||||||
|
|
||||||
|
socket_1way(0x03, "单路插座"),
|
||||||
|
socket_2way(0x04, "双路插座"),
|
||||||
|
socket_10way(0x05, "10路充电桩"),
|
||||||
|
socket_16way(0x06, "16路充电桩"),
|
||||||
|
socket_12way(0x07, "12路充电桩"),
|
||||||
|
host(0x09, "主机"),
|
||||||
|
Leakage_protection_host(0x0A, "漏保主机"),
|
||||||
|
|
||||||
|
;
|
||||||
|
|
||||||
|
private final int value;
|
||||||
|
private final String desc;
|
||||||
|
|
||||||
|
public int getValue() {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDesc() {
|
||||||
|
return desc;
|
||||||
|
}
|
||||||
|
|
||||||
|
EBikeTypeEnum(int value, String desc) {
|
||||||
|
this.value = value;
|
||||||
|
this.desc = desc;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,7 +19,8 @@ public enum PortStatusEnum {
|
|||||||
PRE_INSPECTION_LOAD_SHORT_CIRCUIT(13, "预检-负载短路", "255"),
|
PRE_INSPECTION_LOAD_SHORT_CIRCUIT(13, "预检-负载短路", "255"),
|
||||||
FILTERED_PRE_INSPECTION_RELAY_GLUE(14, "过滤性预检-继电器粘连", "255"),
|
FILTERED_PRE_INSPECTION_RELAY_GLUE(14, "过滤性预检-继电器粘连", "255"),
|
||||||
CARD_CHIP_DAMAGE(15, "刷卡芯片损坏故障", "255"),
|
CARD_CHIP_DAMAGE(15, "刷卡芯片损坏故障", "255"),
|
||||||
DETECTION_CIRCUIT_FAULT(16, "检测电路故障", "255");
|
DETECTION_CIRCUIT_FAULT(16, "检测电路故障", "255"),
|
||||||
|
;
|
||||||
|
|
||||||
private final int value;
|
private final int value;
|
||||||
private final String description;
|
private final String description;
|
||||||
|
|||||||
Reference in New Issue
Block a user