暂降事件
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
package com.njcn.csharmonic.param;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2023/9/4 15:15【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class CsEventUserQueryParam {
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
|
||||
/**
|
||||
* 事件id
|
||||
*/
|
||||
private String eventId;
|
||||
/**
|
||||
* 事件类型
|
||||
*/
|
||||
private List<String> target;
|
||||
|
||||
/**
|
||||
* 状态(0:未读取 1:已读取)
|
||||
*/
|
||||
private String status;
|
||||
|
||||
}
|
||||
@@ -52,13 +52,14 @@ public class CsEventPO {
|
||||
private String tag;
|
||||
|
||||
/**
|
||||
* 关联事件波形表id
|
||||
* 暂态事件波形文件路
|
||||
*/
|
||||
@TableField(value = "wave_path")
|
||||
private String wavePath;
|
||||
|
||||
/**
|
||||
* 关联事件波形表id
|
||||
* 事件类型(0:暂态事件1:稳态事件 2:设备事
|
||||
* 件)
|
||||
*/
|
||||
@TableField(value = "type")
|
||||
private Integer type;
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
package com.njcn.csharmonic.pojo.vo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.njcn.influx.pojo.dto.EventDataSetDTO;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Description:
|
||||
* Date: 2023/9/5 8:54【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Data
|
||||
public class EventDetailVO {
|
||||
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 监测点id
|
||||
*/
|
||||
private String lineId;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "工程id")
|
||||
private String engineeringid;
|
||||
|
||||
/**
|
||||
* 工程名称
|
||||
*/
|
||||
@ApiModelProperty(value = "工程名称")
|
||||
private String engineeringName;
|
||||
@ApiModelProperty(value = "项目id")
|
||||
private String projectId;
|
||||
|
||||
@ApiModelProperty(value = "项目名称")
|
||||
private String projectName;
|
||||
/**
|
||||
* 装置id
|
||||
*/
|
||||
private String deviceId;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "设备名称")
|
||||
private String equipmentName;
|
||||
|
||||
/**
|
||||
* 事件时间
|
||||
*/
|
||||
private LocalDateTime startTime;
|
||||
|
||||
/**
|
||||
* 事件类型
|
||||
*/
|
||||
private String tag;
|
||||
|
||||
/**
|
||||
* 暂态事件波形文件路
|
||||
*/
|
||||
private String wavePath;
|
||||
|
||||
/**
|
||||
* 事件类型(0:暂态事件1:稳态事件 2:设备事
|
||||
* 件)
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
private String userId;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 状态(0:未读取 1:已读取)
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
private List<EventDataSetDTO> dataSet;
|
||||
}
|
||||
Reference in New Issue
Block a user