| | |
| | | package com.flightfeather.uav.lightshare.service |
| | | |
| | | import com.flightfeather.uav.common.exception.BizException |
| | | import com.flightfeather.uav.domain.entity.GridAod |
| | | import com.flightfeather.uav.domain.entity.GridCell |
| | | import com.flightfeather.uav.domain.entity.GridData |
| | | import com.flightfeather.uav.domain.entity.GridDataDetail |
| | | import com.flightfeather.uav.domain.entity.GridGroup |
| | | import com.flightfeather.uav.lightshare.bean.AreaVo |
| | | import com.flightfeather.uav.lightshare.bean.DataHead |
| | | import com.flightfeather.uav.lightshare.bean.GridDataImportResult |
| | | import org.springframework.web.multipart.MultipartFile |
| | | import java.time.LocalDateTime |
| | | import javax.servlet.http.HttpServletResponse |
| | | |
| | | /** |
| | | * |
| | | * 卫星遥测相关service服务接口 |
| | | * @date 2024/12/5 |
| | | * @author feiyu02 |
| | | */ |
| | |
| | | |
| | | fun fetchGridGroup(areaVo: AreaVo, page: Int?, perPage: Int?): Pair<DataHead, List<GridGroup?>> |
| | | |
| | | fun deleteGridGroup(groupId: Int) |
| | | |
| | | fun fetchGridCell(groupId: Int): List<GridCell?> |
| | | |
| | | fun fetchGridData(groupId: Int, dataTime: LocalDateTime?, type: Int?): List<GridData?> |
| | | |
| | | fun fetchGridDataDetail(dataId: Int, groupId: Int?, cellId: Int?): List<GridDataDetail?> |
| | | |
| | | /** |
| | | * 数据融合 |
| | | */ |
| | | 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 网格组索引id |
| | | */ |
| | | fun calGridVertex(groupId: Int): List<GridCell?> |
| | | } |