| | |
| | | resThread = this.searchDiffLevShuttle(diffLevDeviceMap, locNo, task); |
| | | } |
| | | |
| | | Task result = generateMoveTask(resThread.getDevice(), locNo); |
| | | if (result != null) { |
| | | return resThread.getDevice(); |
| | | if (resThread != null) { |
| | | if (resThread.getStatus().getCurrentLocNo().equals(locNo)) { |
| | | return resThread.getDevice(); |
| | | } |
| | | |
| | | Task result = generateMoveTask(resThread.getDevice(), locNo); |
| | | if (result != null) { |
| | | return resThread.getDevice(); |
| | | } |
| | | } |
| | | |
| | | News.info("{}目标库位没有搜索到可用穿梭车", locNo); |
| | |
| | | continue; |
| | | } |
| | | |
| | | if (shuttleProtocol.getCurrentLocNo() == null) { |
| | | continue; |
| | | } |
| | | |
| | | int shuttleLev = Utils.getLev(shuttleProtocol.getCurrentLocNo()); |
| | | if (shuttleLev == lev) { |
| | | currentLevDevices.add(device); |