| | |
| | | command.setDestinationStaNo1((short)0); // 目标站 |
| | | write3(command); |
| | | break; |
| | | // 复位 |
| | | case 4: |
| | | RgvCommand command4 = (RgvCommand) task.getData(); |
| | | if (null == command4) { |
| | | command4 = new RgvCommand(); |
| | | } |
| | | command4.setRgvNo(slave.getId()); // RGV编号 |
| | | command4.setTaskNo1((short) 0); // 工作号 |
| | | command4.setAckFinish1((short) 1); // 任务完成确认位 |
| | | command4.setTaskMode1(RgvTaskModeType.X_MOVE); // 任务模式 |
| | | command4.setSourceStaNo1((short)0); // 源站 |
| | | command4.setDestinationStaNo1((short)0); // 目标站 |
| | | write3(command4); |
| | | break; |
| | | default: |
| | | break; |
| | | } |