| | |
| | | } |
| | | |
| | | if (Cools.isEmpty(devpNo)) { |
| | | log.info("暂无空闲接驳位"); |
| | | //log.info("暂无空闲接驳位"); |
| | | return FAIL; |
| | | //throw new CoolException("暂无空闲接驳位"); |
| | | } |
| | |
| | | AgvLocMast LocMast; |
| | | if (agvLocMast.getLev1() == 1) { |
| | | //检索库位,选择合适的库位 |
| | | LocMast = agvCommonService.getLocByLocRule(3, 1, 2); |
| | | LocMast = agvCommonService.getLocByLocRule2(3, 1, 2); |
| | | } else { |
| | | LocMast = agvCommonService.getLocByLocRule(3, 1, 1); |
| | | LocMast = agvCommonService.getLocByLocRule2(3, 1, 1); |
| | | } |
| | | List<AgvWrkMast> agvWrkMasts = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>().eq("io_type", 12)); |
| | | if (agvWrkMasts.size() >= maxTansk) { |