ptl反馈信息枚举

yun-zuoyi
王杰 5 years ago
parent 31a8a7705a
commit 5610a25ab7

@ -286,6 +286,47 @@ public class PtlPcnEnumUtil {
} }
/** /**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum SIGNAL_CHILD_CMD {
CHILD_CMD_06H("06", 6, "正常"),
CHILD_CMD_07H("07", 7, "缺货"),
CHILD_CMD_09H("09", 9, "标签自检"),
CHILD_CMD_0AH("0A", 10, "亮灯错误"),
CHILD_CMD_0BH("0B", 11, "查询设备故障,返回设备故障"),
CHILD_CMD_0CH("0C", 12, "设备无法执行命令,用错命令"),
CHILD_CMD_0DH("0D", 13, "卡键,按键卡住"),
CHILD_CMD_0FH("0F", 15, "返回库存模式下的缺货量"),
CHILD_CMD_64H("64", 100, "熄灭情况下返回"),
CHILD_CMD_FAH("FA", 250, "设备的 F/W 模型信息"),
CHILD_CMD_FCH("FC", 252, "标签产品信息");
private String code;
private Integer value;
private String description;
SIGNAL_CHILD_CMD(String code, Integer value, String description) {
this.code = code;
this.value = value;
this.description = description;
}
public String getCode() {
return code;
}
public Integer getValue() {
return value;
}
public String getDescription() {
return description;
}
}
/**
* *
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)

Loading…
Cancel
Save