自动化立体仓库 - WMS系统
*
lsh
2 天以前 49f306cb470a8ee824204b701796d1d8f63ff223
src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -481,6 +481,51 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime);
    }
    public String getTaskNone$(){
        if (Cools.isEmpty(this.takeNone)){
            return "非自动";
        }
        switch (this.takeNone){
            case "0":
                return "非自动";
            case "1":
                return "等待下发";
            case "2":
                return "已下发";
            case "3":
                return "无需下发";
            case "4":
                return "无可用AGV库位";
            default:
                return "非自动";
        }
    }
    public boolean getStaNoAgvSign(){
        if (Cools.isEmpty(this.staNo)){
            return false;
        }
        switch (this.staNo){
            //出库  AGV接
            case 1041:
            case 4006:
            //出库  AGV接  空板供应
            case 2033:
//            //入库  AGV放
//            case 1037:
//            case 2034:
//            case 4003:
//
//            //入库  AGV接   空板
//            case 1039:
                return true;
            default:
                return false;
        }
    }
//    public void setErrorMemo(String errorMemo) {
//        if (errorMemo.length() > 255) {
//            errorMemo = errorMemo.substring(0, 150);