tyty
2 years ago
23 changed files with 1349 additions and 377 deletions
@ -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/04/03 16:57:22 |
||||
* @version 4.0.0 |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "光伏站点设备状态对象") |
||||
public class PhotovoltaicDeviceStateVo { |
||||
|
||||
@ApiModelProperty(value = "设备装态 : 0 - 离线 1 - 在线 2 - 故障") |
||||
private Integer state; |
||||
|
||||
@ApiModelProperty(value = "数量") |
||||
private Integer count; |
||||
} |
@ -0,0 +1,31 @@
|
||||
package com.hnac.hzims.operational.main.vo; |
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
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 org.springblade.core.tool.utils.DateUtil; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.time.LocalDateTime; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author ysj |
||||
* @date 2023/03/29 15:14:34 |
||||
* @version 4.0.0 |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "水利站点首页对象") |
||||
public class PhotovoltaicLoadGenerateVo { |
||||
|
||||
@ApiModelProperty(value = "周期") |
||||
private String period; |
||||
|
||||
@ApiModelProperty(value = "数据值") |
||||
private Float value; |
||||
|
||||
} |
@ -0,0 +1,31 @@
|
||||
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 |
||||
* @date 2023/04/04 09:28:34 |
||||
* @version 4.0.0 |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "发电量数据") |
||||
public class PhotovoltaicLoadVo { |
||||
|
||||
@ApiModelProperty(value = "机构ID") |
||||
private Long deptId; |
||||
|
||||
@ApiModelProperty(value = "站点编码") |
||||
private String code; |
||||
|
||||
@ApiModelProperty(value = "站点名称") |
||||
private String name; |
||||
|
||||
@ApiModelProperty(value = "实时功率") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double load; |
||||
} |
@ -0,0 +1,75 @@
|
||||
package com.hnac.hzims.operational.main.vo; |
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||
import com.hnac.hzims.hzimsweather.response.weather.Daily; |
||||
import com.hnac.hzims.hzimsweather.response.weather.Now; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springblade.core.tool.utils.DateUtil; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.time.LocalDateTime; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author ysj |
||||
* @date 2023/03/29 15:14:34 |
||||
* @version 4.0.0 |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "光伏站点首页对象") |
||||
public class PhotovoltaicStationAppVo { |
||||
|
||||
@ApiModelProperty(value = "机构Id") |
||||
private Long deptId; |
||||
|
||||
@ApiModelProperty(value = "机构名称") |
||||
private String deptName; |
||||
|
||||
@ApiModelProperty(value = "站点编码") |
||||
private String stationCode; |
||||
|
||||
@ApiModelProperty(value = "地址") |
||||
private String address; |
||||
|
||||
@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 generate; |
||||
|
||||
@ApiModelProperty(value = "天气") |
||||
private Now now; |
||||
|
||||
@ApiModelProperty(value = "站点收益") |
||||
private Double income; |
||||
|
||||
@ApiModelProperty(value = "co2减排: kg") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double co2; |
||||
|
||||
@ApiModelProperty(value = "节约标准煤减排: kt") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double tec; |
||||
|
||||
@ApiModelProperty(value = "减少森林砍伐:1kwh = 0.000553") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double deforest; |
||||
|
||||
@ApiModelProperty(value = "减少森林砍伐:1kwh = 0.000553") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private List<PhotovoltaicDeviceStateVo> deviceState; |
||||
} |
@ -0,0 +1,91 @@
|
||||
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.Now; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author ysj |
||||
* @date 2023/03/24 09:58:57 |
||||
* @version 4.0.0 |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "发电量数据") |
||||
public class PhotovoltaicSubordinateAppVo { |
||||
|
||||
@ApiModelProperty(value = "机构ID") |
||||
private Long deptId; |
||||
|
||||
@ApiModelProperty(value = "机构名称") |
||||
private String deptName; |
||||
|
||||
@ApiModelProperty(value = "天气") |
||||
private Now now; |
||||
|
||||
@ApiModelProperty(value = "地址") |
||||
private String address; |
||||
|
||||
@ApiModelProperty(value = "容量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double capacity; |
||||
|
||||
@ApiModelProperty(value = "今日发电量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double generateDay; |
||||
|
||||
@ApiModelProperty(value = "实时功率") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Double load; |
||||
|
||||
@ApiModelProperty(value = "站点实时功率列表") |
||||
private List<PhotovoltaicLoadVo> stationLoads; |
||||
|
||||
@ApiModelProperty(value = "日常任务数量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Integer maintenanceCount; |
||||
|
||||
@ApiModelProperty(value = "日常任务完成数量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Integer maintenanceFinishCount; |
||||
|
||||
@ApiModelProperty(value = "缺陷任务数量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Integer defectCount; |
||||
|
||||
@ApiModelProperty(value = "缺陷任务完成数量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Integer defectFinishCount; |
||||
|
||||
@ApiModelProperty(value = "检修任务数量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Integer overhaulCount; |
||||
|
||||
@ApiModelProperty(value = "检修任务完成数量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Integer overhaulFinishCount; |
||||
|
||||
@ApiModelProperty(value = "操作票任务数量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Integer operateCount; |
||||
|
||||
@ApiModelProperty(value = "操作票任务完成数量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Integer operateFinishCount; |
||||
|
||||
@ApiModelProperty(value = "操作票任务数量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Integer workCount; |
||||
|
||||
@ApiModelProperty(value = "操作票任务完成数量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Integer workFinishCount; |
||||
|
||||
@ApiModelProperty(value = "排序") |
||||
private Integer sort; |
||||
} |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue