wjc
2026-03-23 b63ff58e2c415bae2fb4741aebe710fa3576ff66
app/src/main/java/com/hdl/photovoltaic/ui/bean/HouseInfoBean.java
@@ -1,12 +1,13 @@
package com.hdl.photovoltaic.ui.bean;
/**
 * 电站详情实体类
 */
public class HouseInfoBean extends HouseIdBean {
    private Location location;//电站地址
    private String address;//详细地址
    private String latitude;//纬度
    private String longitude;//经度
    private String timezone;//时区
    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;//货币单位
@@ -15,22 +16,6 @@
    private String zoneType;//区域
    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;
@@ -55,14 +40,6 @@
    public void setTimezone(String timezone) {
        this.timezone = timezone;
    }
    public String getPowerStationType() {
        return powerStationType == null ? "" : powerStationType;
    }
    public void setPowerStationType(String powerStationType) {
        this.powerStationType = powerStationType;
    }
    public String getWorkMode() {
@@ -113,6 +90,7 @@
    public void setZoneType(String zoneType) {
        this.zoneType = zoneType;
    }
    public static class Location {
        private String nationCode;//国家编码
@@ -171,4 +149,6 @@
        }
    }
}