自动化立体仓库 - WMS系统
pang.jiabao
6 天以前 393cf2ce2bcbbdc120b392e582c4b449d35f41b0
src/main/java/com/zy/asrs/task/handler/JlerHandler.java
@@ -90,12 +90,12 @@
        // 入库到固定列,指定车来接
        String locNo = wrkMast.getLocNo();
        int bay = Utils.getBay(locNo);
        if (locNo.startsWith("01") && bay == 21) {
            startRoute.setRobotType("ROBOTS");
            startRoute.setRobotCode(Collections.singletonList("15"));
        } else if (!locNo.startsWith("01") && bay >= 25 && bay <= 28) {
            startRoute.setRobotType("ROBOTS");
            startRoute.setRobotCode(Collections.singletonList("14"));
        if ((locNo.startsWith("01") && bay == 21) || (locNo.startsWith("02") && bay >= 25 && bay <= 28)) {
            rcsTaskSubmit.setRobotType("ROBOTS");
            rcsTaskSubmit.setRobotCode(Collections.singletonList("15"));
        } else if ((locNo.startsWith("03") || locNo.startsWith("04"))&& bay >= 25 && bay <= 28) {
            rcsTaskSubmit.setRobotType("ROBOTS");
            rcsTaskSubmit.setRobotCode(Collections.singletonList("14"));
        }
        targetRouteList.add(startRoute);
        RcsTaskTargetRoute endRoute = new RcsTaskTargetRoute();