提交 | 用户 | 时间
|
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 门禁假日计划配置 |
7412dd
|
11 |
* 对应枚举类型{@link com.iailab.netsdk.lib.enumeration.NET_EM_CFG_OPERATE_TYPE#NET_EM_CFG_ACCESSCTL_SPECIALDAYS_SCHEDULE} |
149dd0
|
12 |
* @date 2020/10/19 |
H |
13 |
*/ |
|
14 |
public class NET_CFG_ACCESSCTL_SPECIALDAYS_SCHEDULE_INFO extends NetSDKLib.SdkStructure { |
|
15 |
public int dwSize; |
|
16 |
/** |
|
17 |
* 假日计划名称 |
|
18 |
*/ |
|
19 |
public byte[] szSchduleName = new byte[64]; |
|
20 |
/** |
|
21 |
* 假日计划使能 |
|
22 |
*/ |
|
23 |
public boolean bSchdule; |
|
24 |
/** |
7412dd
|
25 |
* {@link com.iailab.netsdk.lib.enumeration.NET_EM_CFG_OPERATE_TYPE#NET_EM_CFG_ACCESSCTL_SPECIALDAY_GROUP} 配置的下标 |
149dd0
|
26 |
*/ |
H |
27 |
public int nGroupNo; |
|
28 |
/** |
|
29 |
* 一天的时间段个数 |
|
30 |
*/ |
|
31 |
public int nTimeSection; |
|
32 |
/** |
|
33 |
* 时间段 |
|
34 |
*/ |
|
35 |
public SDK_TSECT[] stuTimeSection = (SDK_TSECT[]) new SDK_TSECT().toArray(6); |
|
36 |
/** |
|
37 |
* 有效的门数量 |
|
38 |
*/ |
|
39 |
public int nDoorNum; |
|
40 |
/** |
|
41 |
* 生效的门通道号 |
|
42 |
*/ |
|
43 |
public int[] nDoors = new int[64]; |
|
44 |
|
|
45 |
public NET_CFG_ACCESSCTL_SPECIALDAYS_SCHEDULE_INFO() { |
|
46 |
this.dwSize = this.size(); |
|
47 |
} |
|
48 |
|
|
49 |
@Override |
|
50 |
public String toString() { |
|
51 |
return "NET_CFG_ACCESSCTL_SPECIALDAYS_SCHEDULE_INFO{" + |
|
52 |
"szSchduleName=" + new String(szSchduleName).trim() + |
|
53 |
", bSchdule=" + bSchdule + |
|
54 |
", nGroupNo=" + nGroupNo + |
|
55 |
", nTimeSection=" + nTimeSection + |
|
56 |
", stuTimeSection=" + Arrays.toString(stuTimeSection) + |
|
57 |
", nDoorNum=" + nDoorNum + |
|
58 |
", nDoors=" + Arrays.toString(nDoors) + |
|
59 |
'}'; |
|
60 |
} |
|
61 |
} |