| | |
| | | |
| | | @ApiOperation(value = "系统概览获取前一百比时间间隔数据核容设备信息") |
| | | @GetMapping("getBattDevData100") |
| | | public Response getBattDevData100(@RequestParam Integer powerId,@RequestParam Integer battgroupId){ |
| | | public Response getBattDevData100(@RequestParam Integer powerId,@RequestParam Integer battgroupId) throws ParseException, InterruptedException { |
| | | return battRealdataIdService.getBattDevData100(powerId,battgroupId); |
| | | } |
| | | |
| | |
| | | return tdataIdService.getTinfDataWithTestRecordCount(battgroupId,testRecordCount,recordNum,granularity); |
| | | } |
| | | |
| | | @ApiOperation(value = "历史实时查询") |
| | | @ApiOperation(value = "电池历史实时查询") |
| | | @GetMapping("getBattRealDataHis") |
| | | public Response getBattRealDataHis(@RequestParam Integer battgroupId,@RequestParam Integer granularity |
| | | ,@RequestParam String startTime,@RequestParam String endTime) throws ParseException, InterruptedException { |
| | | return battRealdataIdService.getBattRealDataHis(battgroupId,granularity,startTime,endTime); |
| | | } |
| | | @ApiOperation(value = "电源历史实时查询") |
| | | @GetMapping("getPwrRealDataHis") |
| | | public Response getPwrRealDataHis(@RequestParam Integer powerId,@RequestParam Integer granularity |
| | | ,@RequestParam String startTime,@RequestParam String endTime) throws ParseException, InterruptedException { |
| | | return pwrdevHistorydataIdService.getPwrRealDataHis(powerId,granularity,startTime,endTime); |
| | | } |
| | | } |