Riku
2024-07-07 00ec64bdf38a52b979f709de2e82e9994ed17749
src/main/kotlin/com/flightfeather/uav/biz/FactorFilter.kt
@@ -35,7 +35,41 @@
    companion object{
        fun builder() = FactorFilter().Builder()
        fun default() = builder().create()
        fun default() = builder()
            .withMain(FactorType.VOC)
            .withSubs(listOf(
                FactorType.H2S,
                FactorType.O3,
                FactorType.PM25,
            ))
            .withMain(FactorType.H2S)
            .withSubs(listOf(
                FactorType.VOC,
                FactorType.O3,
                FactorType.PM25,
            ))
            .withMain(FactorType.O3)
            .withSubs(listOf(
                FactorType.VOC,
                FactorType.H2S,
                FactorType.PM25,
            ))
            .withMain(FactorType.PM25)
            .withSubs(listOf(
                FactorType.VOC,
                FactorType.H2S,
                FactorType.O3,
            ))
//            .withSubs(listOf(
//                FactorType.NO2,
//                FactorType.CO,
//                FactorType.SO2,
//                FactorType.O3,
//                FactorType.PM25,
//                FactorType.PM10,
//                FactorType.VOC
//            ))
            .create()
    }
    // 所选因子集合