DispatchInstruct.java
750 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package com.bsth.vehicle.directive.entity;
/**
*
* @ClassName: DispatchInstruct
* @Description: TODO(调度指令类型)
* @author PanZhao
* @date 2016年6月7日 下午2:15:10
*
*/
public enum DispatchInstruct {
/**
* 信息短语
*/
PHRASE((byte) 0x00),
/**
* 取消上次指令+调度指令(闹钟有效)
*/
CANCEL_AND_CLOCK_ON((byte) 0x01),
/**
* 调度指令(闹钟有效)
*/
DISPATCH_CLOCK_ON((byte) 0x02),
/**
* 运营状态指令(闹钟无效)
*/
OPERATE_CLOCK_OFF((byte) 0x03),
/**
* 其他
*/
OTHER((byte) 0x04);
private final byte value;
DispatchInstruct(byte value) {
this.value = value;
}
public byte getValue() {
return value;
}
}