| | |
| | | package com.flightfeather.uav.lightshare.web |
| | | |
| | | import com.flightfeather.uav.domain.entity.GridData |
| | | import com.flightfeather.uav.domain.entity.GridDataDetail |
| | | import com.flightfeather.uav.lightshare.bean.AreaVo |
| | | import com.flightfeather.uav.lightshare.service.SatelliteDataCalculateService |
| | |
| | | @ApiParam("网格组id") @RequestParam groupId: Int, |
| | | @ApiParam("遥测数据时间") |
| | | @RequestParam(required = false) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") dataTime: LocalDateTime?, |
| | | @ApiParam( |
| | | "遥测数据类型", |
| | | allowableValues = "0:原始卫星遥测数据;1:融合数据" |
| | | ) @RequestParam(required = false) type: Int?, |
| | | @ApiParam("遥测数据类型", allowableValues = "0:原始卫星遥测数据;1:融合数据") |
| | | @RequestParam(required = false) type: Int?, |
| | | ) = resPack { satelliteTelemetryService.fetchGridData(groupId, dataTime, type) } |
| | | |
| | | @ApiOperation(value = "获取网格组下的卫星遥测数据") |
| | | @PostMapping("/grid/data2") |
| | | fun fetchGridData2( |
| | | @ApiParam("网格数据") @RequestBody gridData: GridData, |
| | | ) = resPack { satelliteTelemetryService.fetchGridData(gridData) } |
| | | |
| | | @ApiOperation(value = "删除网格数据") |
| | | @DeleteMapping("/grid/data/delete") |
| | | fun deleteGridData( |
| | | @ApiParam("数据id") @RequestParam dataId: Int, |
| | | ) = resPack { satelliteTelemetryService.deleteGridData(dataId) } |
| | | |
| | | @ApiOperation(value = "获取网格组下的卫星遥测具体数据") |
| | | @GetMapping("/grid/data/detail") |
| | |
| | | |
| | | /**遥测产品制作相关**************************************************************/ |
| | | @ApiOperation(value = "生成走航融合产品") |
| | | @GetMapping("/product/underway/build") |
| | | @PostMapping("/product/underway/build") |
| | | fun buildUnderwayProduct( |
| | | @ApiParam("走航任务编号") @RequestParam missionCode: String, |
| | | @ApiParam("网格组id") @RequestParam groupId: Int, |
| | | ) = resPack { satelliteDataCalculateService.dataFusion(missionCode, groupId) } |
| | | // @ApiParam("走航任务编号") @RequestParam missionCode: String, |
| | | // @ApiParam("网格组id") @RequestParam groupId: Int, |
| | | @ApiParam("网格数据") @RequestBody gridData: GridData, |
| | | ) = resPack { satelliteDataCalculateService.dataFusion(gridData) } |
| | | |
| | | @ApiOperation(value = "进行走航融合产品的融合分析") |
| | | @PostMapping("/product/underway/mix") |
| | | fun mixGridData( |
| | | @ApiParam("网格组id") @RequestParam groupId: Int, |
| | | @ApiParam("需要融合的数据id") @RequestBody dataIdList: List<Int>, |
| | | ) = resPack { satelliteDataCalculateService.mixGridData(groupId, dataIdList) } |
| | | ) = resPack { satelliteDataCalculateService.mixUnderwayGridData(groupId, dataIdList) } |
| | | |
| | | @ApiOperation(value = "生成走航热力图") |
| | | @PostMapping("/product/underway/heatmap/build") |