自动化立体仓库 - WMS系统
#
lsh
2024-06-21 ab5ade946040dc4796deaa82c903b52d81f7dabf
src/main/java/com/zy/asrs/entity/BasJar.java
@@ -157,5 +157,72 @@
//            null    // 右门可关(checkBox)
//    );
    public String getJarMode$(){
        if (null == this.jarMode){ return null; }
        switch (this.jarMode){
            case 0:
                return "离线";
            case 1:
                return "手动";
            case 2:
                return "自动";
            case 3:
                return "其他";
            default:
                return String.valueOf(this.jarMode);
        }
    }
    public String getJarErr$(){
        if (null == this.jarErr){ return null; }
        switch (this.jarErr){
            case 0:
                return "无异常";
            case 1:
                return "运行时左门未关好";
            case 2:
                return "运行时右门未关好";
            case 3:
                return "运行时未选择工艺";
            case 4:
                return "设备运行中超高温";
            case 5:
                return "设备运行中超高压";
            case 6:
                return "急停被按下";
            case 7:
                return "左门关门超时";
            case 8:
                return "右门关门超时";
            default:
                return String.valueOf(this.jarErr);
        }
    }
    public String getJarStatus$(){
        if (null == this.jarStatus){ return null; }
        switch (this.jarStatus){
            case 0:
                return "空闲";
            case 1:
                return "入料中";
            case 2:
                return "硫化中";
            case 3:
                return "出料中";
            case 4:
                return "停止";
            case 5:
                return "左门打开中";
            case 6:
                return "右门打开中";
            case 7:
                return "左门关闭中";
            case 8:
                return "右门关闭中";
            default:
                return String.valueOf(this.jarStatus);
        }
    }
}