ParkConstant.java
4.64 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
package com.zteits.park.constant;
public class ParkConstant {
/**操作类型 0:新建,1:修改,2:删除*/
public static class OptFlag{
public static final String ADD = "0";
public static final String MODIFY = "1";
public static final String DELETE = "2";
}
/**1-使用中,2-演示停车场*/
public static class state{
//使用中
public static final Integer USED = 1;
//演示
public static final Integer DEMO = 2;
}
/**停车场经纬度表相关常量*/
public static class ParkingLotGeo{
public static class GeoType{
/**停车场坐标*/
public static final int TYPE_PARKINGLOT = 1;
/**停车场入口坐标*/
public static final int TYPE_PARKINGLOT_IN = 2;
}
}
public static class ParkingLotUseStatistic{
//统计类型:1:每20分钟;2:每1小时;3:每天
public static class StatisticType{
public static final int PER20MINUTE = 1;
public static final int PER1HOUR = 2;
public static final int PER1DAY = 3;
}
}
public static class ParkingRunningStatistic{
//时间周期类型:10:每10分钟; 20:每20分钟; 30:每30分钟; 40:每小时; 50:每天
public static class TimeCycle{
public static final int PER10MINUTE = 10;
public static final int PER20MINUTE = 20;
public static final int PER30MINUTE = 30;
public static final int PER1HOUR = 40;
public static final int PER1DAY = 50;
}
}
/**接口表相关常量*/
public static class InterfaceLog{
public static class Type{
/**进场*/
public static final int TYPE_IN_PARKING = 1;
/**出场*/
public static final int TYPE_OUT_PARKING = 2;
}
public static class Status{
/**成功*/
public static final Byte SUCCESS = 1;
/**失败*/
public static final Byte FAIL = 0;
}
public static class FromType{
/**艾润*/
public static final int IRAIN = 1;
/**青岛*/
public static final int QINGDAO = 2;
}
public static class SourceType{
/**道闸*/
public static final int GATEWAY = 1;
/**地磁*/
public static final int GEO = 2;
}
public static class isFixedCar{
/**固定车*/
public static final String FIXEDCAR = "1";
/**临时车*/
public static final String TMPCAR = "0";
/**判断异常*/
public static final String ISFIX_ERROR = "-1";
}
}
/**签到记录*/
public static class SignRecord{
/**签到在指定范围内*/
public static final int SIGN_SCOPE_YES = 1;
/**签到不在指定范围内*/
public static final int SIGN_SCOPE_NO = 2;
/**签到类型-登录*/
public static final String SIGN_IN_TYPE_LOGIN="0";
/**签到类型-签到*/
public static final String SIGN_IN_TYPE_SIGN="1";
/**状态-登录*/
public static final String STATIS_NO_SIGN = "-1";
/**状态-签到*/
public static final String STATIS_SIGN_IN = "0";
/**状态-签退*/
public static final String STATIS_SIGN_OUT = "1";
/**签退类型-云平台操作强制签退*/
public static final String SIGN_OUT_TYPE_0 = "0";
/**签退类型-收费员正常签退*/
public static final String SIGN_OUT_TYPE_1 = "1";
/**签退类型-重新登录强制签退*/
public static final String SIGN_OUT_TYPE_2 = "2";
/**签退类型-超时未上报心跳,系统强制签退*/
public static final String SIGN_OUT_TYPE_3 = "3";
}
/**PDA设备类型*/
public static class PdaType{
/**收费员设备*/
public static final String CHARGER_PDA_TYPE = "0";
/**巡检员设备*/
public static final String XUNJIANYUAN_PDA_TYPE = "1";
/**运维人员设备*/
public static final String REPAIR_PDA_TYPE = "2";
}
/**值班类型:值班类型 0 白班 1夜班 2全班*/
public static class OnDuty{
/**白班*/
public static final int ON_DUTY_0 = 0;
/**夜班*/
public static final int ON_DUTY_1 = 1;
/**全班*/
public static final int ON_DUTY_2 = 2;
}
/**获取区间管理类型:10-互斥(同一区间不允许多个收费员同时在线) 20-并行(同一区间允许多个收费员同时在线)*/
public static class AreaManageType{
/**10-互斥(同一区间不允许多个收费员同时在线)*/
public static final int AREA_MANAGE_TYPE_10 = 10;
/**20-并行(同一区间允许多个收费员同时在线)*/
public static final int AREA_MANAGE_TYPE_20 = 20;
}
/**PDA状态(1:启用 0:停用)*/
public static class PDAStatus{
/**启用*/
public static final String PDASTATUS_1 = "1";
/**停用*/
public static final String PDASTATUS_0 = "0";
}
/**设备接入方式:10-设备直连;20-NB地磁电信IOT连接*/
public static class JoinMethod{
/**10-设备直连*/
public static final int DEVICE_JOIN = 10;
/**20-NB-电信IOT*/
public static final int TELECOM_IOT = 20;
}
}