From 85909f9a78a328de2bc3efc0d1d184320cb8970b Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 11 七月 2025 17:22:54 +0800 Subject: [PATCH] 2025.7.11 1. 修改动态溯源异常判断逻辑 --- src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/SourceTraceController.kt | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/SourceTraceController.kt b/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/SourceTraceController.kt index b8c3e98..65fc3a8 100644 --- a/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/SourceTraceController.kt +++ b/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/SourceTraceController.kt @@ -32,19 +32,23 @@ this.sceneInfoRep = sceneInfoRep this.sourceTraceRep = sourceTraceRep this.config = if (factorFilter != null) { - RTExcWindLevelConfig(factorFilter) + RTExcWindLevelConfig(factorFilter, emptyList()) } else { RTExcWindLevelConfig( FactorFilter.builder() -// .withMain(FactorType.NO2) -// .withMain(FactorType.CO) + .withMain(FactorType.NO2) + .withMain(FactorType.CO) // .withMain(FactorType.H2S) // .withMain(FactorType.SO2) -// .withMain(FactorType.O3) + .withMain(FactorType.O3) .withMain(FactorType.PM25) .withMain(FactorType.PM10) .withMain(FactorType.VOC) - .create() + .create(), + listOf( + listOf(FactorType.PM25, FactorType.PM10), + listOf(FactorType.VOC, FactorType.CO), + ) ) } pollutedSummary = PollutedSummary(config) { summaryCallback(it) } -- Gitblit v1.9.3