自动化立体仓库 - WMS系统
src/main/java/com/zy/asrs/task/handler/AGVTaskReportHandler.java
@@ -45,18 +45,32 @@
        String taskType = "PP";
        Boolean flag1 = false;
        Boolean flag2 = false;
        Boolean cpFlag1 = false;
        Boolean cpFlag2 = false;
        if(stationProperties.getStation().contains(task.getStaNo())){
            taskType = "LJIN";
            flag1 = true;
            if (task.getStaNo().equals("Z-LVL18")){
                taskType = "LJCPIN";
                cpFlag1 = true;
            }else {
                taskType = "LJIN";
                flag1 = true;
            }
        }
        if (stationProperties.getStation().contains(task.getSourceStaNo())){
            taskType = "LJOUT";
            flag2 = true;
            if (task.getSourceStaNo().equals("Z-LVL18")){
                cpFlag2 = true;
                taskType = "LJCPOUT";
            }else{
                taskType = "LJOUT";
                flag2 = true;
            }
        }
        if(flag1 && flag2){
            taskType = "LJBOTH";
        }
        if (cpFlag1 && cpFlag2){
            taskType = "LJCPBOTH";
        }
        //AGV区域中无法用-
        String StaNo = task.getStaNo();
        String SourceStaNo = task.getSourceStaNo();