From 698f8f0f22af4c66581ce284407e986ca036aec6 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 23 一月 2025 17:10:26 +0800 Subject: [PATCH] 1. 网格细分逻辑(编写中) --- 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