From b63ff58e2c415bae2fb4741aebe710fa3576ff66 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期一, 23 三月 2026 13:11:47 +0800
Subject: [PATCH] 2026年03月23日13:11:38 备份代码
---
app/src/main/java/com/hdl/photovoltaic/ui/bean/HouseIdBean.java | 47 ++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 44 insertions(+), 3 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 c1a4193..c106797 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
@@ -11,6 +11,9 @@
*/
public class HouseIdBean implements Serializable {
private String homeId;//鐢电珯id
+ private String debugType = "NORMAL";//璋冭瘯绫诲瀷(NORMAL =甯歌璋冭瘯;SIMPLE =绠�鏄撹皟璇�)
+ private String communityId = "";//椤圭洰id
+ private String flowRecordContent = "";//娴佽浆璁板綍鍐呭
private String powerStationImage;//鐢电珯鍥剧墖
private String homeName;//鐢电珯鍚嶇О
private String installedCapacity;//缁勪覆瀹归噺(鍒涘缓鐢电珯鏃惰緭鍏ョ殑缁勪覆瀹归噺)
@@ -33,7 +36,7 @@
}
- private int powerStationStatus;//鐢电珯鐘舵��(鐢电珯鐘舵�� 1:姝e父(杩愯),2:绂荤嚎,3:杩炴帴涓�,4:鏁呴殰)
+ private int powerStationStatus;//鐢电珯鐘舵��(1:姝e父(杩愯),2:绂荤嚎,3:杩炴帴涓�,4:鏁呴殰,5:绂荤嚎鏈夋晠闅�,6:閮ㄥ垎绂荤嚎)
private String localSecret;//鏈湴閫氳绉橀挜
private boolean isMove = false;//琛ㄧず鏄惁鏄剧ず绉诲姩缁勪欢(true鏄剧ず)
@@ -60,6 +63,44 @@
* SECONDARY_DEBUGGIN = 鎺堟潈璋冭瘯
*/
private String debugStatus;
+ /**
+ * 鐢电珯绫诲瀷
+ * INV = 閫嗗彉鍣ㄧ數绔�
+ * BMS = BMS鐢电珯
+ */
+ private String powerStationType = "INV";
+
+ public String getPowerStationType() {
+ return powerStationType;
+ }
+
+ public void setPowerStationType(String powerStationType) {
+ this.powerStationType = powerStationType;
+ }
+
+ public String getDebugType() {
+ return debugType;
+ }
+
+ public void setDebugType(String debugType) {
+ this.debugType = debugType;
+ }
+
+ public String getCommunityId() {
+ return communityId;
+ }
+
+ public void setCommunityId(String communityId) {
+ this.communityId = communityId;
+ }
+
+ public String getFlowRecordContent() {
+ return flowRecordContent;
+ }
+
+ public void setFlowRecordContent(String flowRecordContent) {
+ this.flowRecordContent = flowRecordContent;
+ }
public String getDebugStatus() {
return debugStatus == null ? "" : debugStatus;
@@ -230,8 +271,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