提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.enumeration; |
H |
2 |
|
|
3 |
/** |
|
4 |
* @author 47081 |
|
5 |
* @version 1.0 |
|
6 |
* @description 闸机防冲撞模式 |
|
7 |
* @date 2021/2/7 |
|
8 |
*/ |
|
9 |
public enum EM_COLLISION_MODE { |
|
10 |
/** 未知 */ |
|
11 |
EM_COLLISION_MODE_UNKNOWN(-1, "未知"), |
|
12 |
/** 2s松开离合 */ |
|
13 |
EM_COLLISION_MODE_2S(0, "2s松开离合"), |
|
14 |
/** 5s松开离合 */ |
|
15 |
EM_COLLISION_MODE_5S(1, "5s松开离合"), |
|
16 |
/** 人员离开松开离合 */ |
|
17 |
EM_COLLISION_MODE_LEAVING(2, "人员离开松开离合"); |
|
18 |
private int mode; |
|
19 |
private String desc; |
|
20 |
|
|
21 |
EM_COLLISION_MODE(int mode, String desc) { |
|
22 |
this.mode = mode; |
|
23 |
this.desc = desc; |
|
24 |
} |
|
25 |
|
|
26 |
public int getMode() { |
|
27 |
return mode; |
|
28 |
} |
|
29 |
|
|
30 |
public void setMode(int mode) { |
|
31 |
this.mode = mode; |
|
32 |
} |
|
33 |
|
|
34 |
public String getDesc() { |
|
35 |
return desc; |
|
36 |
} |
|
37 |
|
|
38 |
public void setDesc(String desc) { |
|
39 |
this.desc = desc; |
|
40 |
} |
|
41 |
} |