From e440aef4e5d8e4963cbc8e93a7d503c3f46e7636 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期五, 28 三月 2025 17:30:12 +0800
Subject: [PATCH] 2025年03月28日17:30:08

---
 app/src/main/java/com/hdl/photovoltaic/ui/CPowerStationActivity.java |   24 ++++++++++--------------
 1 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/app/src/main/java/com/hdl/photovoltaic/ui/CPowerStationActivity.java b/app/src/main/java/com/hdl/photovoltaic/ui/CPowerStationActivity.java
index e1a886b..beeb554 100644
--- a/app/src/main/java/com/hdl/photovoltaic/ui/CPowerStationActivity.java
+++ b/app/src/main/java/com/hdl/photovoltaic/ui/CPowerStationActivity.java
@@ -452,20 +452,16 @@
                         }
 
 
-                    }
-                    else if (linkResponse.getTopic().endsWith("/app/thing/property/send")) {
-//                        //璁惧鐘舵�佸彉鏇磘opic锛�/user/${homeId}/app/thing/property/send
-//                        if (linkResponse.getData() == null) {
-//                            HdlLogLogic.print("璁惧鐘舵�佸彉鏇�--->鏁版嵁涓虹┖", false);
-//                            return;
-//                        }
-//                        try {
-//                            Gson gson = new Gson();
-//                            Type typeOfT = new TypeToken<List<OidBean>>() {
-//                            }.getType();
-//                            String json = gson.toJson(linkResponse.getData());
-//                        } catch (Exception ignored) {
-//                        }
+                    } else if (linkResponse.getTopic().endsWith("/app/thing/property/send")) {
+                        //璁惧鐘舵�佸彉鏇磘opic锛�/user/${homeId}/app/thing/property/send
+                        if (linkResponse.getData() == null) {
+                            HdlLogLogic.print("璁惧鐘舵�佸彉鏇�--->鏁版嵁涓虹┖", false);
+                            return;
+                        }
+                        HDLUniMP.UniCallBackBaseBean uniCallBackBaseBean = new HDLUniMP.UniCallBackBaseBean();
+                        uniCallBackBaseBean.setType(linkResponse.getTopic());
+                        uniCallBackBaseBean.setData(linkResponse.getData());
+                        HdlUniLogic.getInstance().sendUni(HDLUniMP.UNI_EVENT_NOTIFICATION_DEVICE_MODEL, uniCallBackBaseBean);
                     }
 
                 }

--
Gitblit v1.8.0