1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| package com.xiaopeng.api.vo.vehicleConvoy;
|
| import lombok.Getter;
|
| /**
| * 车辆控制指令枚举
| */
| @Getter
| public enum VehiclesCommandEnum {
| DOOR_TRUNK_OPEN("DOOR_TRUNK_OPEN", "后备箱开启"),
| DOOR_TRUNK_CLOSE("DOOR_TRUNK_CLOSE", "后备箱关闭"),
| DOOR_UNLOCK("DOOR_UNLOCK", "车门开锁"),
| LEFT_REAR_HVAC_TEMP_SET_FLOAT("LEFT_REAR_HVAC_TEMP_SET_FLOAT", "设定温度"),
| STATUS_REPORT_NOW("STATUS_REPORT_NOW", "上报实时车况"),
| HVAC_ON("HVAC_ON", "空调开启"),
| HVAC_OFF("HVAC_OFF", "空调关闭");
| /**
| * 命令
| */
| private String command;
| /**
| * 描述
| */
| private String desc;
|
| VehiclesCommandEnum(String command, String desc) {
| this.command = command;
| this.desc = desc;
| }
| }
|
|