Jay
2024-11-01 03e8aca3ad6201c0d74e00d4c8d7367cdaaa54f9
提交 | 用户 | 时间
ce910c 1 package com.netsdk.lib.structure;
H 2
3 import com.netsdk.lib.NetSDKLib;
4 import com.sun.jna.Pointer;
5
6 /**
7  * @author 251823
8  * @description CLIENT_ControlDevice接口的 DH_CTRL_SET_BYPASS 命令参数
9  * @date 2021/10/29
10  */
11 public class NET_CTRL_SET_BYPASS extends NetSDKLib.SdkStructure{
12     
13     /**
14      * 结构体大小
15      */
16     public int dwSize;
17     
18     /**
19      * 登入设备的密码
20      */
21     public Pointer szDevPwd;
22     
23     /**
24      * 通道状态,参考枚举 { @link com.netsdk.lib.NetSDKLib.NET_BYPASS_MODE}
25      */
26     public int emMode;
27     
28     /**
29      * 本地报警输入通道个数
30      */
31     public int nLocalCount;
32     
33     /**
34      * 本地报警输入通道号 ,int数组转化为指针,数组长度为本地报警输入通道个数nLocalCount
35      */
36     public Pointer pnLocal;
37     
38     
39     /**
40      * 扩展模块报警输入通道个数
41      */
42     public int nExtendedCount;
43     
44     /**
45      * 扩展模块报警输入通道号 ,int数组转化为指针,数组长度为扩展模块报警输入通道个数nExtendedCount
46      */
47     public Pointer pnExtended;
48     
49     public NET_CTRL_SET_BYPASS(){
50         this.dwSize = this.size();
51     }
52     
53 }