|
|
|
@ -43,7 +43,7 @@ public class UdpClentScheduled { |
|
|
|
private MeterConfigService meterConfigService; |
|
|
|
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 0/1 * * * ?") |
|
|
|
@Scheduled(cron = "0 5 9,15 * * ?")//每天9点5分和下午三点5分执行
|
|
|
|
//定时发送监测数据
|
|
|
|
public void udpTask(){ |
|
|
|
if(meterReadingRecordService == null){ |
|
|
|
|