|
|
@@ -74,9 +74,9 @@ public class TaskExecutor {
|
|
|
*/
|
|
|
@Scheduled(cron = "0 0/5 * * * ?")
|
|
|
public void refresh5min() {
|
|
|
-// CompletableFuture.runAsync(() -> squareLightCtlHandler.execSyncDevAttrAll());
|
|
|
-// CompletableFuture.runAsync(() -> acrelElecMonitorHandler.execSyncDevAttrAll());
|
|
|
-// squareLightCtlHandler.refreshOnline();
|
|
|
+ CompletableFuture.runAsync(() -> squareLightCtlHandler.execSyncDevAttrAll());
|
|
|
+ CompletableFuture.runAsync(() -> acrelElecMonitorHandler.execSyncDevAttrAll());
|
|
|
+ squareLightCtlHandler.refreshOnline();
|
|
|
}
|
|
|
|
|
|
// /**
|
|
|
@@ -93,12 +93,12 @@ public class TaskExecutor {
|
|
|
*/
|
|
|
@Scheduled(cron = "0 0/15 * * * ?")
|
|
|
public void baMeterCollect() {
|
|
|
-// baCtlHandler.meterCollect();
|
|
|
-// baCtlHandler.xfCollect();
|
|
|
-// baCtlHandler.ahuCollect();
|
|
|
-// baCtlHandler.wtCollect();
|
|
|
-// baCtlHandler.wpCollect();
|
|
|
-// baCtlHandler.lightCollect();
|
|
|
+ baCtlHandler.meterCollect();
|
|
|
+ baCtlHandler.xfCollect();
|
|
|
+ baCtlHandler.ahuCollect();
|
|
|
+ baCtlHandler.wtCollect();
|
|
|
+ baCtlHandler.wpCollect();
|
|
|
+ baCtlHandler.lightCollect();
|
|
|
}
|
|
|
|
|
|
/**
|