提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.enumeration; |
H |
2 |
|
|
3 |
/** |
|
4 |
* @author 47081 |
|
5 |
* @version 1.0 |
|
6 |
* @description 门禁单双向配置类型 |
|
7 |
* @date 2021/2/7 |
|
8 |
*/ |
|
9 |
public enum CFG_ACCESS_PROPERTY_TYPE { |
|
10 |
/** 未知 */ |
|
11 |
CFG_ACCESS_PROPERTY_UNKNOWN(0, "未知"), |
|
12 |
/** 双向门禁 */ |
|
13 |
CFG_ACCESS_PROPERTY_BIDIRECT(1, "双向门禁"), |
|
14 |
/** 单向门禁 */ |
|
15 |
CFG_ACCESS_PROPERTY_UNIDIRECT(2, "单向门禁"); |
|
16 |
/** 枚举值 */ |
|
17 |
private int type; |
|
18 |
/** 枚举对应的类型描述 */ |
|
19 |
private String desc; |
|
20 |
|
|
21 |
CFG_ACCESS_PROPERTY_TYPE(int type, String desc) { |
|
22 |
this.type = type; |
|
23 |
this.desc = desc; |
|
24 |
} |
|
25 |
|
|
26 |
} |