wjc
2 天以前 db937c029a3f9dbaec86cbbc944ebbee3ece13be
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:正常(运行),2:离线,3:连接中,4:故障)
    private int powerStationStatus;//电站状态(1:正常(运行),2:离线,3:连接中,4:故障,5:离线有故障,6:部分离线)
    private String localSecret;//本地通讯秘钥
    private boolean isMove = false;//表示是否显示移动组件(true显示)
@@ -60,7 +63,29 @@
     * SECONDARY_DEBUGGIN = 授权调试
     */
    private String debugStatus;
    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 +255,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();
    }
}