Constants.java
1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package cn.com.glsx.app.common.constants;
/**
* @Desc:公共的常量类
* @Author huangxc
* @Date 2021/5/22
*/
public final class Constants {
/**
* 删除标识 0:正常
*/
public static final Integer NORMAL_FLAG = 0;
/**
* 删除标识 -1:删除
*/
public static final Integer DELETE_FLAG = -1;
/**
* 其他公司 设备离线时间:三天 单位 s/秒
*/
public static final long OFFLINE_TIME_OTHER = 3 * 24 * 3600L;
/**
* 厂商ID-博实结
*/
public static final String BSJ_FACTORY_ID = "BSJ";
/**
* 设备调频模式 0 追车模式;1 闹钟模式;2 星期模式;3 初始化模式
*/
public static final int ADJ_FREQ_CATCHING = 0;
public static final int ADJ_FREQ_TIMER = 1;
public static final int ADJ_FREQ_WEEK = 2;
public static final int ADJ_FREQ_INITIAL = 3;
/**
* 1断电报警
*/
public final static Integer ALARM_TYPE_POWER_OFF = 1;
/**
* 99:光感报警
*/
public final static Integer ALARM_TYPE_LIGHT = 99;
/**
* 低电量
*/
public static final int LOW_POWER_THRESHOLD = 10;
}