ConstantsDevice.java
1.1 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
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;
/**
* 设备在线状态 (0 行驶中)
*/
public static final int DEVICE_STATUS_DRIVING = 0;
/**
* 设备在线状态 (1 静止)
*/
public static final int DEVICE_STATUS_STATIC = 1;
/**
* 设备在线状态 (2 离线)
*/
public static final int DEVICE_STATUS_OFFLINE = 2;
/**
* 设备在线状态 (3 在线)
*/
public static final int DEVICE_STATUS_ONLINE = 3;
/**
* 定位类型:gps:1
*/
public static final int DEVICE_LOCATION_GPS = 1;
/**
* 定位类型:基站:2
*/
public static final int DEVICE_LOCATION_BS = 2;
/**
* 1有源
*/
public static final int SOURCE_HAS = 1;
/**
* 0无源
*/
public static final int SOURCE_NO = 0;
}