From e133600480d5f688a8375db7708fe531b4726f4a Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 07 二月 2025 17:38:38 +0800 Subject: [PATCH] 1. 新增卫星网格拆分、遥测数据拆分映射功能 --- 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