feiyu02
2021-12-02 74ffc8ebf3a25d2e3cee758954ce6efc163cb864
src/main/kotlin/com/flightfeather/uav/model/epw/EPWModel.kt
@@ -13,11 +13,17 @@
 */
class EPWModel : BaseModel<DataVo, CompanySOP>() {
    // 默认监测点经纬度
    var defaultLocation: Pair<Double, Double>? = null
        set(value) {
            weights = listOf(WindDirWeight(value), WindDisWeight(value))
        }
    override var dataPrep: BaseDataPrep<DataVo, CompanySOP> = EPWDataPrep()
    override var factorTypes: List<FactorType> = WeightType.weightType
    override var weights: List<BaseWeight<DataVo, CompanySOP>> = listOf(WindDirWeight(), WindDisWeight())
    override var weights: List<BaseWeight<DataVo, CompanySOP>> = listOf(WindDirWeight(defaultLocation), WindDisWeight(defaultLocation))
    override var sections: List<BaseSection<DataVo, CompanySOP>> = listOf(TimeSection())