AlarmRuleConfigAndLevelVO.java 3.6 KB
package com.skua.modules.alarmtmp.vo;

import com.skua.core.aspect.annotation.Dict;
import com.skua.modules.alarmtmp.entity.AlarmRuleLevelConfig;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
public class AlarmRuleConfigAndLevelVO implements Serializable {

    /**
     * 报警规则ID
     */
    private String id;

    /**
     * 报警规则名称
     */
    private String alarmRuleName;

    /**
     * 指标类型(1:数据报警,2:故障报警)
     */
    private String alarmParamType;

    /**
     * 日均值报警起始时间
     */
    private Date alarmParamEverydayAvgTime;

    /**
     * 报警指标名称
     */
    private String alarmParamName;

    /**
     * 单位
     */
    private String alarmParamUnit;

    /**
     * 报警指标编码
     */
    private String alarmParamCode;

    /**
     * 指标有效上限
     */
    private String effectiveUpperLimit;

    /**
     * 指标有效下限
     */
    private String effectiveLowerLimit;

    /**
     * 厂对应报警指标编码
     */
    private String alarmProgramCode;

    /**
     * 报警频率(单位h)
     */
    private String alarmTimeInterval;

    /**
     * 报警数据超标率(单位%)
     */
    private String alarmDataOverStandardRate;

    /**
     * 报警是否启用(0:停止,1:启用)
     */
    private String alarmRuleStatus;

    private int delFlag;
    /**
     * 	采集时间
     */
    private String time;

    /**
     * 所属厂区
     */
    private String departId;
    private String departName;
    private String alarmRuleLevelName;

    /**
     * 批次id
     */
    private String batchId;

    private Double value;

    private AlarmRuleLevelConfig alarmRuleLevelConfig;
    //级别
    private List<AlarmRuleLevelConfig> alarmRuleLevelConfigList;

    //报警时间
    private String recordTime;
    //报警处置意见
	private java.lang.String alarmRecommend;
	//报警内容
    private String alarmMsg;

	@ApiModelProperty(value = "报警数据来源",notes = "用来区分普通报警/工艺仿真报警等")
    private String alarmDataSource;

    //报警类别相关属性
    @ApiModelProperty(value = "报警类别大类")
    @Dict(dictTable = "alarm_rule_config_public_tab",dicCode = "id",dicText = "tab_name")
    private String alarmRuleTopType;
    @ApiModelProperty(value = "报警类别二类")
    @Dict(dictTable = "alarm_rule_config_public_tab",dicCode = "id",dicText = "tab_name")
    private String alarmRuleSecondType;
    @ApiModelProperty(value = "报警类别")
    @Dict(dictTable = "alarm_rule_config_public_tab",dicCode = "id",dicText = "tab_name")
    private String alarmRuleType;
    @ApiModelProperty(value = "报警类别treepath")
    private String alarmRuleTypeTreepath;

    //报警方案规则相关属性
    @ApiModelProperty(value = "报警方案名称")
    private String alarmCustomRuleId;
    @ApiModelProperty(value = "报警方案分组大类")
    private String alarmCustomRuleTopType;
    @ApiModelProperty(value = "报警方案分组二类")
    private String alarmCustomRuleSecondType;
    @ApiModelProperty(value = "报警方案分组类别")
    private String alarmCustomRuleType;
    @ApiModelProperty(value = "报警方案分组类别treepath")
    private String alarmCustomRuleTypeTreepath;
    @ApiModelProperty(value = "报警指标报警时刻数据集合")
    private String alarmCustomIndexJsonData;

    @ApiModelProperty(value = "视频地址")
    private String imgPath;
    @ApiModelProperty(value = "设备id")
    private String equipmentId;
}