yang_shj
2 years ago
16 changed files with 732 additions and 261 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.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; |
||||
} |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue