提交一次接线图实时调试
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csharmonic.pojo.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* Description:
|
||||
* Date: 2025/09/18 下午 2:00【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class RealTimeDataDTO {
|
||||
private Integer code;
|
||||
private String message;
|
||||
private Integer type =1;
|
||||
// private List<RealTimeDataVo> realTimeDataVoList;
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.njcn.csharmonic.pojo.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2023/6/14 20:07
|
||||
*/
|
||||
@Data
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ZuTaiNewDTO {
|
||||
|
||||
private List<DiagramElement> json;
|
||||
|
||||
@Data
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public static class DiagramElement{
|
||||
|
||||
private String id;
|
||||
private String title;
|
||||
private String keyId;
|
||||
private String type;
|
||||
private boolean resize;
|
||||
private boolean rotate;
|
||||
private boolean lock;
|
||||
private boolean active;
|
||||
private boolean hide;
|
||||
private String tag;
|
||||
private boolean use_proportional_scaling;
|
||||
private String lineId;
|
||||
private List<String> lineList;
|
||||
private String lineName;
|
||||
@JsonProperty("UID")
|
||||
private List<List<String>> uid;
|
||||
@JsonProperty("UIDNames")
|
||||
|
||||
private List<String> uidNames;
|
||||
private List<String> unit;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -42,6 +42,9 @@ public class CsRtDataVO {
|
||||
@ApiModelProperty("指标显示名称")
|
||||
private String statisticalName;
|
||||
|
||||
@ApiModelProperty("指标单位")
|
||||
private String unit;
|
||||
|
||||
@ApiModelProperty("指标名称")
|
||||
private String target;
|
||||
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.njcn.csharmonic.pojo.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 组态下事件描述实体
|
||||
*/
|
||||
@Data
|
||||
public class CsWarnDescVO implements Serializable {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private String id;
|
||||
|
||||
|
||||
/**
|
||||
* 名称,比如监测点名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
|
||||
/**
|
||||
* 发生时间
|
||||
*/
|
||||
private String timeId;
|
||||
|
||||
|
||||
/**
|
||||
* 事件描述eventDesc
|
||||
*/
|
||||
private String eventDesc;
|
||||
|
||||
|
||||
/**
|
||||
* 持续时间
|
||||
*/
|
||||
private Double persistTime;
|
||||
|
||||
/**
|
||||
* 暂降幅值
|
||||
*/
|
||||
private Double amplitude;
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user