AlarmRuleConfigVO.java 1.9 KB
package com.skua.modules.alarmtmp.vo;

import java.util.List;

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

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

/**
 * @program: skboot
 * @description:
 * @author: xie chao
 * @create: 2020-11-19 13:28
 */
@Data
public class AlarmRuleConfigVO {

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

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

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

    /**报警类型(1:实时报警,2:日均值报警)*/
    @Dict(dictTable = "alarm_rule_config_public_tab",dicCode = "id",dicText = "tab_name")
    private String alarmRuleType;

    /**日均值报警起始时间*/
    private String 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 String batchId;


    /**删除标识(0:删除,1:有效)*/
    private int delFlag;

    /**所属厂区ID*/
    private String departId;

    /**分中心ID*/
    private String centerId;

    /**所属厂区名称*/
    private String departName;

    /**0仪表1设备*/
    private String type;
    

    private List<AlarmRuleLevelConfig> alarmRuleLevelConfig;
    
    @ApiModelProperty(value = "报警处理建议")
	private java.lang.String alarmRecommend;

}