package com.hdl.photovoltaic.ui.bean;
|
|
import java.io.Serializable;
|
|
public class InverterDeviceBean implements Serializable {
|
|
//true-在线,false-离线
|
private boolean online;
|
//型号
|
private String device_model;
|
//网关备注
|
private String device_name;
|
//网关Mac
|
private String device_mac;
|
//网关Id
|
private String gatewayId;
|
//网关类型
|
private String gatewayType;
|
private String gateway_type;
|
//oid
|
private String oid;
|
//IP地址
|
private String ip_address;
|
//连接的网关类型 LAN WIFI
|
private String access_mode;
|
//是否主网关 true false
|
private String master;
|
//是否加密
|
private boolean isLocalEncrypt;
|
//是否本地网关
|
private boolean isLocalGateWay;
|
//住宅Id
|
private String homeId;
|
//使用mqtt的时候需要解密
|
private String aesKey;
|
private String deviceId;
|
//sid
|
private String sid;
|
//设备来源(自定义:0=表示网关;1=表示平台)
|
private String src;
|
|
public boolean isOnline() {
|
return online;
|
}
|
|
public void setOnline(boolean online) {
|
this.online = online;
|
}
|
|
public String getDevice_model() {
|
return device_model == null ? "" : device_model;
|
}
|
|
public void setDevice_model(String device_model) {
|
this.device_model = device_model;
|
}
|
|
public String getDevice_name() {
|
return device_name == null ? "" : device_name;
|
}
|
|
public void setDevice_name(String device_name) {
|
this.device_name = device_name;
|
}
|
|
public String getDevice_mac() {
|
return device_mac == null ? "" : device_mac;
|
}
|
|
public void setDevice_mac(String device_mac) {
|
this.device_mac = device_mac;
|
}
|
|
public String getGatewayId() {
|
return gatewayId == null ? "" : gatewayId;
|
}
|
|
public void setGatewayId(String gatewayId) {
|
this.gatewayId = gatewayId;
|
}
|
|
public String getGatewayType() {
|
return gatewayType == null ? "" : gatewayType;
|
}
|
|
public void setGatewayType(String gatewayType) {
|
this.gatewayType = gatewayType;
|
}
|
|
public String getGateway_type() {
|
return gateway_type == null ? "" : gateway_type;
|
}
|
|
public void setGateway_type(String gateway_type) {
|
this.gateway_type = gateway_type;
|
}
|
|
public String getOid() {
|
return oid == null ? "" : oid;
|
}
|
|
public void setOid(String oid) {
|
this.oid = oid;
|
}
|
|
public String getIp_address() {
|
return ip_address == null ? "" : ip_address;
|
}
|
|
public void setIp_address(String ip_address) {
|
this.ip_address = ip_address;
|
}
|
|
public String getAccess_mode() {
|
return access_mode == null ? "" : access_mode;
|
}
|
|
public void setAccess_mode(String access_mode) {
|
this.access_mode = access_mode;
|
}
|
|
public String getMaster() {
|
return master == null ? "" : master;
|
}
|
|
public void setMaster(String master) {
|
this.master = master;
|
}
|
|
public boolean isLocalEncrypt() {
|
return isLocalEncrypt;
|
}
|
|
public void setLocalEncrypt(boolean localEncrypt) {
|
isLocalEncrypt = localEncrypt;
|
}
|
|
public boolean isLocalGateWay() {
|
return isLocalGateWay;
|
}
|
|
public void setLocalGateWay(boolean localGateWay) {
|
isLocalGateWay = localGateWay;
|
}
|
|
public String getHomeId() {
|
return homeId == null ? "" : homeId;
|
}
|
|
public void setHomeId(String homeId) {
|
this.homeId = homeId;
|
}
|
|
public String getAesKey() {
|
return aesKey == null ? "" : aesKey;
|
}
|
|
public void setAesKey(String aesKey) {
|
this.aesKey = aesKey;
|
}
|
|
public String getDeviceId() {
|
return deviceId == null ? "" : deviceId;
|
}
|
|
public void setDeviceId(String deviceId) {
|
this.deviceId = deviceId;
|
}
|
|
public String getSid() {
|
return sid == null ? "" : sid;
|
}
|
|
public void setSid(String sid) {
|
this.sid = sid;
|
}
|
|
public String getSrc() {
|
return src == null ? "" : src;
|
}
|
|
public void setSrc(String src) {
|
this.src = src;
|
}
|
}
|