增加TCP无数据UDP有数据情况下的debug

This commit is contained in:
weidong 2024-10-15 14:19:42 +08:00
parent 8907473cb4
commit 0bbab04187

View File

@ -73,6 +73,8 @@ public class D331RtcmMessageExecutor implements Executor<D331RtcmMessage, Void>
if(device1.getLastD3f0f2Time() == null || if(device1.getLastD3f0f2Time() == null ||
device1.getLastD3f0f2Time().isBefore(now.minusMinutes(30))) { device1.getLastD3f0f2Time().isBefore(now.minusMinutes(30))) {
// new cycle // new cycle
logger.info("device {} rx {} d331 in a cycle while not d3f0f2",device1.getDeviceId(),device1.getD3xxCount());
Device lastCycleDevice = new Device(); Device lastCycleDevice = new Device();
lastCycleDevice.setDeviceId(device1.getDeviceId()); lastCycleDevice.setDeviceId(device1.getDeviceId());
lastCycleDevice.setTenantId(device1.getTenantId()); lastCycleDevice.setTenantId(device1.getTenantId());