Commit b5043884 authored by bijingchen's avatar bijingchen

1.优化获取警情检测接口代码 2. 增加温湿度接口 3.增加温湿度定时任务

parent b268bb53
......@@ -226,7 +226,7 @@ public class MainConfig extends JFinalConfig {
// modbusCodeLogService.save("",1);
// serverController.DemoDataServer();
new ScheduledTaskExample().run();
// new ScheduledTaskExample().run();
}
......
......@@ -10,6 +10,7 @@ public class ScheduledTaskExample implements ITask {
System.out.println("定时任务执行");
ArchiveInterfaceService archiveInterfaceService = new ArchiveInterfaceService();
archiveInterfaceService.alertList();
archiveInterfaceService.GetRoow();
System.err.println("定时任务结束");
// ArchiveInterfaceController archiveInterfaceController = new ArchiveInterfaceController();
// archiveInterfaceController.list();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment