| | |
| | | resThread = this.searchCurrentLevShuttle(currentLevDevices, locNo); |
| | | |
| | | //同层没有搜索到合适小车,跨楼层搜索 |
| | | if(resThread == null) { |
| | | resThread = this.searchDiffLevShuttle(diffLevDeviceMap, locNo, task); |
| | | } |
| | | // if(resThread == null) { |
| | | // resThread = this.searchDiffLevShuttle(diffLevDeviceMap, locNo, task); |
| | | // } |
| | | |
| | | return resThread; |
| | | } |
| | |
| | | |
| | | // 同楼层直接计算到目标库位 |
| | | //当前穿梭车线程到当前车子所在楼层的目标库位距离 |
| | | List<NavigateNode> currentShuttlePath = navigateUtils.calc( |
| | | List<NavigateNode> currentShuttlePath = navigateUtils.calcWhiteList( |
| | | currentLocNo |
| | | , locNo |
| | | , NavigationMapType.DFX.id |
| | |
| | | continue; |
| | | } |
| | | |
| | | if(!shuttleThread.isDeviceIdle()) { |
| | | continue; |
| | | } |
| | | // if(!shuttleThread.isDeviceIdle()) { |
| | | // continue; |
| | | // } |
| | | |
| | | if(shuttleProtocol.getCurrentLocNo() == null) { |
| | | continue; |