From 971a24a9e58a21bc306897fd3ad63012a399f7db Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期五, 23 五月 2025 14:07:18 +0800 Subject: [PATCH] Merge branch '1.2.1' into 1.2.0_google --- app/src/main/java/com/hdl/photovoltaic/ui/bean/HouseIdBean.java | 37 +++++++++++++++++++++++++++++++++---- 1 files changed, 33 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/ui/bean/HouseIdBean.java b/app/src/main/java/com/hdl/photovoltaic/ui/bean/HouseIdBean.java index 4d05464..5a0d354 100644 --- a/app/src/main/java/com/hdl/photovoltaic/ui/bean/HouseIdBean.java +++ b/app/src/main/java/com/hdl/photovoltaic/ui/bean/HouseIdBean.java @@ -13,7 +13,7 @@ private String homeId;//鐢电珯id private String powerStationImage;//鐢电珯鍥剧墖 private String homeName;//鐢电珯鍚嶇О - private String installedCapacity;//瑁呮満瀹归噺 + private String installedCapacity;//缁勪覆瀹归噺(鍒涘缓鐢电珯鏃惰緭鍏ョ殑缁勪覆瀹归噺) private String power;//鍙戠數鍔熺巼 private String todayElectricity;//褰撴棩鍙戠數閲� private String monthElectricity;//褰撴湀鍙戠數閲� @@ -21,8 +21,19 @@ private String batteryCapacity;//鐢垫睜瀹归噺 + private String invPower;//閫嗗彉鍣ㄩ瀹氬姛鐜囷紙鍗曚釜閫嗗彉鍣ㄩ瀹氬姛鐜�*閫嗗彉鍣ㄦ暟閲忥級 - private int powerStationStatus;//鐢电珯鐘舵��(鐢电珯鐘舵�� 1:姝e父(杩愯),2:绂荤嚎,3:杩炴帴涓�,4:鏁呴殰) + + public String getInvPower() { + return invPower == null ? "" : invPower; + } + + public void setInvPower(String invPower) { + this.invPower = invPower; + } + + + private int powerStationStatus;//鐢电珯鐘舵��(1:姝e父(杩愯),2:绂荤嚎,3:杩炴帴涓�,4:鏁呴殰,5:绂荤嚎鏈夋晠闅�,6:閮ㄥ垎绂荤嚎) private String localSecret;//鏈湴閫氳绉橀挜 private boolean isMove = false;//琛ㄧず鏄惁鏄剧ず绉诲姩缁勪欢(true鏄剧ず) @@ -40,6 +51,24 @@ private String address;//璇︾粏鍦板潃 + + /** + * 璋冭瘯鐘舵�� + * Debugging = 璋冭瘯涓� + * WAIT_DELIVERED = 璋冭瘯瀹屾垚 + * Delivered = 宸蹭氦浠� + * SECONDARY_DEBUGGIN = 鎺堟潈璋冭瘯 + */ + private String debugStatus; + + public String getDebugStatus() { + return debugStatus == null ? "" : debugStatus; + } + + public void setDebugStatus(String debugStatus) { + this.debugStatus = debugStatus; + } + public String getBatteryCapacity() { return batteryCapacity == null ? "" : batteryCapacity; @@ -201,8 +230,8 @@ */ 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(); } } -- Gitblit v1.8.0