|
|
|
@ -73,7 +73,7 @@ public class TaskUtils { |
|
|
|
modbusCommunicateService.readPerSecond(); |
|
|
|
} |
|
|
|
|
|
|
|
//@Scheduled(cron = "${loraurl.getLoraWatchTime}") |
|
|
|
@Scheduled(cron = "${loraurl.getLoraWatchTime}") |
|
|
|
//@Scheduled(cron = "0/30 * * * * ?") |
|
|
|
public void getLoraWatchMessage(){eamService.getLoraWatch();}; |
|
|
|
|
|
|
|
@ -83,7 +83,8 @@ public class TaskUtils { |
|
|
|
//@Scheduled(cron = "${loraurl.sendThreeColourTime}") |
|
|
|
public void sendThreeColourLight(){eamService.sendThreeColourLight();}; |
|
|
|
|
|
|
|
//@Scheduled(cron = "${loraurl.sendRedColourTime}") |
|
|
|
@Scheduled(cron = "${loraurl.sendRedColourTime}") |
|
|
|
//@Scheduled(cron = "0/10 * * * * ?") |
|
|
|
public void sendLoraRedLight(){eamService.sendLoraRedLight();} |
|
|
|
|
|
|
|
/** |
|
|
|
|