| | |
| | | } |
| | | Integer lev = null; |
| | | Integer maxAgvCountInLane = configService.getVal("maxAgvCountInLane", Integer.class); |
| | | |
| | | // scope code area: 4ms |
| | | Long agvId = agvService.getAgvId(agvNo); |
| | | Boolean withinArea = agvAreaDispatcher.isAgvExistsInAnyArea(agvId); |
| | | List<String> scopeCodeList = new ArrayList<>(); |
| | | if (withinArea) { |
| | | scopeCodeList = agvAreaDispatcher.getCodesByAgvId(agvId); |
| | | if (!Cools.isEmpty(scopeCodeList) && !scopeCodeList.contains(start.getCodeData())) { |
| | | withinArea = false; |
| | | } |
| | | } |
| | | |
| | | String breakPoint = avoidPathList.stream().findFirst().orElse(null); |