AlarmRuleConfigVO.java 1.7 KB
package com.skua.modules.alarm.vo;

import com.skua.core.aspect.annotation.Dict;
import com.skua.modules.alarm.entity.AlarmRuleLevelConfig;
import lombok.Data;

import java.util.List;

/**
 * @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:故障报警)*/
    @Dict(dicCode = "param_type")
    private String alarmParamType;

    /**报警类型(1:实时报警,2:日均值报警)*/
    @Dict(dicCode = "alarm_type")
    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;


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

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

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

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


    private List<AlarmRuleLevelConfig> alarmRuleLevelConfig;
}