| | |
| | | package com.flightfeather.uav.lightshare.service |
| | | |
| | | import com.flightfeather.uav.biz.dataanalysis.model.ExceptionResult |
| | | import com.flightfeather.uav.biz.report.MissionGridFusion |
| | | import com.flightfeather.uav.biz.report.MissionInventory |
| | | import com.flightfeather.uav.biz.report.MissionInventory.MissionDetail |
| | | import com.flightfeather.uav.biz.report.MissionRiskArea |
| | | import com.flightfeather.uav.biz.report.MissionSummary |
| | | import com.flightfeather.uav.biz.sourcetrace.model.PollutedClue |
| | | import com.flightfeather.uav.domain.entity.BaseRealTimeData |
| | | import com.flightfeather.uav.domain.entity.GridCell |
| | | import com.flightfeather.uav.domain.entity.Mission |
| | | import com.flightfeather.uav.domain.entity.SceneInfo |
| | | import com.flightfeather.uav.lightshare.bean.AreaVo |
| | | import com.flightfeather.uav.lightshare.bean.GridDataDetailMixVo |
| | | import com.flightfeather.uav.lightshare.eunm.PollutionDegree |
| | | import com.flightfeather.uav.socket.eunm.FactorType |
| | | import java.util.* |
| | | |
| | | /** |
| | |
| | | */ |
| | | fun generateMissionSummary(startTime: Date, endTime: Date, areaVo: AreaVo): MissionSummary.Summary |
| | | |
| | | fun generateMissionSummary(missionCode: String): MissionSummary.Summary |
| | | |
| | | /** |
| | | * 生成走航任务清单(按时间和区域筛选) |
| | | * 根据时间范围和地理区域查询走航任务,并生成包含统计信息的任务列表 |
| | |
| | | */ |
| | | fun generateMissionList(missionClues: List<Pair<Mission, List<PollutedClue?>>>): List<MissionInventory.MissionInfo> |
| | | |
| | | fun generateMissionInfo( |
| | | keyScenes: List<SceneInfo?>, |
| | | missionCluesData: List<Triple<Mission, List<PollutedClue?>, List<BaseRealTimeData>>>, |
| | | ): List<MissionInventory.MissionInfo> |
| | | |
| | | /** |
| | | * 获取走航任务详情(按时间和区域筛选) |
| | | * 根据时间范围和区域查询并生成详细的任务报告,包含关键场景和数据统计 |
| | |
| | | * @return 任务详情列表,每个元素包含任务完整信息、场景数据和统计结果 |
| | | */ |
| | | fun generateMissionDetail(startTime: Date, endTime: Date, areaVo: AreaVo): List<MissionDetail> |
| | | |
| | | /** |
| | | * 生成走航任务详情(按任务编号筛选) |
| | | * 根据任务编号查询并生成详细的任务报告,包含任务完整信息、场景数据和统计结果 |
| | | * @param missionCode 任务编号,用于唯一标识特定的走航任务 |
| | | * @return 任务详情对象,包含任务完整信息、场景数据和统计结果 |
| | | */ |
| | | fun generateMissionDetail(missionCode: String): MissionDetail |
| | | |
| | | /** |
| | | * 获取走航任务详情(直接处理任务数据) |
| | |
| | | |
| | | fun generateClueByRiskArea(startTime: Date, endTime: Date, areaVo: AreaVo): List<MissionRiskArea.ClueByArea> |
| | | |
| | | fun generateClueByRiskArea(missionCode: String): List<MissionRiskArea.ClueByArea> |
| | | |
| | | fun generateClueByRiskArea(keyScenes: List<SceneInfo?>, pollutedClues: List<PollutedClue?>): List<MissionRiskArea.ClueByArea> |
| | | |
| | | fun generateGridFusion(factorTypes: List<FactorType>, startTime: Date, endTime: Date, areaVo: AreaVo): |
| | | List<MissionGridFusion.GridFusionByAQI> |
| | | |
| | | fun generateGridFusion( |
| | | factorTypes: List<FactorType>, |
| | | gridLen: Int, |
| | | gridCells: List<GridCell>, |
| | | dataList: List<Triple<PollutionDegree, List<MissionInventory.MissionInfo>, List<GridDataDetailMixVo>>>, |
| | | ): List<MissionGridFusion.GridFusionByAQI> |
| | | } |