From 64f046ed41c2ae607dc065c82b6d454f64e90584 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期四, 19 六月 2025 21:52:33 +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