lengfaqiang 2 лет назад
Родитель
Сommit
7ab66acb68

+ 54 - 0
slope-common/slope-common-core/src/main/java/com/sckw/core/model/enums/DeviceEnum.java

@@ -0,0 +1,54 @@
+package com.sckw.core.model.enums;
+
+/**
+ * @author lfdc
+ * @description 设备状态
+ * @date 2023-11-01 10:07:23
+ */
+public enum DeviceEnum {
+
+    /**
+     * 识别失败
+     */
+    RECOGNITION_FAILURE(0, "0", "识别失败"),
+    /**
+     * 识别中
+     */
+    IDENTIFYING(1, "1", "识别中"),
+    /**
+     * 未使用
+     */
+    NOT_IN_USE(2, "2", "未使用"),
+
+    /**
+     * 校验中
+     */
+    BE_CHECKING(3, "3", "校验中"),
+    /**
+     * 已基准
+     */
+    ALREADY_REFERRED_TO(4, "5", "已基准"),
+    ;
+
+    public Integer getCode() {
+        return code;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public String getDestination() {
+        return destination;
+    }
+
+    private final Integer code;
+    private final String status;
+    private final String destination;
+
+    DeviceEnum(Integer code, String status, String destination) {
+        this.code = code;
+        this.status = status;
+        this.destination = destination;
+    }
+}