Jay
2024-11-01 03e8aca3ad6201c0d74e00d4c8d7367cdaaa54f9
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
45
46
47
48
49
50
51
52
53
package com.netsdk.lib.structure;
 
import com.netsdk.lib.NetSDKLib;
import com.sun.jna.Pointer;
 
/**
 * @author 251823
 * @description CLIENT_ControlDevice接口的 DH_CTRL_SET_BYPASS 命令参数
 * @date 2021/10/29
 */
public class NET_CTRL_SET_BYPASS extends NetSDKLib.SdkStructure{
    
    /**
     * 结构体大小
     */
    public int dwSize;
    
    /**
     * 登入设备的密码
     */
    public Pointer szDevPwd;
    
    /**
     * 通道状态,参考枚举 { @link com.netsdk.lib.NetSDKLib.NET_BYPASS_MODE}
     */
    public int emMode;
    
    /**
     * 本地报警输入通道个数
     */
    public int nLocalCount;
    
    /**
     * 本地报警输入通道号 ,int数组转化为指针,数组长度为本地报警输入通道个数nLocalCount
     */
    public Pointer pnLocal;
    
    
    /**
     * 扩展模块报警输入通道个数
     */
    public int nExtendedCount;
    
    /**
     * 扩展模块报警输入通道号 ,int数组转化为指针,数组长度为扩展模块报警输入通道个数nExtendedCount
     */
    public Pointer pnExtended;
    
    public NET_CTRL_SET_BYPASS(){
        this.dwSize = this.size();
    }
    
}