| | |
| | | List<NavigationMapType> restartCalcMapTypes = new ArrayList<>(mapTypes); |
| | | restartCalcMapTypes.add(NavigationMapType.SHUTTLE); |
| | | |
| | | if (assignCommand.getTaskMode() == ShuttleTaskModeType.TRANSPORT.id) { |
| | | restartCalcMapTypes.add(NavigationMapType.DFX); |
| | | } |
| | | |
| | | String currentLocNo = shuttleProtocol.getCurrentLocNo(); |
| | | List<ShuttleCommand> commands = shuttleOperaUtils.getStartToTargetCommands(currentLocNo, locNo, restartCalcMapTypes, assignCommand, this); |
| | | if (commands == null) { |
| | |
| | | |
| | | Integer taskId = getTaskId(); |
| | | HashMap<String, Object> body = new HashMap<>(); |
| | | if (moveIn) { |
| | | body.put("requestType", "intoLift");//进提升机 |
| | | } else { |
| | | body.put("requestType", "outLift");//出提升机 |
| | | } |
| | | // if (moveIn) { |
| | | // body.put("requestType", "intoLift");//进提升机 |
| | | // } else { |
| | | // body.put("requestType", "outLift");//出提升机 |
| | | // } |
| | | body.put("requestType", "move");//移动命令 |
| | | body.put("taskId", taskId);//TaskID需要随机 |
| | | body.put("path", path); |
| | | request.setBody(body); |