|
|
@ -121,9 +121,6 @@ public class AgvTaskServiceImpl implements AgvTaskService { |
|
|
throw new RuntimeException("AGV站点不存在"); |
|
|
throw new RuntimeException("AGV站点不存在"); |
|
|
|
|
|
|
|
|
}else { |
|
|
}else { |
|
|
if ( getAgvStation.getStatusDb() != 0) { |
|
|
|
|
|
log.error("目标站点不是空闲状态:location={}", task.getToLocation()); |
|
|
|
|
|
} |
|
|
|
|
|
if (getAgvStation.getWaitStationCode() != null && !getAgvStation.getWaitStationCode().isEmpty()) { |
|
|
if (getAgvStation.getWaitStationCode() != null && !getAgvStation.getWaitStationCode().isEmpty()) { |
|
|
// 获取空闲的栈板 |
|
|
// 获取空闲的栈板 |
|
|
targets = Arrays.asList(task.getFromLocation(),getAgvStation.getWaitStationCode(), task.getToLocation()); |
|
|
targets = Arrays.asList(task.getFromLocation(),getAgvStation.getWaitStationCode(), task.getToLocation()); |
|
|
|