package com.hdl.photovoltaic.ui.bean;
|
|
import java.io.Serializable;
|
import java.util.ArrayList;
|
import java.util.HashMap;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 云端逆变器实体类
|
*/
|
public class CloudInverterDeviceBean implements Serializable {
|
|
|
/**
|
* true-在线
|
* false-离线
|
*/
|
private boolean online;
|
private String gatewayId;//网关Id
|
private String deviceId;//设备id
|
private String name;//设备名称
|
private String spk;
|
private String spkName;//
|
private String sid;
|
private String oid;
|
private String omodel;//设备型号
|
private String osn;//设备sn(mac)
|
private String powerPvNow;//发电功率
|
private String totalElectricityPvToday;//今日发电量
|
private String systemStatusDesc;//状态
|
|
private String inv;//inv状态
|
private int deviceStatus;//1:待机,2:连接中,3:故障,4:运行,5:离线
|
private String addresses;//子网号/设备号
|
private List<DeviceAttributeBean> status;
|
|
private String hwVersion;//软件版本号
|
private String categorySecondName;//设备类型(产品二级分类名称)
|
|
|
public String getSystemStatusDesc() {
|
return systemStatusDesc == null ? "" : systemStatusDesc;
|
}
|
|
public void setSystemStatusDesc(String systemStatusDesc) {
|
this.systemStatusDesc = systemStatusDesc;
|
}
|
|
public String getHwVersion() {
|
return hwVersion == null ? "" : hwVersion;
|
}
|
|
public void setHwVersion(String hwVersion) {
|
this.hwVersion = hwVersion;
|
}
|
|
public String getCategorySecondName() {
|
return categorySecondName == null ? "" : categorySecondName;
|
}
|
|
public void setCategorySecondName(String categorySecondName) {
|
this.categorySecondName = categorySecondName;
|
}
|
|
|
public String getGatewayId() {
|
return gatewayId == null ? "" : gatewayId;
|
}
|
|
public void setGatewayId(String gatewayId) {
|
this.gatewayId = gatewayId;
|
}
|
|
|
public String getDeviceId() {
|
return deviceId == null ? "" : deviceId;
|
}
|
|
public void setDeviceId(String deviceId) {
|
this.deviceId = deviceId;
|
}
|
|
public String getName() {
|
return name == null ? "" : name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getSpk() {
|
return spk == null ? "" : spk;
|
}
|
|
public void setSpk(String spk) {
|
this.spk = spk;
|
}
|
|
public String getSpkName() {
|
return spkName == null ? "" : spkName;
|
}
|
|
public void setSpkName(String spkName) {
|
this.spkName = spkName;
|
}
|
|
public String getSid() {
|
return sid == null ? "" : sid;
|
}
|
|
public void setSid(String sid) {
|
this.sid = sid;
|
}
|
|
public String getOid() {
|
return oid == null ? "" : oid;
|
}
|
|
public void setOid(String oid) {
|
this.oid = oid;
|
}
|
|
public String getOmodel() {
|
return omodel == null ? "" : omodel;
|
}
|
|
public void setOmodel(String omodel) {
|
this.omodel = omodel;
|
}
|
|
public String getOsn() {
|
return osn == null ? "" : "SN:" + osn;
|
}
|
|
public void setOsn(String osn) {
|
this.osn = osn;
|
}
|
|
public String getPowerPvNow() {
|
return powerPvNow == null ? "" : powerPvNow;
|
}
|
|
public void setPowerPvNow(String powerPvNow) {
|
this.powerPvNow = powerPvNow;
|
}
|
|
public String getTotalElectricityPvToday() {
|
return totalElectricityPvToday == null ? "" : totalElectricityPvToday;
|
}
|
|
public void setTotalElectricityPvToday(String totalElectricityPvToday) {
|
this.totalElectricityPvToday = totalElectricityPvToday;
|
}
|
|
public String getInv() {
|
return inv == null ? "" : inv;
|
}
|
|
public void setInv(String inv) {
|
this.inv = inv;
|
}
|
|
public int getDeviceStatus() {
|
return deviceStatus;
|
}
|
|
public void setDeviceStatus(int deviceStatus) {
|
this.deviceStatus = deviceStatus;
|
}
|
|
public String getAddresses() {
|
return addresses == null ? "" : addresses;
|
}
|
|
public void setAddresses(String addresses) {
|
this.addresses = addresses;
|
}
|
|
public List<DeviceAttributeBean> getStatus() {
|
return status == null ? new ArrayList<>() : status;
|
}
|
|
public void setStatus(List<DeviceAttributeBean> status) {
|
this.status = status;
|
}
|
|
public boolean isOnline() {
|
return online;
|
}
|
|
public void setOnline(boolean online) {
|
this.online = online;
|
}
|
|
|
}
|