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 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显示)
|
|
|
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 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;
|
}
|
|
|
}
|