DispatchInstruct.java 672 Bytes
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;
	}
}