| | |
| | | if (staProtocol.isAutoing() && staProtocol.isLoading() |
| | | && staProtocol.isInEnable() |
| | | && !staProtocol.isEmptyMk() && (workNo == 0 || (workNo >= 9990 && workNo <= 9999)) |
| | | && staProtocol.getIsIn() == (short)1 |
| | | && staProtocol.isPakMk() |
| | | ) { |
| | | |
| | |
| | | // } |
| | | |
| | | //检测货物是否可出 |
| | | boolean checkLocPathIsAvailable = navigateUtils.checkLocPathIsAvailable(task.getDestLoc(), task.getHostId()); |
| | | boolean checkLocPathIsAvailable = navigateUtils.checkLocPathIsAvailable(task.getOriginLoc(), task.getHostId()); |
| | | if(!checkLocPathIsAvailable) { |
| | | continue; |
| | | } |
| | |
| | | public synchronized void analyzeLadenMoveTask() { |
| | | for (Task task : taskService.selectWaitAnalyzeLadenMoveTask()) { |
| | | //检测货物是否可出 |
| | | boolean checkLocPathIsAvailable = navigateUtils.checkLocPathIsAvailable(task.getDestLoc(), task.getHostId()); |
| | | boolean checkLocPathIsAvailable = navigateUtils.checkLocPathIsAvailable(task.getOriginLoc(), task.getHostId()); |
| | | if(!checkLocPathIsAvailable) { |
| | | continue; |
| | | } |