自动化立体仓库 - WCS系统
#
yxFwq
2025-03-27 e7eefd68dcb095ddd33321192755116f4d4586d9
src/main/java/com/zy/core/enums/SteLocaType.java
@@ -10,6 +10,8 @@
    POINT24(24, "水槽A端"),
    POINT25(25, "水槽B端"),
    POINT26(26, "B端输送线"),
//    NONE999(999, "未知"),
//    A(1, "A点"),
//    B(2, "B点"),
//    A_WAITING(3, "A待机点"),
@@ -26,25 +28,25 @@
    public static SteLocaType get(Short id) {
        if (null == id) {
            return null;
            return NONE;
        }
        for (SteLocaType type : SteLocaType.values()) {
            if (type.id.equals(id.intValue())) {
                return type;
            }
        }
        return null;
        return NONE;
    }
    public static SteLocaType get(SteLocaType type) {
        if (null == type) {
            return null;
            return NONE;
        }
        for (SteLocaType crnStatusType : SteLocaType.values()) {
            if (crnStatusType == type) {
                return crnStatusType;
            }
        }
        return null;
        return NONE;
    }
}