1.冀北:暂态暂降统计列表
2.冀北主网台账:部门电压信息展示 3.冀北:污染指数列表
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.njcn.device.pq.pojo.param;
|
||||
|
||||
import com.njcn.common.pojo.param.StatisticsBizBaseParam;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author wr
|
||||
* @description
|
||||
* @date 2023/5/15 9:53
|
||||
*/
|
||||
@Data
|
||||
public class CommunicateParam extends StatisticsBizBaseParam {
|
||||
|
||||
/**
|
||||
* 查询条数
|
||||
*/
|
||||
@ApiModelProperty("查询条数")
|
||||
private Integer limit;
|
||||
|
||||
}
|
||||
@@ -168,5 +168,14 @@ public class DeviceInfoParam implements Serializable {
|
||||
|
||||
}
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public static class CompareLimitParam extends BusinessParam{
|
||||
|
||||
@ApiModelProperty("查询条数")
|
||||
@NotNull(message = "查询条数查询条数不能为空")
|
||||
private Integer limit;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -20,9 +20,6 @@ public class Communicate {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 终端Id
|
||||
*/
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@@ -31,7 +28,11 @@ public class Communicate {
|
||||
|
||||
@Column(name = "line_id")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 终端Id
|
||||
*/
|
||||
@Column(name = "dev_id")
|
||||
private String devId;
|
||||
|
||||
/**
|
||||
* 事件类型(0:中断;1:正常;2:退出)
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
package com.njcn.device.pq.pojo.vo;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.njcn.common.utils.serializer.InstantDateSerializer;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.influxdb.annotation.Column;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -23,4 +28,30 @@ public class CommunicateVO implements Serializable {
|
||||
* 事件类型(0:中断;1:正常;2:退出)
|
||||
*/
|
||||
private List<Integer> type;
|
||||
|
||||
/**
|
||||
* 冀北分布式光伏概览通讯状态统计(专用)
|
||||
*/
|
||||
@Data
|
||||
public static class PVCommunicateVO{
|
||||
|
||||
@ApiModelProperty("监测id")
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty("终端id")
|
||||
private String devId;
|
||||
|
||||
@ApiModelProperty("类型")
|
||||
private Integer type;
|
||||
|
||||
@JsonSerialize(using = InstantDateSerializer.class)
|
||||
@ApiModelProperty("发生时间")
|
||||
private Instant time;
|
||||
|
||||
@ApiModelProperty("描述")
|
||||
private String remark;
|
||||
|
||||
@ApiModelProperty("终端ip(终端名称_ip)")
|
||||
private String devIp;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user