Constants.java
3.61 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
package cn.com.glsx.admin.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/秒 注:在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 = "基站";
/**
* 今天
*/
public static final int TIMETYPE_TODAY = 1;
/**
* 昨天
*/
public static final int TIMETYPE_YESTERDAY = 2;
/**
* 本周
*/
public static final int TIMETYPE_THISWEEK = 3;
/**
* 上周
*/
public static final int TIMETYPE_LASTWEEK = 4;
/**
* 本月
*/
public static final int TIMETYPE_THISMONTH = 5;
/**
* 上月
*/
public static final int TIMETYPE_LASTMONTH = 6;
/**
* 时间段
*/
public static final int TIMETYPE_SCOPE = 7;
/**
* 时间范围 近12小时
*/
public static final int TIMETYPE_IN_12_HOURS = 8;
/**
* 时间范围 近24小时
*/
public static final int TIMETYPE_IN_24_HOURS = 9;
/**
* 近七天
*/
public static final int TIMETYPE_IN_7_DAYS = 10;
/**
* 近30天
*/
public static final int TIMETYPE_IN_30_DAYS = 11;
/**
* 时间段 带时间
*/
public static final int TIMETYPE_SCOPE_WITH_TIME = 12;
/**
* 包活干返回成功码
*/
public static final int BHG_RET_CODE_SUCCESS = 200;
/**
* 导出最大限制
*/
public static final int MAX_EXPORT_LIMIT = 10000;
public static final String EMPTY_CONTENT_EXCEL = "--";
//--------------- 调频响应状态----------------
/**
* 响应状态已响应
*/
public static final int STATUS_RESPONSE = 2;
/**
* 发送中
*/
public static final int STATUS_RESPONSE_SENDING = 1;
}