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("监测点ID")
    private String lineId;

    @ApiModelProperty("监测点名称")
    private String lineName;

    @ApiModelProperty("装置ID")
    private String deviceId;

    @ApiModelProperty("设备网络码")
    private String nDid;

    @ApiModelProperty("装置名称")
    private String devName;

    @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 featureAmplitude;

    @ApiModelProperty("映射数据库暂降幅值")
    private Double amplitude;

    @ApiModelProperty("严重度")
    private Double severity;

    @ApiModelProperty("波形路径")
    private String wavePath;

    @ApiModelProperty("事件落点")
    private String landPoint;

    @ApiModelProperty("暂降原因")
    private String advanceReason;

    @ApiModelProperty("暂降类型")
    private String advanceType;

    @ApiModelProperty("暂降源与监测位置关系 0-未知、1-上游、2-下游")
    private String sagSource;

    @ApiModelProperty("监测点电压等级")
    private Double lineVoltage;

}
