From 80f2ca2df62ff1cd03046864af504245be078eb2 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 05 六月 2025 10:37:28 +0800
Subject: [PATCH] 2025年06月05日10:37:26

---
 app/src/main/java/com/hdl/photovoltaic/ui/bean/CloudInverterDeviceBean.java |   30 ++++++++++++++++++++++++++----
 1 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/app/src/main/java/com/hdl/photovoltaic/ui/bean/CloudInverterDeviceBean.java b/app/src/main/java/com/hdl/photovoltaic/ui/bean/CloudInverterDeviceBean.java
index c584bba..9fb4a5a 100644
--- a/app/src/main/java/com/hdl/photovoltaic/ui/bean/CloudInverterDeviceBean.java
+++ b/app/src/main/java/com/hdl/photovoltaic/ui/bean/CloudInverterDeviceBean.java
@@ -49,6 +49,27 @@
     private HouseInfoBean.Location location;//鐢电珯鍦板潃
     private String localSecret;//鎵�灞炵數绔欑殑鏈湴瀵嗛挜
 
+    public String getWorkStatusDesc() {
+        return workStatusDesc==null?"":this.workStatusDesc;
+    }
+
+    public void setWorkStatusDesc(String workStatusDesc) {
+        this.workStatusDesc = workStatusDesc;
+    }
+
+    private String workStatusDesc;//宸ヤ綔鐘舵�侊紙璐熻浇涓績璁惧锛�
+
+    private boolean ogMaster;//绂荤綉閫嗗彉鍣ㄦ墠杩斿洖
+
+
+    public boolean isOgMaster() {
+        return ogMaster;
+    }
+
+    public void setOgMaster(boolean ogMaster) {
+        this.ogMaster = ogMaster;
+    }
+
 
     public String getSystemStatusDesc() {
         return systemStatusDesc == null ? "" : systemStatusDesc;
@@ -117,7 +138,8 @@
     }
 
     public String getSid() {
-        return sid == null ? "" : sid;
+
+        return TextUtils.isEmpty(sid) ? "" : sid;
     }
 
     public void setSid(String sid) {
@@ -267,12 +289,12 @@
      */
     public String getHomeAddress() {
         if (this.location == null) {
-            return this.address;
+            return this.getAddress();
         }
-        return this.location.getNationName() + this.location.getProvinceName() + this.location.getCityName() + this.address;
+        return this.location.getNationName() + " " + this.location.getProvinceName() + " " + this.location.getCityName() + " " + this.getAddress();
     }
 
     public String getHomeNameAndDeviceName() {
-        return homeName + "_" + this.getName();
+        return this.getHomeName() + "_" + this.getName();
     }
 }

--
Gitblit v1.8.0