提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
import java.util.Arrays; |
|
6 |
|
|
7 |
/** |
|
8 |
* @author 47081 |
|
9 |
* @version 1.0 |
|
10 |
* @description 门禁假日组配置,对应枚举 {@link |
7412dd
|
11 |
* com.iailab.netsdk.lib.enumeration.NET_EM_CFG_OPERATE_TYPE#NET_EM_CFG_ACCESSCTL_SPECIALDAY_GROUP} |
149dd0
|
12 |
* @date 2020/10/19 |
H |
13 |
*/ |
|
14 |
public class NET_CFG_ACCESSCTL_SPECIALDAY_GROUP_INFO extends NetSDKLib.SdkStructure { |
|
15 |
|
|
16 |
public int dwSize; |
|
17 |
/** 组使能 */ |
|
18 |
public boolean bGroupEnable; |
|
19 |
/** 组名称 */ |
|
20 |
public byte[] szGroupName = new byte[32]; |
|
21 |
/** 有效的节假日数量 */ |
|
22 |
public int nSpeciaday; |
|
23 |
/** 假日信息 */ |
|
24 |
public NET_ACCESSCTL_SPECIALDAY_INFO[] stuSpeciaday = |
|
25 |
(NET_ACCESSCTL_SPECIALDAY_INFO[]) new NET_ACCESSCTL_SPECIALDAY_INFO().toArray(16); |
|
26 |
|
|
27 |
public NET_CFG_ACCESSCTL_SPECIALDAY_GROUP_INFO() { |
|
28 |
this.dwSize = this.size(); |
|
29 |
} |
|
30 |
|
|
31 |
@Override |
|
32 |
public String toString() { |
|
33 |
return "假日组,NET_CFG_ACCESSCTL_SPECIALDAY_GROUP_INFO{" |
|
34 |
+ "bGroupEnable=" |
|
35 |
+ bGroupEnable |
|
36 |
+ ", szGroupName=" |
|
37 |
+ new String(szGroupName).trim() |
|
38 |
+ ", nSpeciaday=" |
|
39 |
+ nSpeciaday |
|
40 |
+ ", stuSpeciaday=" |
|
41 |
+ Arrays.toString(stuSpeciaday) |
|
42 |
+ '}'; |
|
43 |
} |
|
44 |
} |