package com.whyc.pojo;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import org.apache.ibatis.type.Alias;
|
|
@Alias("AlarmRule")
|
@TableName(schema = "`db_3.5mw_web`",value ="tb_alarm_rule" )
|
@ApiModel
|
public class AlarmRule {
|
|
@TableId
|
private Integer id;
|
/**
|
* 主要设备:
|
* 101-电源,102-主流配电板,103-受势电机,104测功电机
|
* 辅助设备:
|
* 201-进线屏,205-直流调速柜,206-振动测试系统,207-AFE变频驱动柜,
|
* 208-升压变压器,209-油站,210-水站,211-UPS
|
* 环境设备:
|
* 301-水质监测,302-漏水监测,303-绝缘监测
|
*/
|
@ApiModelProperty("主要设备:\n" +
|
" 101-电源,102-主流配电板,103-受势电机,104测功电机\n" +
|
"辅助设备:\n" +
|
" 201-进线屏,205-直流调速柜,206-振动测试系统,207-AFE变频驱动柜,\n" +
|
" 208-升压变压器,209-油站,210-水站,211-UPS\n" +
|
"环境设备:\n" +
|
" 301-水质监测,302-漏水监测,303-绝缘监测")
|
private Integer deviceFlag;
|
@ApiModelProperty("设备字段")
|
private String field;
|
@ApiModelProperty("告警名称")
|
private String name;
|
@ApiModelProperty("故障描述")
|
private String description;
|
@ApiModelProperty("阈值标识:under对应1,over对应2")
|
private Integer thresholdFlag;
|
@ApiModelProperty("告警阈值")
|
private Float thresholdValue;
|
@ApiModelProperty("阈值单位")
|
private String unit;
|
@ApiModelProperty("告警阈值时间")
|
private Integer thresholdDuration;
|
@ApiModelProperty("告警级别")
|
private Integer level;
|
@ApiModelProperty("启用状态")
|
private Integer status;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getField() {
|
return field;
|
}
|
|
public void setField(String field) {
|
this.field = field;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public Integer getDeviceFlag() {
|
return deviceFlag;
|
}
|
|
public void setDeviceFlag(Integer deviceFlag) {
|
this.deviceFlag = deviceFlag;
|
}
|
|
public Integer getThresholdFlag() {
|
return thresholdFlag;
|
}
|
|
public void setThresholdFlag(Integer thresholdFlag) {
|
this.thresholdFlag = thresholdFlag;
|
}
|
|
public Float getThresholdValue() {
|
return thresholdValue;
|
}
|
|
public void setThresholdValue(Float thresholdValue) {
|
this.thresholdValue = thresholdValue;
|
}
|
|
public String getUnit() {
|
return unit;
|
}
|
|
public void setUnit(String unit) {
|
this.unit = unit;
|
}
|
|
public Integer getThresholdDuration() {
|
return thresholdDuration;
|
}
|
|
public void setThresholdDuration(Integer thresholdDuration) {
|
this.thresholdDuration = thresholdDuration;
|
}
|
|
public Integer getLevel() {
|
return level;
|
}
|
|
public void setLevel(Integer level) {
|
this.level = level;
|
}
|
|
public Integer getStatus() {
|
return status;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
}
|
}
|