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 |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 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 34f0e01..beeb554 100644
--- a/app/src/main/java/com/hdl/photovoltaic/ui/CPowerStationActivity.java
+++ b/app/src/main/java/com/hdl/photovoltaic/ui/CPowerStationActivity.java
@@ -72,6 +72,7 @@
     @Override
     public void onBindView(Bundle savedInstanceState) {
         setStatusBarTranslucent();
+        getWindow().setNavigationBarColor(getColor(R.color.text_FF000000));
         //C绔惎鍔ˋpp鑷姩鎵撳紑灏忕▼搴忕數绔欒鎯呯晫闈�
         startAppAutomaticallyOpenUni();
         //娉ㄥ唽鐩戝惉
@@ -230,8 +231,10 @@
 //        }
         if (TextUtils.isEmpty(HDLLinkPMUser.getInstance().getAccessToken())) {
             //鍏跺疄鍒锋柊token澶辫触宸查�氱煡閫�鍑虹櫥褰曪紝鏁版嵁宸茬粡娓呯┖锛屽洜涓虹瓑2s uni鍔犺浇鎱㈠鑷磋姹傞摼鎺ョ殑鏃跺�欏嚭鐜皌oken涓虹┖
+            HdlLogLogic.print("杩斿洖鍘�");
             return;
         }
+        UserConfigManage.getInstance().setUniBottomSafeDistanceBackgroundColor(0);
         List<HouseIdBean> HouseIdList = HdlResidenceLogic.getInstance().getHouseIdList();
         if (HouseIdList.size() == 0) {
             if (TextUtils.isEmpty(UserConfigManage.getInstance().getHomeId())) {
@@ -449,7 +452,18 @@
                         }
 
 
+                    } 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