| | |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.db_data_history.PwrdevHistorydataId; |
| | | import com.whyc.pojo.db_user.User; |
| | | import com.whyc.service.BattRealdataIdService; |
| | | import com.whyc.service.PowerInfService; |
| | | import com.whyc.service.PwrdevHistorydataIdService; |
| | | import com.whyc.service.StationInfService; |
| | | import com.whyc.service.*; |
| | | import com.whyc.util.ActionUtil; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | @Autowired |
| | | private BattRealdataIdService battRealdataIdService; |
| | | |
| | | @Autowired |
| | | private BatttestdataInfService tinfService; |
| | | |
| | | @Autowired |
| | | private BatttestdataIdService tdataIdService; |
| | | |
| | | @ApiOperation(value = "系统概览获取半小时交流输入统计") |
| | | @GetMapping("getHalfHourPwrHisAcinData") |
| | | public Response getHalfHourPwrHisAcinData(@RequestParam Integer powerId,@RequestParam Integer granularity){ |
| | |
| | | public Response getHalfHourBattDevData(@RequestParam Integer battgroupId,@RequestParam Integer granularity){ |
| | | return battRealdataIdService.getHalfHourBattDevData(battgroupId,granularity); |
| | | } |
| | | |
| | | @ApiOperation(value = "历史测试记录") |
| | | @GetMapping("getBattTinf") |
| | | public Response getBattTinf(@RequestParam Integer battgroupId){ |
| | | return tinfService.getBattTinf(battgroupId); |
| | | } |
| | | @ApiOperation(value = "历史测试记录具体某一次放电数据详情") |
| | | @GetMapping("getTinfDataWithTestRecordCount") |
| | | public Response getTinfDataWithTestRecordCount(@RequestParam Integer battgroupId,@RequestParam Integer testRecordCount |
| | | ,@RequestParam Integer recordNum,@RequestParam Integer granularity){ |
| | | return tdataIdService.getTinfDataWithTestRecordCount(battgroupId,testRecordCount,recordNum,granularity); |
| | | } |
| | | } |