com.envision.eos.event.api.bo.GenerateEvent Maven / Gradle / Ivy
The newest version!
package com.envision.eos.event.api.bo;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
public class GenerateEvent implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 告警领域
*/
public String category;
/**
* 场站ID
*/
public String siteId;
/**
* 设备ID
*/
public String deviceId;
/**
* 告警点
*/
public String pointId;
/**
* 标签
*/
public String tag;
/**
* namespace
*/
public String ns;
/**
* 告警组
*/
public String warnGroup;
/**
* 告警类型
*/
public String warnType;
/**
* 告警子类型
*/
public String childWarnType;
/**
* 告警等级
*/
public String level;
/**
* 告警CODE
*/
public String code;
/**
* 告警CODE的中英文描述
*/
public Map codeDesc=new HashMap<>();
/**
* 告警值
*/
public String value;
/**
* 告警内容
*/
public String content;
/**
* Date Format: 2017-05-16 16:13:00
*/
public String occurTime;
/**
* Date Format: 2017-05-16 16:13:00
*/
public String occurTimeUtc;
public String endTime;
public String endTimeUtc;
public String opPerson;
public Integer isAlarming;
public Float floatPara1;
public Integer intPara1;
public String strPara1;
public String info;
public String getLevel() {
return level;
}
public void setLevel(String level) {
this.level = level;
}
public Map getCodeDesc() {
return codeDesc;
}
public void setCodeDesc(Map codeDesc) {
this.codeDesc = codeDesc;
}
public String getChildWarnType() {
return childWarnType;
}
public void setChildWarnType(String childWarnType) {
this.childWarnType = childWarnType;
}
public Integer getIsAlarming() {
return isAlarming;
}
public void setIsAlarming(Integer isAlarming) {
this.isAlarming = isAlarming;
}
public String getSiteId() {
return siteId;
}
public void setSiteId(String siteId) {
this.siteId = siteId;
}
public String getDeviceId() {
return deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getPointId() {
return pointId;
}
public void setPointId(String pointId) {
this.pointId = pointId;
}
public String getOccurTime() {
return occurTime;
}
public void setOccurTime(String occurTime) {
this.occurTime = occurTime;
}
public String getOccurTimeUtc() {
return occurTimeUtc;
}
public void setOccurTimeUtc(String occurTimeUtc) {
this.occurTimeUtc = occurTimeUtc;
}
public String getEndTime() {
return endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public String getEndTimeUtc() {
return endTimeUtc;
}
public void setEndTimeUtc(String endTimeUtc) {
this.endTimeUtc = endTimeUtc;
}
public String getOpPerson() {
return opPerson;
}
public void setOpPerson(String opPerson) {
this.opPerson = opPerson;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getWarnType() {
return warnType;
}
public void setWarnType(String warnType) {
this.warnType = warnType;
}
public String getWarnGroup() {
return warnGroup;
}
public void setWarnGroup(String warnGroup) {
this.warnGroup = warnGroup;
}
public Float getFloatPara1() {
return floatPara1;
}
public void setFloatPara1(Float floatPara1) {
this.floatPara1 = floatPara1;
}
public Integer getIntPara1() {
return intPara1;
}
public void setIntPara1(Integer intPara1) {
this.intPara1 = intPara1;
}
public String getStrPara1() {
return strPara1;
}
public void setStrPara1(String strPara1) {
this.strPara1 = strPara1;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}
public String getTag() {
return tag;
}
public void setTag(String tag) {
this.tag = tag;
}
public String getNs() {
return ns;
}
public void setNs(String ns) {
this.ns = ns;
}
public String getInfo() {
return info;
}
public void setInfo(String info) {
this.info = info;
}
@Override
public String toString() {
return "GenerateEvent [warnGroup=" + warnGroup + ", warnType=" + warnType + ", childWarnType=" + childWarnType
+ ", level=" + level + ", code=" + code + ", codeDesc=" + codeDesc + ", value=" + value + ", content="
+ content + ", siteId=" + siteId + ", deviceId=" + deviceId + ", pointId=" + pointId + ", category="
+ category + ", tag=" + tag + ", ns=" + ns + ", occurTime=" + occurTime + ", occurTimeUtc="
+ occurTimeUtc + ", endTime=" + endTime + ", endTimeUtc=" + endTimeUtc + ", opPerson=" + opPerson
+ ", isAlarming=" + isAlarming + ", floatPara1=" + floatPara1 + ", intPara1=" + intPara1 + ", strPara1="
+ strPara1 + ", info=" + info + "]";
}
}