#
Junjie
2 天以前 05b57adb20382ff1ceb99cea676fe3dce7908514
src/main/java/com/zy/core/task/ShuttleDemoScheduler.java
@@ -30,4 +30,18 @@
        }
    }
    @Scheduled(cron = "0/3 * * * * ? ")
    public synchronized void executeCargoMove() {
        shuttleAction.demoModeCargoMove();
    }
    @Scheduled(cron = "0/3 * * * * ? ")
    public synchronized void executeRunLoc() {
        List<DeviceConfig> shuttleList = deviceConfigService.selectList(new EntityWrapper<DeviceConfig>()
                .eq("device_type", String.valueOf(SlaveType.Shuttle)));
        for (DeviceConfig device : shuttleList) {
            shuttleAction.demoModeRunLoc(device.getDeviceNo());
        }
    }
}