package com.ruoyi.common.core.constant;

/**
 * 系统报警常量
 *
 * @author ruoyi
 */
public class AlarmConstants {

    /** 报警来源 - 手动报警 */
    public static final String ALARM_SOURCE_MANUAL = "1";

    /** 报警来源 - 设备报警 */
    public static final String ALARM_SOURCE_DEVICE = "2";

    /** 报警状态 - 待确认 */
    public static final String ALARM_STATE_UNCONFIRMED = "1";

    /** 报警状态 - 已解除 */
    public static final String ALARM_STATE_RELEASED = "2";

    /** 报警状态 - 待处置 */
    public static final String ALARM_STATE_PENDING = "3";

    /** 报警状态 - 已处置 */
    public static final String ALARM_STATE_SOLVED = "4";

    /** 系统签名 */
    public static final String SYS_SIGN = "系统生成";

    /** 报警数据 发生报警 */
    public static final int AlARM_DATA_HAPPEN = 1;

    /** 报警数据 恢复正常 */
    public static final int AlARM_DATA_NORMAL = 2;

}
