#
zjj
昨天 69ba128c58bfb9f5a79481e4997558aafc6f46c6
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());
        }
    }
}