| | |
| | | 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); |
| | | } |
| | | } |