1、ZNY虚拟数据

This commit is contained in:
weidong 2024-05-24 08:53:05 +08:00
parent 8f36a0f324
commit b96c6f598e

View File

@ -39,7 +39,12 @@ public class ZNYForwarder2 extends Forwarder{
logger.info("zny2 forwardGnss");
forwardCurrentGnss();
}
@Scheduled(cron = "0 0/10 * * * ?") // 每30分钟执行一次
private void checkDevice() {
//logger.info("zny checkDevice");
checkOfflineDevice("2419374","2410188","2410194");
//checkOfflineDevice("2345074","2345065","2345089");
}
@Override
int send(String projectId, List<GnssCalcData> records, LocalDateTime sentTime){
int sendNum = 0;