From 5610a25ab79509dcdde537e2fe77f2a83f26d310 Mon Sep 17 00:00:00 2001 From: "jhforever.wang@estsh.com" Date: Wed, 4 Mar 2020 13:15:15 +0800 Subject: [PATCH] =?UTF-8?q?ptl=E5=8F=8D=E9=A6=88=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=9E=9A=E4=B8=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i3plus/pojo/base/enumutil/PtlPcnEnumUtil.java | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/PtlPcnEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/PtlPcnEnumUtil.java index 921cbf3..36bf1fe 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/PtlPcnEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/PtlPcnEnumUtil.java @@ -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)