提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib.SdkStructure; |
|
4 |
import com.iailab.netsdk.lib.enumeration.EM_CUSTOM_DEV_PROTOCOL_TYPE; |
|
5 |
|
|
6 |
/** |
|
7 |
* CLIENT_AsyncAddCustomDevice 接口输入参数 |
|
8 |
* |
|
9 |
* @author 119178 |
|
10 |
*/ |
|
11 |
public class NET_IN_ASYNC_ADD_CUSTOM_DEVICE extends SdkStructure { |
|
12 |
|
|
13 |
public int dwSize; |
|
14 |
/** 端口号 */ |
|
15 |
public int nPort; |
|
16 |
/** 设备地址或者域名 */ |
|
17 |
public byte[] szAddress = new byte[128]; |
|
18 |
/** 用户名 */ |
|
19 |
public byte[] szUserName = new byte[128]; |
|
20 |
/** 密码 */ |
|
21 |
public byte[] szPassword = new byte[128]; |
|
22 |
/** 接入设备协议类型,对应枚举{@link EM_CUSTOM_DEV_PROTOCOL_TYPE} */ |
|
23 |
public int emProtocolType; |
|
24 |
/** 上述列表实际填写的有效通道数 */ |
|
25 |
public int nRemoteChannelNum; |
|
26 |
/** 远程通道号数组,如果是IPC就数组大小为1 */ |
|
27 |
public int[] nRemoteChannels = new int[512]; |
|
28 |
/** 是否设置逻辑起始通道,FALSE代表随机通道作为起始通道 */ |
|
29 |
public int bSetLogicChannelStart; |
|
30 |
/** 逻辑通道起始通道,设置bSetLogicChannelStart为TRUE时生效 */ |
|
31 |
public int nLogicChannelStart; |
|
32 |
/** 视频输入信息 */ |
|
33 |
public NET_CUSTOM_DEV_VIDEO_INPUTS stuVideoInput; |
|
34 |
|
|
35 |
public NET_IN_ASYNC_ADD_CUSTOM_DEVICE() { |
|
36 |
this.dwSize = this.size(); |
|
37 |
} |
|
38 |
} |