Jay
2024-11-08 02722a3f9eca857ce7fffea352e9f7ee692a1b71
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
package com.iailab.netsdk.lib.structure;
 
import com.iailab.netsdk.lib.NetSDKLib;
 
import java.util.Arrays;
 
/**
 * @author 47081
 * @version 1.0
 * @description 门禁假日组配置,对应枚举 {@link
 *     com.iailab.netsdk.lib.enumeration.NET_EM_CFG_OPERATE_TYPE#NET_EM_CFG_ACCESSCTL_SPECIALDAY_GROUP}
 * @date 2020/10/19
 */
public class NET_CFG_ACCESSCTL_SPECIALDAY_GROUP_INFO extends NetSDKLib.SdkStructure {
 
  public int dwSize;
  /** 组使能 */
  public boolean bGroupEnable;
  /** 组名称 */
  public byte[] szGroupName = new byte[32];
  /** 有效的节假日数量 */
  public int nSpeciaday;
  /** 假日信息 */
  public NET_ACCESSCTL_SPECIALDAY_INFO[] stuSpeciaday =
      (NET_ACCESSCTL_SPECIALDAY_INFO[]) new NET_ACCESSCTL_SPECIALDAY_INFO().toArray(16);
 
  public NET_CFG_ACCESSCTL_SPECIALDAY_GROUP_INFO() {
    this.dwSize = this.size();
  }
 
  @Override
  public String toString() {
    return "假日组,NET_CFG_ACCESSCTL_SPECIALDAY_GROUP_INFO{"
        + "bGroupEnable="
        + bGroupEnable
        + ", szGroupName="
        + new String(szGroupName).trim()
        + ", nSpeciaday="
        + nSpeciaday
        + ", stuSpeciaday="
        + Arrays.toString(stuSpeciaday)
        + '}';
  }
}