| | |
| | | return commands; |
| | | } |
| | | |
| | | /** |
| | | * 获取充电命令 |
| | | */ |
| | | public synchronized List<ShuttleCommand> getShuttleChargeCommand(ShuttleAssignCommand assignCommand, ShuttleThread shuttleThread, Boolean openCharge) { |
| | | List<ShuttleCommand> commands = new ArrayList<>(); |
| | | |
| | | //获取充电命令 |
| | | ShuttleCommand command = shuttleThread.getChargeCommand(assignCommand.getDeviceTaskNo(), openCharge); |
| | | commands.add(command); |
| | | return commands; |
| | | } |
| | | |
| | | /** |
| | | * 获取顶升命令 |
| | | */ |
| | | public synchronized List<ShuttleCommand> getShuttleLiftCommand(ShuttleAssignCommand assignCommand, ShuttleThread shuttleThread, Boolean lift) { |
| | | List<ShuttleCommand> commands = new ArrayList<>(); |
| | | |
| | | //获取顶升命令 |
| | | ShuttleCommand command = shuttleThread.getLiftCommand(assignCommand.getDeviceTaskNo(), lift); |
| | | commands.add(command); |
| | | return commands; |
| | | } |
| | | |
| | | // private boolean checkSimilarityPath(Motion motion, ShuttleAssignCommand assignCommand) { |
| | | // String movePath = motion.getMovePath(); |
| | | // if (Cools.isEmpty(movePath)) { |