| | |
| | | import com.se.simu.domain.vo.R; |
| | | import com.se.simu.helper.ShpHelper; |
| | | import com.se.simu.helper.StringHelper; |
| | | import com.se.simu.service.GedbService; |
| | | import com.se.simu.service.ResultService; |
| | | import com.se.simu.service.SimuService; |
| | | import com.se.simu.service.UwService; |
| | | import com.se.simu.service.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | |
| | | |
| | | @Resource |
| | | SimuService simuService; |
| | | |
| | | @Resource |
| | | Hdf5Service hdf5Service; |
| | | |
| | | @Resource |
| | | ResultService resultService; |
| | |
| | | @ApiImplicitParam(name = "time", value = "时间", dataType = "String", paramType = "query", example = "2024-11-07 09:23:42") |
| | | }) |
| | | @GetMapping("/testResuslt") |
| | | public R<Object> testResuslt(String path,String time) { |
| | | public R<Object> testResuslt(String path, String time) { |
| | | try { |
| | | DataPo data = new DataPo(); |
| | | data.setEpsg(4548); |
| | |
| | | return fail(ex, null); |
| | | } |
| | | } |
| | | |
| | | @ApiOperation(value = "testH5 *") |
| | | @GetMapping("/testH5") |
| | | public R<Object> testH5() { |
| | | try { |
| | | DataPo data = new DataPo(); |
| | | data.setEpsg(4548); |
| | | data.setInPath("20241010095328"); |
| | | data.setStartTime(StringHelper.YMDHMS_FORMAT.parse("2024-09-30 00:00:00")); |
| | | |
| | | hdf5Service.test(data); |
| | | |
| | | return success("ok"); |
| | | } catch (Exception ex) { |
| | | return fail(ex, null); |
| | | } |
| | | } |
| | | } |