yang_shj
1 year ago
10 changed files with 457 additions and 8 deletions
@ -0,0 +1,36 @@
|
||||
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 io.swagger.models.auth.In; |
||||
import lombok.Data; |
||||
|
||||
/** |
||||
* @author ysj |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "风电设备对象") |
||||
public class WindDeviceVo { |
||||
|
||||
@ApiModelProperty(value = "归属机构") |
||||
private Long deptId; |
||||
|
||||
@ApiModelProperty(value = "编码") |
||||
private String code; |
||||
|
||||
@ApiModelProperty(value = "名称") |
||||
private String name; |
||||
|
||||
@ApiModelProperty(value = "经度") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double lgtd; |
||||
|
||||
@ApiModelProperty(value = "纬度") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double lttd; |
||||
|
||||
@ApiModelProperty(value = "排序") |
||||
private Integer ord; |
||||
} |
@ -0,0 +1,33 @@
|
||||
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 io.swagger.models.auth.In; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author ysj |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "风电站点对象") |
||||
public class WindGenerationVo { |
||||
|
||||
@ApiModelProperty(value = "年份") |
||||
private Integer year; |
||||
|
||||
@ApiModelProperty(value = "月份") |
||||
private String mon; |
||||
|
||||
@ApiModelProperty(value = "计划发电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double plan; |
||||
|
||||
@ApiModelProperty(value = "发电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double generation; |
||||
} |
@ -0,0 +1,71 @@
|
||||
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; |
||||
|
||||
/** |
||||
* @author ysj |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "风电站点对象") |
||||
public class WindStationVo { |
||||
|
||||
@ApiModelProperty(value = "机构Id") |
||||
private Long departId; |
||||
|
||||
@ApiModelProperty(value = "机构名称") |
||||
private String departName; |
||||
|
||||
@ApiModelProperty(value = "城市行政区域编码") |
||||
private String areaCode; |
||||
|
||||
@ApiModelProperty(value = "运行天数") |
||||
private Long runDay; |
||||
|
||||
@ApiModelProperty(value = "装机容量") |
||||
private Double capacity; |
||||
|
||||
@ApiModelProperty(value = "年计划发电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double planYear; |
||||
|
||||
@ApiModelProperty(value = "月计划发电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double planMon; |
||||
|
||||
@ApiModelProperty(value = "已发电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double generation; |
||||
|
||||
@ApiModelProperty(value = "日上网电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double generationDay; |
||||
|
||||
@ApiModelProperty(value = "日平均风速") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double speed; |
||||
|
||||
@ApiModelProperty(value = "日峰值功率") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double peak; |
||||
|
||||
@ApiModelProperty(value = "日综合厂用电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double comprehensivePower; |
||||
|
||||
@ApiModelProperty(value = "日可用时长") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double available; |
||||
|
||||
@ApiModelProperty(value = "风电设备") |
||||
private List<WindDeviceVo> devices; |
||||
|
||||
@ApiModelProperty(value = "天气") |
||||
private List<Daily> weather; |
||||
} |
@ -0,0 +1,33 @@
|
||||
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; |
||||
|
||||
/** |
||||
* @author ysj |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "风电站点对象") |
||||
public class WindTargetCurveVo { |
||||
|
||||
@ApiModelProperty(value = "月份") |
||||
private String mon; |
||||
|
||||
@ApiModelProperty(value = "日期") |
||||
private Integer day; |
||||
|
||||
@ApiModelProperty(value = "日上网电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double generationDay; |
||||
|
||||
@ApiModelProperty(value = "日平均风速") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double speed; |
||||
|
||||
@ApiModelProperty(value = "日峰值功率") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double peak; |
||||
} |
Loading…
Reference in new issue