在线监测模板调整、数据替换
This commit is contained in:
@@ -49,6 +49,9 @@ public class OnlineParam extends BaseParam implements Serializable {
|
||||
@ApiModelProperty(value = "数据类型")
|
||||
private Integer dataType;
|
||||
|
||||
@ApiModelProperty(value = "监测点类型 0:电网侧 1:非电网侧")
|
||||
private String lineType;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public static class ReportParam extends OnlineParam {
|
||||
@@ -72,4 +75,12 @@ public class OnlineParam extends BaseParam implements Serializable {
|
||||
private List<String> idList;
|
||||
}
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public static class DetailParam extends OnlineParam {
|
||||
|
||||
@ApiModelProperty(name = "lineId", value = "监测点id")
|
||||
private String lineId;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
package com.njcn.supervision.pojo.vo.device;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
@@ -76,4 +78,8 @@ public class OnlineVo implements Serializable {
|
||||
|
||||
@ApiModelProperty("当前流程(null:无流程 1:预警 2:告警)")
|
||||
private Integer step;
|
||||
|
||||
@ApiModelProperty("最新数据时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
||||
private LocalDateTime updateTime;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user