ConstantsDevice.java
1.23 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
53
54
55
56
57
package cn.com.glsx.admin.common.constants;
/**
* 设备相关的常量类
*/
public final class ConstantsDevice {
/**
* 设备绑定车辆状态:1绑定
*/
public static final int BIND_VEHICLE_STATUS = 1;
/**
* 设备绑定车辆状态:2解绑
*/
public static final int UN_BIND_VEHICLE_STATUS = 2;
/**
* 设备离线时间:三天 单位 s/秒
*/
public static final long OFFLINE_TIME = 3 * 24 * 3600L;
/**
* 定位类型:gps:1
*/
public static final int DEVICE_LOCATION_GPS = 1;
/**
* 定位类型:基站:2
*/
public static final int DEVICE_LOCATION_BS = 2;
/**
* 试驾设备类型 0:非试驾设备
*/
public static final int NOT_TRIAL_DEVICE_TYPE = 0;
/**
* 试驾设备类型 1:试驾设备
*/
public static final int TRIAL_DEVICE_TYPE = 1;
/**
* 历史试驾类型 0:曾经不是试驾设备
*/
public static final int HIS_NOT_TRIAL_DEVICE_TYPE = 0;
/**
* 历史试驾类型 1:曾经是试驾设备
*/
public static final int HIS_TRIAL_DEVICE_TYPE = 1;
/**
* 删除标记 0=正常 -1=删除
*/
public static final int NOT_DEL_FLAG = 0;
}