yang_shj
2 years ago
8 changed files with 434 additions and 1 deletions
@ -0,0 +1,29 @@
|
||||
package com.hnac.hzims.operational.main.vo; |
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
@Data |
||||
@ApiModel(value = "光伏设备排行对象") |
||||
public class PhotovoltaicDeviceChartsVo { |
||||
|
||||
@ApiModelProperty(value = "机构Id") |
||||
private Long deptId; |
||||
|
||||
@ApiModelProperty(value = "设备Code") |
||||
private String deviceCode; |
||||
|
||||
@ApiModelProperty(value = "设备名称") |
||||
private String deviceName; |
||||
|
||||
@ApiModelProperty(value = "实时功率: kW") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double load; |
||||
|
||||
@ApiModelProperty(value = "发电量: kWh") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double generate; |
||||
} |
@ -0,0 +1,59 @@
|
||||
package com.hnac.hzims.operational.main.vo; |
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
|
||||
/** |
||||
* @author ysj |
||||
* @date 2023/03/29 15:14:34 |
||||
* @version 4.0.0 |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "光伏设备数据对象") |
||||
public class PhotovoltaicDeviceVo { |
||||
|
||||
@ApiModelProperty(value = "机构Id") |
||||
private Long deptId; |
||||
|
||||
@ApiModelProperty(value = "设备Code") |
||||
private String deviceCode; |
||||
|
||||
@ApiModelProperty(value = "设备名称") |
||||
private String deviceName; |
||||
|
||||
@ApiModelProperty(value = "容量: kW") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double capacity; |
||||
|
||||
@ApiModelProperty(value = "实时功率: kW") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double load; |
||||
|
||||
@ApiModelProperty(value = "发电量: kWh") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double generate; |
||||
|
||||
@ApiModelProperty(value = "电流: A") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double current; |
||||
|
||||
@ApiModelProperty(value = "co2减排: kg") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double co2; |
||||
|
||||
@ApiModelProperty(value = "节约标准煤减排: kt") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double tec; |
||||
|
||||
@ApiModelProperty(value = "当日机组有功功率") |
||||
private List<PhotovoltaicPowerVo> activePowerVoList; |
||||
|
||||
@ApiModelProperty(value = "近30天用电量") |
||||
private List<GenerationPowerVo> generationPowerVoList; |
||||
} |
@ -0,0 +1,21 @@
|
||||
package com.hnac.hzims.operational.main.vo; |
||||
|
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
/** |
||||
* @author ysj |
||||
* @date 2023/03/29 15:26:07 |
||||
* @version 4.0.0 |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "月发电对象") |
||||
public class PhotovoltaicGenerateYearVo { |
||||
|
||||
@ApiModelProperty(value = "月份") |
||||
private String mon; |
||||
|
||||
@ApiModelProperty(value = "发电量") |
||||
private Float generate; |
||||
} |
@ -0,0 +1,72 @@
|
||||
package com.hnac.hzims.operational.main.vo; |
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||
import com.hnac.hzims.hzimsweather.response.weather.Daily; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* @author ysj |
||||
* @date 2023/03/29 15:14:34 |
||||
* @version 4.0.0 |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "水利站点首页对象") |
||||
public class PhotovoltaicStationVo { |
||||
|
||||
@ApiModelProperty(value = "机构Id") |
||||
private Long deptId; |
||||
|
||||
@ApiModelProperty(value = "机构名称") |
||||
private String deptName; |
||||
|
||||
@ApiModelProperty(value = "站点编码") |
||||
private String stationCode; |
||||
|
||||
@ApiModelProperty(value = "总装机容量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double capacity; |
||||
|
||||
@ApiModelProperty(value = "安全运行天数") |
||||
private Integer runDay; |
||||
|
||||
@ApiModelProperty(value = "总发电负荷") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double load; |
||||
|
||||
@ApiModelProperty(value = "日发电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double generateDay; |
||||
|
||||
@ApiModelProperty(value = "月发电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double generateMon; |
||||
|
||||
@ApiModelProperty(value = "年发电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double generateYear; |
||||
|
||||
@ApiModelProperty(value = "总发电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double generate; |
||||
|
||||
@ApiModelProperty(value = "站点实时温度") |
||||
private String temp; |
||||
|
||||
@ApiModelProperty(value = "七日内天气") |
||||
private List<Daily> weather; |
||||
|
||||
@ApiModelProperty(value = "发电排行") |
||||
private List<PhotovoltaicDeviceVo> devices; |
||||
|
||||
@ApiModelProperty(value = "年发电量完成百分比") |
||||
private List<PowerYearVo> generateSurvey; |
||||
|
||||
@ApiModelProperty(value = "设备信息") |
||||
private List<PhotovoltaicDeviceChartsVo> charts; |
||||
} |
Loading…
Reference in new issue