feiyu02
19 小时以前 4a976d3763be8a7bed743faf24abf2718ae18e31
src/main/kotlin/com/flightfeather/uav/biz/FactorFilter.kt
@@ -28,6 +28,11 @@
            return this
        }
        fun withCombination(com: List<List<FactorType>>):Builder{
            combination.addAll(com)
            return this
        }
        fun create(): FactorFilter {
            return this@FactorFilter
        }
@@ -85,6 +90,9 @@
    // 所选因子集合
    val selectedList = mutableListOf<SelectedFactor>()
    // 因子的关联关系
    val combination = mutableListOf<List<FactorType>>()
    fun mainList(): List<FactorType> {
        return selectedList.map { it.main }
    }