| | |
| | | package com.hdl.photovoltaic.ui.bean; |
| | | |
| | | public class HouseInfoBean { |
| | | private String homeId;//电站id |
| | | private Location location;//电站地址 |
| | | private String address;//详细地址 |
| | | /** |
| | | * 电站详情实体类 |
| | | */ |
| | | public class HouseInfoBean extends HouseIdBean { |
| | | |
| | | private String latitude;//纬度 |
| | | private String longitude;//经度 |
| | | private String homeName;//电站名称 |
| | | private String timezone;//时区 |
| | | private int powerStationType;//电站类型(DOMESTIC_ROOF:家用屋顶,COMMERCIAL_ROOF:商业用屋顶,INDUSTRIAL_ROOF:工业用屋顶,SURFACE_POWER_STATION:地面电站) |
| | | private int workMode;//工作模式(self_use:自发自用,peak_load_shifting:削峰填谷,battery_priority:电池优先,auto:智能模式) |
| | | private String installedCapacity;//装机容量 |
| | | private String powerStationType;//电站类型(DOMESTIC_ROOF:家用屋顶,COMMERCIAL_ROOF:商业用屋顶,INDUSTRIAL_ROOF:工业用屋顶,SURFACE_POWER_STATION:地面电站) |
| | | private String workMode;//工作模式(self_use:自发自用,peak_load_shifting:削峰填谷,battery_priority:电池优先,auto:智能模式) |
| | | private long productionTime;//投产日志 |
| | | private String monetaryUnit;//货币单位 |
| | | private String electrovalence;//电价 |
| | | private String totalCost;//总成本 |
| | | |
| | | |
| | | private String zoneType;//区域 |
| | | |
| | | public String getHomeId() { |
| | | return homeId == null ? "" : homeId; |
| | | } |
| | | |
| | | public void setHomeId(String homeId) { |
| | | this.homeId = homeId; |
| | | } |
| | | |
| | | public Location getLocation() { |
| | | return location == null ? new Location() : location; |
| | | } |
| | | |
| | | public void setLocation(Location location) { |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getAddress() { |
| | | return address == null ? "" : address; |
| | | } |
| | | |
| | | public void setAddress(String address) { |
| | | this.address = address; |
| | | } |
| | | |
| | | public String getLatitude() { |
| | | return latitude == null ? "" : latitude; |
| | |
| | | this.longitude = longitude; |
| | | } |
| | | |
| | | public String getHomeName() { |
| | | return homeName == null ? "" : homeName; |
| | | } |
| | | |
| | | public void setHomeName(String homeName) { |
| | | this.homeName = homeName; |
| | | } |
| | | |
| | | public String getTimezone() { |
| | | return timezone == null ? "" : timezone; |
| | |
| | | this.timezone = timezone; |
| | | } |
| | | |
| | | public int getPowerStationType() { |
| | | return powerStationType; |
| | | public String getPowerStationType() { |
| | | return powerStationType == null ? "" : powerStationType; |
| | | } |
| | | |
| | | public void setPowerStationType(int powerStationType) { |
| | | public void setPowerStationType(String powerStationType) { |
| | | this.powerStationType = powerStationType; |
| | | } |
| | | |
| | | public int getWorkMode() { |
| | | return workMode; |
| | | public String getWorkMode() { |
| | | return workMode == null ? "" : workMode; |
| | | } |
| | | |
| | | public void setWorkMode(int workMode) { |
| | | public void setWorkMode(String workMode) { |
| | | this.workMode = workMode; |
| | | } |
| | | |
| | | public String getInstalledCapacity() { |
| | | return installedCapacity == null ? "" : installedCapacity; |
| | | } |
| | | |
| | | public void setInstalledCapacity(String installedCapacity) { |
| | | this.installedCapacity = installedCapacity; |
| | | } |
| | | |
| | | public long getProductionTime() { |
| | | return productionTime; |
| | |
| | | public void setZoneType(String zoneType) { |
| | | this.zoneType = zoneType; |
| | | } |
| | | |
| | | |
| | | public static class Location { |
| | | private String nationCode;//国家编码 |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | } |