自动化立体仓库 - WMS系统
#
lsh
2024-04-13 7444c4c07c82c1ae7816b4d3ee68b8d0eba7f4a0
src/main/java/com/zy/asrs/entity/WrkMastSta.java
@@ -106,7 +106,7 @@
    private Integer lineNumber;
    /**
     * 工作类型
     * 工作类型 1:取(叠盘)  2:拆盘  3:取放 5:满取  6:满放
     */
    @ApiModelProperty(value = "工作类型  1:取(叠盘)  2:拆盘  3:取放 5:满取  6:满放")
    @TableField("wrk_type")
@@ -212,5 +212,72 @@
        }
    }
    public String getType$() {
        if (Cools.isEmpty(this.type)) {
            return "";
        }
        switch (this.type) {
            case 1:
                return "非空";
            case 2:
                return "空板";
            default:
                return "";
        }
    }
    /**
     * 工作状态 0:初始 1:等待小车取 2:等待小车放 3:完成
     */
    public String getWrkSts$() {
        if (Cools.isEmpty(this.wrkSts)) {
            try {
                if (this.wrkSts==0){
                    return "初始";
                }
            }catch (Exception e){
                return "";
            }
            return "";
        }
        switch (this.wrkSts) {
            case 0:
                return "初始";
            case 1:
                return "等待小车取";
            case 2:
                return "等待小车放";
            case 3:
                return "完成";
            default:
                return "";
        }
    }
    /**
     * 工作类型 1:取(叠盘)  2:拆盘  3:取放 5:满取  6:满放
     */
    public String getWrkType$() {
        if (Cools.isEmpty(this.wrkType)) {
            return "";
        }
        switch (this.wrkType) {
            case 1:
                return "叠盘";
            case 2:
                return "拆盘";
            case 3:
                return "取放";
            case 4:
                return "行走";
            case 5:
                return "满取";
            case 6:
                return "满放";
            default:
                return "";
        }
    }
}