hxb
2025-04-25 5a43cb75120f69a57d5238e855eef8e82b3e4544
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
package com.hdl.photovoltaic.ui.bean;
 
import android.text.TextUtils;
 
import com.hdl.photovoltaic.R;
 
import java.io.Serializable;
 
/**
 * 电站Id实体类
 */
public class HouseIdBean implements Serializable {
    private String homeId;//电站id
    private String powerStationImage;//电站图片
    private String homeName;//电站名称
    private String installedCapacity;//组串容量(创建电站时输入的组串容量)
    private String power;//发电功率
    private String todayElectricity;//当日发电量
    private String monthElectricity;//当月发电量
 
 
    private String batteryCapacity;//电池容量
 
    private String invPower;//逆变器额定功率(单个逆变器额定功率*逆变器数量)
 
 
    public String getInvPower() {
        return invPower == null ? "" : invPower;
    }
 
    public void setInvPower(String invPower) {
        this.invPower = invPower;
    }
 
 
    private int powerStationStatus;//电站状态(电站状态    1:正常(运行),2:离线,3:连接中,4:故障)
    private String localSecret;//本地通讯秘钥
 
    private boolean isMove = false;//表示是否显示移动组件(true显示)
 
    private boolean isDelIcon = false;//表示是否显示删除组件(true显示)
 
 
    private boolean state_select = false;//表示是否显示选中组件(true显示)
 
    private String deliverStatus;//(PAID:已交付 ;UNDELIVERED :未交付)
    private boolean isOtherShare;//是不是分享的电站
    private String accountType;//如果是分享的,分享的权限类型(VIEW : 仅查看,ADMIN : 查看加控制)
    private boolean debugPerm;//(是否开启授权安装商,未开启状态安装仅查看)
    private HouseInfoBean.Location location;//电站地址
 
 
    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;
    }
 
    public void setBatteryCapacity(String batteryCapacity) {
        this.batteryCapacity = batteryCapacity;
    }
 
    public String getDeliverStatus() {
        return deliverStatus == null ? "" : deliverStatus;
    }
 
    public void setDeliverStatus(String deliverStatus) {
        this.deliverStatus = deliverStatus;
    }
 
    public boolean isOtherShare() {
        return isOtherShare;
    }
 
    public void setOtherShare(boolean otherShare) {
        isOtherShare = otherShare;
    }
 
    public String getAccountType() {
        return accountType == null ? "" : accountType;
    }
 
    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }
 
    public boolean isDebugPerm() {
        return debugPerm;
    }
 
    public void setDebugPerm(boolean debugPerm) {
        this.debugPerm = debugPerm;
    }
 
    public boolean isState_select() {
        return state_select;
    }
 
    public void setState_select(boolean state_select) {
        this.state_select = state_select;
    }
 
    public boolean isDelIcon() {
        return isDelIcon;
    }
 
    public void setDelIcon(boolean delIcon) {
        isDelIcon = delIcon;
    }
 
 
    public boolean isMove() {
        return isMove;
    }
 
    public void setMove(boolean edit) {
        isMove = edit;
    }
 
    public String getHomeId() {
        return homeId == null ? "" : homeId;
    }
 
    public void setHomeId(String homeId) {
        this.homeId = homeId;
    }
 
    public String getPowerStationImage() {
        return powerStationImage == null ? "" : powerStationImage;
    }
 
    public void setPowerStationImage(String homeImage) {
        this.powerStationImage = homeImage;
    }
 
    public String getHomeName() {
        return homeName == null ? "" : homeName;
    }
 
    public void setHomeName(String homeName) {
        this.homeName = homeName;
    }
 
    public String getInstalledCapacity() {
        return TextUtils.isEmpty(installedCapacity) ? "0" : installedCapacity;
    }
 
    public void setInstalledCapacity(String installedCapacity) {
        this.installedCapacity = installedCapacity;
    }
 
    public String getPower() {
        return TextUtils.isEmpty(power) ? "0" : power;
    }
 
    public void setPower(String power) {
        this.power = power;
    }
 
    public String getTodayElectricity() {
        return todayElectricity == null ? "" : todayElectricity;
    }
 
    public void setTodayElectricity(String todayElectricity) {
        this.todayElectricity = todayElectricity;
    }
 
    public String getMonthElectricity() {
        return monthElectricity == null ? "" : monthElectricity;
    }
 
    public void setMonthElectricity(String monthElectricity) {
        this.monthElectricity = monthElectricity;
    }
 
    public int getPowerStationStatus() {
        return powerStationStatus;
    }
 
    public void setPowerStationStatus(int powerStationStatus) {
        this.powerStationStatus = powerStationStatus;
    }
 
    public String getLocalSecret() {
        return localSecret == null ? "" : localSecret;
    }
 
    public void setLocalSecret(String localSecret) {
        this.localSecret = localSecret;
    }
 
    public HouseInfoBean.Location getLocation() {
        return location == null ? new HouseInfoBean.Location() : location;
    }
 
    public void setLocation(HouseInfoBean.Location location) {
        this.location = location;
    }
 
    public String getAddress() {
        return address == null ? "" : address;
    }
 
    public void setAddress(String address) {
        this.address = address;
    }
 
    /**
     * 拼住宅地址
     *
     * @return 住宅地址
     */
    public String getHomeAddress() {
        if (this.location == null) {
            return this.getAddress();
        }
        return this.location.getNationName() +" "+ this.location.getProvinceName() +" "+ this.location.getCityName() +" "+ this.getAddress();
    }
}