123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- package com.hfln.device.common.constant;
- /**
- * 告警事件常量类
- * 对应Python版本的事件编号系统
- */
- public class AlarmEventConstants {
-
- /**
- * 设备级别的一般滞留告警 (对应Python版本event=4)
- */
- public static final int EVENT_DEVICE_RETENTION = 4;
-
- /**
- * 告警计划级别的厕所滞留告警 (对应Python版本event=5)
- */
- public static final int EVENT_TOILET_RETENTION = 5;
-
- /**
- * 跌倒事件告警
- */
- public static final int EVENT_FALL = 1;
-
- /**
- * 离开事件告警
- */
- public static final int EVENT_LEAVE = 2;
-
- /**
- * 进入事件告警
- */
- public static final int EVENT_ENTER = 3;
-
- // 告警类型描述
-
- /**
- * 设备级别的一般滞留告警描述 (对应Python版本desc="alarm_retention")
- */
- public static final String DESC_DEVICE_RETENTION = "alarm_retention";
-
- /**
- * 告警计划级别的厕所滞留告警描述 (对应Python版本desc="alarm_toilet_retention")
- */
- public static final String DESC_TOILET_RETENTION = "alarm_toilet_retention";
-
- /**
- * 跌倒事件告警描述
- */
- public static final String DESC_FALL = "alarm_fall";
-
- /**
- * 离开事件告警描述
- */
- public static final String DESC_LEAVE = "alarm_leave";
-
- /**
- * 进入事件告警描述
- */
- public static final String DESC_ENTER = "alarm_enter";
-
- // 告警表名
-
- /**
- * 告警事件表名
- */
- public static final String TABLE_ALARM_EVENT = "alarm_event";
-
- /**
- * 停留时间表名
- */
- public static final String TABLE_STAY_TIME = "stay_time";
- }
|