| | |
| | | @Autowired |
| | | private AgvModelService agvModelService; |
| | | @Autowired |
| | | private AreaAgvService areaAgvService; |
| | | @Autowired |
| | | private AreaGovernService areaGovernService; |
| | | private AgvAreaDispatcher agvAreaDispatcher; |
| | | |
| | | @PostConstruct |
| | | public void init() { |
| | |
| | | Set<String> notInCodeSet = new HashSet<>(); |
| | | |
| | | // Collections.shuffle(CODE_DATA_CACHE); |
| | | List<Long> areaIds = areaAgvService.queryAreaIdsByAgvId(agvDetail.getAgvId()); |
| | | List<String> codeList = areaGovernService.queryCodes(areaIds); |
| | | List<String> codeList = agvAreaDispatcher.getCodesByAgvId(agvDetail.getAgvId()); |
| | | Collections.shuffle(codeList); |
| | | |
| | | for (String endCodeData : codeList) { |