设备监控代码提交(临时)
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
package com.njcn.csdevice.pojo.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author xuyang
|
||||
* @date 2023/6/19
|
||||
*/
|
||||
@Data
|
||||
public class DataGroupEventVO {
|
||||
|
||||
@ApiModelProperty("id")
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty("事件ID")
|
||||
private String eventId;
|
||||
|
||||
@ApiModelProperty("项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty("工程名称")
|
||||
private String gcName;
|
||||
|
||||
@ApiModelProperty("测试项名称")
|
||||
private String itemName;
|
||||
|
||||
@ApiModelProperty("持续时间")
|
||||
private Double persistTime;
|
||||
|
||||
@ApiModelProperty("发生时刻")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss.SSS")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS",timezone = "GMT+8")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
private String tag;
|
||||
@ApiModelProperty("事件描述")
|
||||
private String showName;
|
||||
|
||||
@ApiModelProperty("相别")
|
||||
private String phaseType;
|
||||
|
||||
@ApiModelProperty("暂降幅值")
|
||||
private Float amplitude;
|
||||
|
||||
}
|
||||
@@ -32,5 +32,8 @@ public class RecordAllDevTreeVo {
|
||||
@ApiModelProperty("线路名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("设备ID")
|
||||
private String pid;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user