#
zwl
2 天以前 b2141320243f2be393236a3c4f53376583179325
src/main/java/com/zy/core/network/fake/ZyCrnFakeConnect.java
@@ -56,23 +56,6 @@
    }
    @Override
    public CommandResponse sendCommand1(CrnCommand command) {
        CommandResponse response = new CommandResponse(false);
        if (command.getTaskMode().intValue() == CrnTaskModeType.LOC_MOVE.id) {
            //取放货
            executor.submit(() -> commandTake(command));
        } else if (command.getTaskMode().intValue() == CrnTaskModeType.CRN_MOVE.id) {
            //移动
            executor.submit(() -> commandMove(command));
        } else if (command.getTaskMode().intValue() == CrnTaskModeType.NONE.id) {
            //复位
            executor.submit(() -> commandTaskComplete(command));
        }
        response.setResult(true);
        return response;
    }
    @Override
    public CommandResponse sendCommand2(CrnCommand command) {
        return null;
    }