| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.AnalysisAlm.AnalysisChangeRes; |
| | | import com.whyc.dto.Param.AlmAnalyseDto; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.service.AlmAnalysisParamService; |
| | |
| | | |
| | | @GetMapping("getHisRealInAlm") |
| | | @ApiOperation("预警分析管理-电源主属性和分析属性") |
| | | public Response getHisRealInAlm(@RequestParam Integer battgroupId,@RequestParam Integer powerId,@RequestParam String startTime,@RequestParam(required = false) Integer almId,@RequestParam(required = false) Integer intervalTime) throws ParseException, InterruptedException { |
| | | return almAnalysisParamService.getHisRealInAlm(battgroupId,powerId,startTime,almId,intervalTime); |
| | | public Response getHisRealInAlm(@RequestParam Integer battgroupId,@RequestParam Integer powerId,@RequestParam String startTime,@RequestParam(required = false) Integer almId) throws ParseException, InterruptedException { |
| | | return almAnalysisParamService.getHisRealInAlm(battgroupId,powerId,startTime,almId); |
| | | } |
| | | |
| | | @PostMapping("getHisRealWithChage") |
| | | @ApiOperation("预警分析管理-切换时间间隔和副属性") |
| | | public Response getHisRealWithChage(@RequestBody AnalysisChangeRes res) throws ParseException, InterruptedException { |
| | | return almAnalysisParamService.getHisRealWithChage(res); |
| | | } |
| | | |
| | | @PostMapping("getAlmSummaryParam") |
| | | @ApiOperation("预警分析管理-查询所有的属性对应关系") |
| | | public Response getAlmSummaryParam(){ |
| | | return almAnalysisParamService.getAlmSummaryParam(); |
| | | } |
| | | |
| | | } |