| | |
| | | |
| | | @ApiOperation(value = "监测数据") |
| | | @GetMapping("/detection") |
| | | public CommonResult<AIIotVO.DetectionVO> detection(@Validated CockpitVO.Params1VO params) { |
| | | checkApiUtil.cockpit(params.getAppId(), params.getAppKey(), params.getSign(), null, null,null); |
| | | public CommonResult<AIIotVO.DetectionVO> detection(@Validated CockpitVO params) { |
| | | checkApiUtil.cockpit(params); |
| | | AIIotVO.DetectionVO detectionVO = new AIIotVO.DetectionVO(); |
| | | detectionVO.setVideo(121); |
| | | detectionVO.setIndividual(20); |
| | |
| | | |
| | | @ApiOperation(value = "实时视频监控") |
| | | @GetMapping("/video") |
| | | @ApiImplicitParam(name = "regionId",value = "地区Id",required = true,dataType = "String") |
| | | public CommonResult<List<AIIotVO.VideoVO>> video(@Validated CockpitVO.Params1VO params, @RequestParam(required = true)String regionId) { |
| | | checkApiUtil.cockpit(params.getAppId(), params.getAppKey(), params.getSign(), null, null,regionId); |
| | | public CommonResult<List<AIIotVO.VideoVO>> video(@Validated CockpitVO params) { |
| | | checkApiUtil.cockpit(params); |
| | | List<AIIotVO.VideoVO> videoVOS = new ArrayList<>(); |
| | | AIIotVO.VideoVO a = null; |
| | | for (int i = 0; i < 4; i++) { |
| | |
| | | |
| | | @ApiOperation(value = "AI算法效能") |
| | | @GetMapping("/efficiency") |
| | | public CommonResult<List<AIIotVO.EfficiencyVO>> efficiency(@Validated CockpitVO.Params2VO params) { |
| | | checkApiUtil.cockpit(params.getAppId(), params.getAppKey(), params.getSign(), params.getBeginTime(), params.getEndTime(),null); |
| | | public CommonResult<List<AIIotVO.EfficiencyVO>> efficiency(@Validated CockpitVO params) { |
| | | checkApiUtil.cockpit(params); |
| | | List<AIIotVO.EfficiencyVO> efficiencyVOS = new ArrayList<>(); |
| | | AIIotVO.EfficiencyVO a = null; |
| | | for (int i = 0; i < 4; i++) { |
| | |
| | | |
| | | @ApiOperation(value = "渣土联动") |
| | | @GetMapping("/slag_car") |
| | | public CommonResult<AIIotVO.SlagCarVO> slagCar(@Validated CockpitVO.Params1VO params) { |
| | | checkApiUtil.cockpit(params.getAppId(), params.getAppKey(), params.getSign(), null, null,null); |
| | | public CommonResult<AIIotVO.SlagCarVO> slagCar(@Validated CockpitVO params) { |
| | | checkApiUtil.cockpit(params); |
| | | AIIotVO.SlagCarVO slagCarVO = new AIIotVO.SlagCarVO(); |
| | | slagCarVO.setCar(236); |
| | | slagCarVO.setTeam(20); |
| | |
| | | |
| | | @ApiOperation(value = "AI事件统计") |
| | | @GetMapping("/event_statistics") |
| | | public CommonResult<List<AIIotVO.StatisticsVO>> statistics(@Validated CockpitVO.Params2VO params) { |
| | | checkApiUtil.cockpit(params.getAppId(), params.getAppKey(), params.getSign(), params.getBeginTime(), params.getEndTime(),null); |
| | | public CommonResult<List<AIIotVO.StatisticsVO>> statistics(@Validated CockpitVO params) { |
| | | checkApiUtil.cockpit(params); |
| | | List<AIIotVO.StatisticsVO> statisticsVOS = new ArrayList<>(); |
| | | List<AIIotVO.Statistics1VO> statistics1VOS = new ArrayList<>(); |
| | | AIIotVO.StatisticsVO a = null; |