Constants.java
1.99 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
package cn.com.glsx.admin.common.constants;
/**
* @Desc:公共的常量类
* @Author huangxc
* @Date 2021/5/22
*/
public final class Constants {
/**
* 删除标识 -1:删除
*/
public static final Integer DELETE_FLAG = -1;
/**
* 广汽离线设备时间:一天 单位 s/秒 注:在sql中大多是秒,在java代码中大多是毫秒
*/
public static final long OFFLINE_TIME_GQ = 24 * 3600L;
/**
* 其他公司 设备离线时间:三天 单位 s/秒
*/
public static final long OFFLINE_TIME_OTHER = 3 * 24 * 3600L;
/**
* 有源在线时间点 6分钟 单位 毫秒/ms
*/
public static final long ONLINE_SOURCE_TIME = 6 * 60 * 1000L;
/**
* 字典表中车辆车型的type
*/
public static final String TRIALDRIVE_VEHICLE_MODEL = "trialdrive_vehicle_model";
/**
* 字典表中试驾车辆配置的type
*/
public static final String TRIALDRIVE_VEHICLE_CONFIG = "trialdrive_vehicle_config";
/**
* 同步渠道 timed_task:定时任务渠道
*/
public static final String SYNC_CHANNEL_TIMED_TASK = "edun_timed_task";
/**
* 厂商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;
/**
* 过滤(开)ON
*/
public static final int FILTER_GPS_BS_ON = 1;
/**
* 过滤(关)OFF
*/
public static final int FILTER_GPS_BS_OFF = 0;
/**
* xlsx 文件拓展名
*/
public static final String XLSX_FILE_EXTENSION = "xlsx";
/**
* 定位类型 GPS
*/
public static final String POI_TYPE_GPS = "GPS";
/**
* 定位类型 基站
*/
public static final String POI_TYPE_BS = "基站";
}