package com.nms.server.bean;


import java.util.List;
import java.util.Map;

/**
 * 监测信息
 * @author Nan,Fang
 * 2016-2-29
 */
public class DetecAllInfo {

		
		/* 基本信息解析格式变量  */
		private String seqId = null;		//seqId
		private String setInfoId = null;	//监测设置ID
		private String checkType = null;	//监测类别
		private String process = null;		//进程名称（监测类别设置名称）
		private Long startTime = null;		//监测服务启动时间
		
		private Integer delayTime = null;	//检测时延（秒）
		private Long checkTime = null;		//本次检测时间
		private Integer currentTimes = null;	//尝试次数
		private Long nextCheckTime = null;		//下次计划监测时间
		private Long arriveTime;
		
		private Integer state = -1;				//执行状态是否成功是否正常
		private String showNums =  null;	//告警序列(数据)
		private Integer pLevel =  99;		//告警级别(数据)
		//private int pl = 99;				//告警级别（入库）
		private String pValue =  null;		//告 警 值(数据)
		private String dsinfo = null;		//状态信息（描述信息）
		private String pdata = null;		//性能数据
		private List<Map<String,String>> details;//详细参数
		private boolean delyFlag; //是否解析详细参数标志
		private int urgentLevel ; //紧急级别
		private String alarmInfo;//告警信息
		
		private boolean sendEmailFlag;//邮件发送标志
		private boolean stateChangeFlag;//状态变更标志
		private long statusChangTime = -1L;//状态变更时间
		
		private EmailInfo emailInfo;//邮件信息
		
		private List<String[]> diskInfoList; // net 特殊格式追加详细信息
		private List<String[]> netInfoList; // net 特殊格式追加详细信息
		
		private DetecAllInfo appendWarningInfo ;//延迟数据，追加告警信息
		
		private byte[] dsb;//存放字节数字格式的监测数据，用于解析异常时，存监测数据到硬盘的时候用
		
		/**
		 * 以下属性用于记录原监测数据
		 */

		private String valid;
		private String detectionInfoId;
		private String waitTime;
		/**
		 * 无参构造方法
		 */
		public DetecAllInfo(){
			
		}

		public String getSeqId() {
			return seqId;
		}

		public void setSeqId(String seqId) {
			this.seqId = seqId;
		}

		public String getSetInfoId() {
			return setInfoId;
		}

		public void setSetInfoId(String setInfoId) {
			this.setInfoId = setInfoId;
		}

		public String getCheckType() {
			return checkType;
		}

		public void setCheckType(String checkType) {
			this.checkType = checkType;
		}

		public String getProcess() {
			return process;
		}

		public void setProcess(String process) {
			this.process = process;
		}

		public Long getStartTime() {
			return startTime;
		}

		public void setStartTime(Long startTime) {
			this.startTime = startTime;
		}

		public Integer getDelayTime() {
			return delayTime;
		}

		public void setDelayTime(Integer delayTime) {
			this.delayTime = delayTime;
		}

		public Long getCheckTime() {
			return checkTime;
		}

		public void setCheckTime(Long checkTime) {
			this.checkTime = checkTime;
		}

		public Integer getCurrentTimes() {
			return currentTimes;
		}

		public void setCurrentTimes(Integer currentTimes) {
			this.currentTimes = currentTimes;
		}

		public Long getNextCheckTime() {
			return nextCheckTime;
		}

		public void setNextCheckTime(Long nextCheckTime) {
			this.nextCheckTime = nextCheckTime;
		}

		public String getShowNums() {
			return showNums;
		}

		public void setShowNums(String showNums) {
			this.showNums = showNums;
		}

		

		public String getpValue() {
			return pValue;
		}

		public void setpValue(String pValue) {
			this.pValue = pValue;
		}

		public String getDsinfo() {
			return dsinfo;
		}

		public void setDsinfo(String dsinfo) {
			this.dsinfo = dsinfo;
		}

		public String getPdata() {
			return pdata;
		}

		public void setPdata(String pdata) {
			this.pdata = pdata;
		}

		public List<Map<String, String>> getDetails() {
			return details;
		}

		public void setDetails(List<Map<String, String>> details) {
			this.details = details;
		}

		public Long getArriveTime() {
			return arriveTime;
		}

		public void setArriveTime(Long arriveTime) {
			this.arriveTime = arriveTime;
		}

		public boolean isDelyFlag() {
			return delyFlag;
		}

		public void setDelyFlag(boolean delyFlag) {
			this.delyFlag = delyFlag;
		}

		public int getUrgentLevel() {
			return urgentLevel;
		}

		public void setUrgentLevel(int urgentLevel) {
			this.urgentLevel = urgentLevel;
		}

		public String getAlarmInfo() {
			return alarmInfo;
		}

		public void setAlarmInfo(String alarmInfo) {
			this.alarmInfo = alarmInfo;
		}

		public boolean isStateChangeFlag() {
			return stateChangeFlag;
		}

		public void setStateChangeFlag(boolean stateChangeFlag) {
			this.stateChangeFlag = stateChangeFlag;
		}
		

		public boolean isSendEmailFlag() {
			return sendEmailFlag;
		}

		public void setSendEmailFlag(boolean sendEmailFlag) {
			this.sendEmailFlag = sendEmailFlag;
		}

		public void setState(Integer state) {
			this.state = state;
		}
		
		public Integer getState() {
			return state;
		}

		public Integer getpLevel() {
			return pLevel;
		}
		
		public void setpLevel(Integer pLevel) {
			this.pLevel = pLevel;
		}

		public EmailInfo getEmailInfo() {
			return emailInfo;
		}

		public void setEmailInfo(EmailInfo emailInfo) {
			this.emailInfo = emailInfo;
		}

		public long getStatusChangTime() {
			return statusChangTime;
		}

		public void setStatusChangTime(long statusChangTime) {
			this.statusChangTime = statusChangTime;
		}


		public List<String[]> getDiskInfoList() {
			return diskInfoList;
		}

		public void setDiskInfoList(List<String[]> diskInfoList) {
			this.diskInfoList = diskInfoList;
		}

		public List<String[]> getNetInfoList() {
			return netInfoList;
		}

		public void setNetInfoList(List<String[]> netInfoList) {
			this.netInfoList = netInfoList;
		}

		public DetecAllInfo getAppendWarningInfo() {
			return appendWarningInfo;
		}

		public void setAppendWarningInfo(DetecAllInfo appendWarningInfo) {
			this.appendWarningInfo = appendWarningInfo;
		}

		

		public String getValid() {
			return valid;
		}

		public void setValid(String valid) {
			this.valid = valid;
		}

		public String getDetectionInfoId() {
			return detectionInfoId;
		}

		public void setDetectionInfoId(String detectionInfoId) {
			this.detectionInfoId = detectionInfoId;
		}

		public String getWaitTime() {
			return waitTime;
		}

		public void setWaitTime(String waitTime) {
			this.waitTime = waitTime;
		}

		
		public byte[] getDsb()
		{
			return dsb;
		}

		
		public void setDsb(byte[] dsb)
		{
			this.dsb = dsb;
		}

		
		
		
}
