From bde043c8fd1a076f44c402dd56c62d401afbfb16 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 27 三月 2025 17:29:48 +0800 Subject: [PATCH] 1. 新增卫星遥测网格热力图计算逻辑 --- src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt | 32 ++++++++++++++++++++++++++++---- 1 files changed, 28 insertions(+), 4 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt b/src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt index 97014cb..0be52ab 100644 --- a/src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt +++ b/src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt @@ -2,6 +2,7 @@ import com.flightfeather.uav.common.exception.BizException import com.flightfeather.uav.domain.entity.GridAod +import com.flightfeather.uav.domain.entity.GridAodDetail import com.flightfeather.uav.domain.entity.GridCell import com.flightfeather.uav.domain.entity.GridData import com.flightfeather.uav.domain.entity.GridDataDetail @@ -14,13 +15,15 @@ import javax.servlet.http.HttpServletResponse /** - * + * 鍗槦閬ユ祴鐩稿叧service鏈嶅姟鎺ュ彛 * @date 2024/12/5 * @author feiyu02 */ interface SatelliteTelemetryService { - fun fetchGridGroup(areaVo: AreaVo, page: Int?, perPage: Int?): Pair<DataHead, List<GridGroup?>> + fun fetchGridGroup(areaVo: AreaVo, type: String?, page: Int?, perPage: Int?): Pair<DataHead, List<GridGroup?>> + + fun deleteGridGroup(groupId: Int) fun fetchGridCell(groupId: Int): List<GridCell?> @@ -28,15 +31,36 @@ fun fetchGridDataDetail(dataId: Int, groupId: Int?, cellId: Int?): List<GridDataDetail?> + fun createGridDataAndDataDetail( + groupId: Int, + dataTime: LocalDateTime?, + gridDataDetail: List<GridDataDetail>, + ): Boolean + + /** + * 鏁版嵁铻嶅悎 + */ + fun mixGridData(dataIdList: List<Int>): List<GridData?> + @Throws(BizException::class) fun importGridData(groupId: Int, dataTime: LocalDateTime?, update: Boolean, file: MultipartFile): GridDataImportResult? fun downloadTemplate(response: HttpServletResponse): Boolean - fun fetchGridAod(groupId: Int, dataTime: LocalDateTime?): List<GridAod?> - @Throws(BizException::class) fun importGridAOD(groupId: Int, dataTime: LocalDateTime?, update: Boolean, file: MultipartFile): GridDataImportResult? fun downloadAODTemplate(response: HttpServletResponse): Boolean + + /** + * 鏍规嵁鍗槦閬ユ祴缃戞牸鐨勪腑蹇冨潗鏍囩偣锛岃绠楃綉鏍�4涓《鐐瑰潗鏍� + * @param groupId 缃戞牸缁勭储寮昳d + */ + fun calGridVertex(groupId: Int): List<GridCell?> + + + /**AOD鏁版嵁鐩稿叧**************************************************************/ + fun fetchGridAod(groupId: Int, dataTime: LocalDateTime?): List<GridAod?> + + fun fetchGridAODDetail(aodId: Int, groupId: Int?, cellId: Int?): List<GridAodDetail?> } \ No newline at end of file -- Gitblit v1.9.3