From 53857f42f777e2b9753b8f00cce1a60ce3dcb8fd Mon Sep 17 00:00:00 2001
From: Riku <risaku@163.com>
Date: 星期三, 15 十月 2025 22:42:29 +0800
Subject: [PATCH] 2025.10.15 修改高德地图地理逆编码结果,让地理位置信息更加详细
---
src/main/kotlin/com/flightfeather/uav/model/epw/TimeSection.kt | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/main/kotlin/com/flightfeather/uav/model/epw/TimeSection.kt b/src/main/kotlin/com/flightfeather/uav/model/epw/TimeSection.kt
index 2b5f476..c6d22ac 100644
--- a/src/main/kotlin/com/flightfeather/uav/model/epw/TimeSection.kt
+++ b/src/main/kotlin/com/flightfeather/uav/model/epw/TimeSection.kt
@@ -2,16 +2,13 @@
import com.flightfeather.uav.lightshare.bean.CompanySOP
import com.flightfeather.uav.lightshare.bean.DataVo
-import com.flightfeather.uav.model.BaseEffect
-import com.flightfeather.uav.model.BaseSection
-import com.flightfeather.uav.model.BaseTag
-import com.flightfeather.uav.model.TimeTag
+import com.flightfeather.uav.model.*
/**
* 鏃舵鍒嗙被缁熻
* [6,9,12,14,17,20]; [6,9)涓烘棭涓婏紝涔嬪悗渚濇涓轰笂鍗堬紝涓崍锛屼笅鍗堬紝鍌嶆櫄鍜屾櫄涓�
*/
-class TimeSection : BaseSection<DataVo, CompanySOP>() {
+class TimeSection : BaseSection<DataVo, BaseSOP>() {
override val sectionValues: List<Double> = listOf(6.0, 9.0, 12.0, 14.0, 17.0, 20.0)
@@ -21,7 +18,7 @@
override val constType: List<String> = listOf("缁煎悎")
- override fun onSectionValue(mData: DataVo, sop: CompanySOP, effect: BaseEffect): Double {
+ override fun onSectionValue(mData: DataVo, sop: BaseSOP, effect: BaseEffect): Double {
return getHour(mData.time!!)
}
--
Gitblit v1.9.3