| | |
| | | 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 { |
| | | |
| | | |
| | |
| | | */ |
| | | private boolean online; |
| | | private String gatewayId;//网关Id |
| | | private String gatewayName;//网关名称 |
| | | private String deviceId;//设备id |
| | | private String name;//设备名称 |
| | | private String spk; |
| | |
| | | |
| | | private String inv;//inv状态 |
| | | private int deviceStatus;//1:待机,2:连接中,3:故障,4:运行,5:离线 |
| | | private String addresses; |
| | | private Map<String, String> status; |
| | | private String addresses;//子网号/设备号 |
| | | private List<DeviceAttributeBean> status; |
| | | |
| | | private String hwVersion;//软件版本号 |
| | | private String categorySecondName;//设备类型(产品二级分类名称) |
| | | |
| | | |
| | | public String getSystemStatusDesc() { |
| | | return systemStatusDesc== null ? "" :systemStatusDesc; |
| | | return systemStatusDesc == null ? "" : systemStatusDesc; |
| | | } |
| | | |
| | | public void setSystemStatusDesc(String systemStatusDesc) { |
| | |
| | | } |
| | | |
| | | public String getHwVersion() { |
| | | return hwVersion== null ? "" :hwVersion; |
| | | return hwVersion == null ? "" : hwVersion; |
| | | } |
| | | |
| | | public void setHwVersion(String hwVersion) { |
| | |
| | | } |
| | | |
| | | public String getCategorySecondName() { |
| | | return categorySecondName== null ? "" :categorySecondName; |
| | | return categorySecondName == null ? "" : categorySecondName; |
| | | } |
| | | |
| | | public void setCategorySecondName(String categorySecondName) { |
| | |
| | | this.gatewayId = gatewayId; |
| | | } |
| | | |
| | | public String getGatewayName() { |
| | | return gatewayName == null ? "" : gatewayName; |
| | | } |
| | | |
| | | public void setGatewayName(String gatewayName) { |
| | | this.gatewayName = gatewayName; |
| | | } |
| | | |
| | | public String getDeviceId() { |
| | | return deviceId == null ? "" : deviceId; |
| | |
| | | this.addresses = addresses; |
| | | } |
| | | |
| | | public Map<String, String> getStatus() { |
| | | return status == null ? new HashMap<>() : status; |
| | | public List<DeviceAttributeBean> getStatus() { |
| | | return status == null ? new ArrayList<>() : status; |
| | | } |
| | | |
| | | public void setStatus(Map<String, String> status) { |
| | | public void setStatus(List<DeviceAttributeBean> status) { |
| | | this.status = status; |
| | | } |
| | | |
| | |
| | | public void setOnline(boolean online) { |
| | | this.online = online; |
| | | } |
| | | |
| | | |
| | | } |