From 49832a5bba94c816e83e7e74095106643f0a433e Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 16 十二月 2021 13:24:28 +0800
Subject: [PATCH] 1. 用电量日分析 2. 网格权重污染分析

---
 src/main/kotlin/com/flightfeather/uav/model/epw/EPWModel.kt |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/model/epw/EPWModel.kt b/src/main/kotlin/com/flightfeather/uav/model/epw/EPWModel.kt
index 2428a7b..b832b60 100644
--- a/src/main/kotlin/com/flightfeather/uav/model/epw/EPWModel.kt
+++ b/src/main/kotlin/com/flightfeather/uav/model/epw/EPWModel.kt
@@ -11,7 +11,7 @@
  * 鏍规嵁璧拌埅鐩戞祴鏁版嵁锛岀粨鍚堥閫熴�侀鍚戙�佺洃娴嬬偣涓庝紒涓氱殑鐩稿浣嶇疆绛夊洜绱狅紝璁$畻浼佷笟瀵圭洃娴嬪尯鍩熺殑褰卞搷绋嬪害
  * @author riku
  */
-class EPWModel : BaseModel<DataVo, CompanySOP>() {
+class EPWModel : BaseModel<DataVo>() {
 
     // 榛樿鐩戞祴鐐圭粡绾害
     var defaultLocation: Pair<Double, Double>? = null
@@ -19,17 +19,17 @@
             weights = listOf(WindDirWeight(value), WindDisWeight(value))
         }
 
-    override var dataPrep: BaseDataPrep<DataVo, CompanySOP> = EPWDataPrep()
+    override var dataPrep: BaseDataPrep<DataVo, BaseSOP> = EPWDataPrep()
 
     override var factorTypes: List<FactorType> = WeightType.weightType
 
-    override var weights: List<BaseWeight<DataVo, CompanySOP>> = listOf(WindDirWeight(defaultLocation), WindDisWeight(defaultLocation))
+    override var weights: List<BaseWeight<DataVo, BaseSOP>> = listOf(WindDirWeight(defaultLocation), WindDisWeight(defaultLocation))
 
-    override var sections: List<BaseSection<DataVo, CompanySOP>> = listOf(TimeSection())
+    override var sections: List<BaseSection<DataVo, BaseSOP>> = listOf(TimeSection())
 
     override fun mDataCheck(m: DataVo): Boolean = !(m.lng == null || m.lng == 0.0 || m.lat == null || m.lat == 0.0)
 
-    override fun sopCheck(s: CompanySOP): Boolean =
+    override fun sopCheck(s: BaseSOP): Boolean =
         !(s.ciLongitude == null || s.ciLongitude == BigDecimal(0) || s.ciLatitude == null || s.ciLatitude == BigDecimal(0))
 
 }
\ No newline at end of file

--
Gitblit v1.9.3