From 0412a0125f484282c28d76905ca1f6397014b982 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期一, 30 十二月 2024 14:32:48 +0800 Subject: [PATCH] 1. 测试部分新增数据后期调整代码(一次性) 2. 优化走航路径自动归集路段功能 --- src/main/kotlin/com/flightfeather/uav/biz/FactorFilter.kt | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 45 insertions(+), 1 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/biz/FactorFilter.kt b/src/main/kotlin/com/flightfeather/uav/biz/FactorFilter.kt index 3589b05..6a34992 100644 --- a/src/main/kotlin/com/flightfeather/uav/biz/FactorFilter.kt +++ b/src/main/kotlin/com/flightfeather/uav/biz/FactorFilter.kt @@ -35,7 +35,51 @@ companion object{ fun builder() = FactorFilter().Builder() - fun default() = builder().create() + fun default() = builder() + .withMain(FactorType.VOC) + .withSubs(listOf( +// FactorType.H2S, + FactorType.O3, + FactorType.PM25, + FactorType.PM10, + )) +// .withMain(FactorType.H2S) +// .withSubs(listOf( +// FactorType.VOC, +// FactorType.O3, +// FactorType.PM25, +// )) + .withMain(FactorType.O3) + .withSubs(listOf( + FactorType.VOC, +// FactorType.H2S, + FactorType.PM25, + FactorType.PM10, + )) + .withMain(FactorType.PM25) + .withSubs(listOf( + FactorType.VOC, +// FactorType.H2S, + FactorType.O3, + FactorType.PM10, + )) + .withMain(FactorType.PM10) + .withSubs(listOf( + FactorType.VOC, +// FactorType.H2S, + FactorType.O3, + FactorType.PM25, + )) +// .withSubs(listOf( +// FactorType.NO2, +// FactorType.CO, +// FactorType.SO2, +// FactorType.O3, +// FactorType.PM25, +// FactorType.PM10, +// FactorType.VOC +// )) + .create() } // 鎵�閫夊洜瀛愰泦鍚� -- Gitblit v1.9.3