From 9dce80fc67e35dafc1a84afa726773647ee27b50 Mon Sep 17 00:00:00 2001 From: weidong Date: Tue, 25 Mar 2025 23:03:14 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=9F=BA=E7=AB=99GGA=E5=A6=82?= =?UTF-8?q?=E6=9E=9C=E5=92=8Cd300=E5=88=86=E5=BC=80=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=EF=BC=8C=E6=98=AF=E6=9C=89=E5=8F=AF=E8=83=BD=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?d341=E6=B6=88=E6=81=AF=EF=BC=8C=E5=9B=A0=E6=AD=A4=E5=9C=A8d341?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E5=A4=84=E7=90=86=E9=87=8C=E8=A6=81=E5=8C=BA?= =?UTF-8?q?=E5=88=86=E8=AE=BE=E5=A4=87=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../executor/D341LocationMessageExecutor.java | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/executor/D341LocationMessageExecutor.java b/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/executor/D341LocationMessageExecutor.java index 4448da94..45f8fa91 100644 --- a/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/executor/D341LocationMessageExecutor.java +++ b/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/executor/D341LocationMessageExecutor.java @@ -84,7 +84,7 @@ public class D341LocationMessageExecutor implements Executor { - gnssCalcService.calcSingle(message,true); - // 原始码流输出到日志文件 -- INFO 级别 - if(device.getLoggingmode() == GnssDevice.LOGGING_MODE_FULL){ - logger.info("receive {} d341 message: {}", message.getId(), DataTypeUtil.getHexString(message.getSrcData())); - } + if(device.getDeviceType() == Device.DEVICE_ROVER) { + ThreadManager.getFixedThreadPool().submit(() -> { + gnssCalcService.calcSingle(message, true); + // 原始码流输出到日志文件 -- INFO 级别 + if (device.getLoggingmode() == GnssDevice.LOGGING_MODE_FULL) { + logger.info("receive {} d341 message: {}", message.getId(), DataTypeUtil.getHexString(message.getSrcData())); + } /*else { Gga gga1 = message.getGga(); if (gga1 != null && !gga1.isFixed()) { @@ -107,7 +108,8 @@ public class D341LocationMessageExecutor implements Executor