| | |
| | | private PwrdevAlarmService pwrAlmService; |
| | | |
| | | @Autowired |
| | | private PowerInfService pinfService; |
| | | |
| | | @Autowired |
| | | private DeviceStateService deviceStateService; |
| | | |
| | | @Autowired |
| | |
| | | ,@RequestParam(required = false) String country,@RequestParam(required = false) String stationName) { |
| | | User uinf= ActionUtil.getUser(); |
| | | return stationInfService.getPowerByUid(uinf.getId(),provice,city,country,stationName); |
| | | } |
| | | @ApiOperation("获取站点下的电池组(下拉)") |
| | | @GetMapping("getBattByUid") |
| | | public Response getBattByUid(@RequestParam(required = false) String provice,@RequestParam(required = false) String city |
| | | ,@RequestParam(required = false) String country,@RequestParam(required = false) String stationName) { |
| | | User uinf= ActionUtil.getUser(); |
| | | return binfService.getBattByUid(uinf.getId(),provice,city,country,stationName); |
| | | } |
| | | |
| | | @ApiOperation("获取电压等级(下拉)") |
| | |
| | | return binfService.getCapperformance(); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取电源性能(下拉)") |
| | | @GetMapping("getPwrCapperformance") |
| | | public Response getPwrCapperformance(){ |
| | | return pinfService.getPwrCapperformance(); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取设备工作类型(下拉)") |
| | | @GetMapping("getDevState") |
| | | public Response getDevState(){ |