| | |
| | | StatisticsEventsVO.GridMemberVO a = null; |
| | | for (int i = 0; i < 4; i++) { |
| | | a = new StatisticsEventsVO.GridMemberVO(); |
| | | a.setRatio(new BigDecimal("0.20").setScale(2, RoundingMode.HALF_UP)); |
| | | a.setRatio(new BigDecimal("0.20").setScale(4, RoundingMode.HALF_UP)); |
| | | a.setName("团结屯"); |
| | | a.setCount(10); |
| | | gridMemberVOS.add(a); |
| | |
| | | StatisticsEventsVO.IndexSignsVO indexSignsVO = new StatisticsEventsVO.IndexSignsVO(); |
| | | indexSignsVO.setEvent(1); |
| | | indexSignsVO.setGridMember(20); |
| | | indexSignsVO.setCompletePercentage(new BigDecimal("0.60").setScale(2, RoundingMode.HALF_UP)); |
| | | indexSignsVO.setCompletePercentage(new BigDecimal("0.60").setScale(4, RoundingMode.HALF_UP)); |
| | | indexSignsVO.setEquipment(30); |
| | | indexSignsVO.setAccuracy(new BigDecimal("0.80").setScale(2, RoundingMode.HALF_UP)); |
| | | indexSignsVO.setAccuracy(new BigDecimal("0.80").setScale(4, RoundingMode.HALF_UP)); |
| | | indexSignsVO.setTrigger(10); |
| | | indexSignsVO.setLot(30); |
| | | indexSignsVO.setLotOnline(10); |
| | |
| | | public CommonResult<StatisticsEventsVO.CityPanelVo> cityPanel(@Validated CockpitVO params) { |
| | | checkApiUtil.cockpit(params); |
| | | |
| | | StatisticsEventsVO.CityPanelVo vo = new StatisticsEventsVO.CityPanelVo(92, true, 22, false, 12, true, |
| | | 22, false, 34, true, 99, false, 9, true, |
| | | 34, false, 6, true); |
| | | StatisticsEventsVO.CityPanelVo vo = new StatisticsEventsVO.CityPanelVo(7621, true, 0, false, 99.46, true, |
| | | 2, false, 0, true, 2743, false, 76, true, |
| | | 482, false, 1, true); |
| | | |
| | | return CommonResult.success(vo); |
| | | } |
| | |
| | | @GetMapping("/video_point") |
| | | public CommonResult<List<VideoPointVo>> videoPoint(@Validated CockpitVO params) { |
| | | checkApiUtil.cockpit(params); |
| | | IPage<VideoPointVo> page = videoPointService.getList(null, null, 1, 500); |
| | | IPage<VideoPointVo> page = videoPointService.getList(null, null, null, 1, 500); |
| | | return CommonResult.success(page.getRecords()); |
| | | } |
| | | |