package com.shining.cloud.pojo.information;

import java.io.Serializable;
import java.util.Date;

/**
 * @description: 暂降消息
 * @author: denghuajun
 * @time: 2019-10-17 13:59:51
 **/
public class EventMsgDetail implements Serializable {

    private int lineIndex;//监测点Id
    private String lineName;//监测点名称
    private String eventDetailIndex;//暂降事件id
    private Date timeID;//触发时间
    private Float persistTime;//持续时间
    private Long ms;//毫秒数
    private Float eventValue;//特征幅值
    private String lineInfo;//终端信息
    private String eventMsgIndex;//暂态消息
    private int state;//读取状态

    public int getLineIndex() {
        return lineIndex;
    }

    public void setLineIndex(int lineIndex) {
        this.lineIndex = lineIndex;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getEventDetailIndex() {
        return eventDetailIndex;
    }

    public void setEventDetailIndex(String eventDetailIndex) {
        this.eventDetailIndex = eventDetailIndex;
    }

    public long getTimeID() {
        return timeID.getTime()+ms;
    }

    public void setTimeID(Date timeID) {
        this.timeID = timeID;
    }

    public Float getPersistTime() {
        return persistTime;
    }

    public void setPersistTime(Float persistTime) {
        this.persistTime = persistTime;
    }

    public Long getMs() {
        return ms;
    }

    public void setMs(Long ms) {
        this.ms = ms;
    }

    public Float getEventValue() {
        return eventValue;
    }

    public void setEventValue(Float eventValue) {
        this.eventValue = eventValue;
    }

    public String getLineInfo() {
        return lineInfo;
    }

    public void setLineInfo(String lineInfo) {
        this.lineInfo = lineInfo;
    }

    public String getEventMsgIndex() {
        return eventMsgIndex;
    }

    public void setEventMsgIndex(String eventMsgIndex) {
        this.eventMsgIndex = eventMsgIndex;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}