#
zjj
4 天以前 9e2fdc00eab55e45382fa667d9536383cd6f0f73
src/main/java/com/zy/core/task/ShuttleDemoScheduler.java
@@ -35,4 +35,13 @@
        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());
        }
    }
}