From 8a64c0856ead3b87a425ceb84c8ee3c70fd8cd54 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期四, 19 六月 2025 09:07:56 +0800 Subject: [PATCH] 电源性能下拉 --- src/main/java/com/whyc/controller/ConditionController.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/ConditionController.java b/src/main/java/com/whyc/controller/ConditionController.java index a2fb6a2..09fde63 100644 --- a/src/main/java/com/whyc/controller/ConditionController.java +++ b/src/main/java/com/whyc/controller/ConditionController.java @@ -38,6 +38,9 @@ private PwrdevAlarmService pwrAlmService; @Autowired + private PowerInfService pinfService; + + @Autowired private DeviceStateService deviceStateService; @Autowired @@ -187,6 +190,12 @@ return binfService.getCapperformance(); } + @ApiOperation(value = "鑾峰彇鐢垫簮鎬ц兘(涓嬫媺)") + @GetMapping("getPwrCapperformance") + public Response getPwrCapperformance(){ + return pinfService.getPwrCapperformance(); + } + @ApiOperation(value = "鑾峰彇璁惧宸ヤ綔绫诲瀷(涓嬫媺)") @GetMapping("getDevState") public Response getDevState(){ -- Gitblit v1.9.1