From 6d91cdee25cf1e9177982e5df7871201ef169ac3 Mon Sep 17 00:00:00 2001 From: fengyarnom Date: Thu, 28 Nov 2024 15:29:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=89=E7=94=B5=E8=AD=A6=E5=91=8A=E8=A7=A6?= =?UTF-8?q?=E5=8F=91=E6=97=A5=E5=BF=97=E6=94=B6=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/imdroid/sideslope/service/WarningServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/service/WarningServiceImpl.java b/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/service/WarningServiceImpl.java index 8c4b8950..b45ebf42 100644 --- a/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/service/WarningServiceImpl.java +++ b/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/service/WarningServiceImpl.java @@ -258,8 +258,8 @@ public class WarningServiceImpl implements WarningService { } public void generate_warning_logs(String device_id,int warning_type,String warning_type_name){ - // 连续无固定解 - if (warning_type == WarningCfg.TYPE_NO_FIXED_RESULT) { + // 连续无固定解 和 掉电 警告 + if (warning_type == WarningCfg.TYPE_NO_FIXED_RESULT || warning_type == WarningCfg.TYPE_LOW_VOLTAGE) { WarningLogExecutor warningLogExecutor = new WarningLogExecutor(logDirectory); warningLogExecutor.generateWarningLogs(device_id, warning_type_name); }