自动化立体仓库 - WMS系统
pang.jiabao
2025-03-31 a3a66aa959151e91f57be097b83f2a2715b502f5
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")
@@ -136,7 +136,7 @@
    }
    public WrkMastSta(Date now, Integer staStart) {
        this.wrkNo = staStart.longValue()+9999;
        this.wrkNo = staStart.longValue()+19999L;
        this.wrkStart = staStart;
        this.wrkEnd = staStart;
        this.staStart = staStart;
@@ -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 "";
        }
    }
}