提交 | 用户 | 时间
|
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_VSP_GAVI_PLATFORM_CODE; |
|
5 |
import com.sun.jna.Pointer; |
|
6 |
/** |
|
7 |
* @author 119178 |
|
8 |
* @description 注册平台信息 |
|
9 |
* @date 2021/4/19 |
|
10 |
*/ |
|
11 |
public class NET_VSP_GAVI_INFO extends SdkStructure{ |
|
12 |
/** |
|
13 |
* 注册平台IP地址或网络名。IP为空时,不做接入 |
|
14 |
*/ |
|
15 |
public byte[] szAddress = new byte[128]; |
|
16 |
/** |
|
17 |
* 设备登陆帐号 |
|
18 |
*/ |
|
19 |
public byte[] szUserId = new byte[64]; |
|
20 |
/** |
|
21 |
* 登陆密码 |
|
22 |
*/ |
|
23 |
public byte[] szPassword = new byte[64]; |
|
24 |
/** |
|
25 |
* 注册平台端口号 |
|
26 |
*/ |
|
27 |
public int nPort; |
|
28 |
/** |
|
29 |
* 接入使能 |
|
30 |
*/ |
|
31 |
public int bEnable; |
|
32 |
/** |
|
33 |
* 会话保活周期,范围[10,90],单位秒 |
|
34 |
*/ |
|
35 |
public int nKeepAliveTime; |
|
36 |
/** |
|
37 |
* 最大超时次数,范围[2,5] |
|
38 |
*/ |
|
39 |
public int nMaxTimeoutTimes; |
|
40 |
/** |
|
41 |
* 注册失败后重新注册随机时间上限,范围[30,300],单位秒 |
|
42 |
*/ |
|
43 |
public int nRegisterInterval; |
|
44 |
/** |
|
45 |
* 注册设备ID |
|
46 |
*/ |
|
47 |
public byte[] szDeviceID = new byte[24]; |
|
48 |
/** |
|
49 |
* {@link NET_VSP_GAVI_CHANNEL_INFO} |
|
50 |
* 通道信息,用户分配内存 |
|
51 |
*/ |
|
52 |
public Pointer pstuChannelInfo; |
|
53 |
/** |
|
54 |
* pstuChannelInfo 个数,和通道数保持一致 |
|
55 |
*/ |
|
56 |
public int nChannelCount; |
|
57 |
/** |
|
58 |
* 返回的 pstuChannelInfo 个数 |
|
59 |
*/ |
|
60 |
public int nChannelCountRet; |
|
61 |
/** |
|
62 |
* {@link EM_VSP_GAVI_PLATFORM_CODE} |
|
63 |
* 当前平台 |
|
64 |
*/ |
|
65 |
public int emPlatform; |
|
66 |
/** |
|
67 |
* 是否在线,不可修改 |
|
68 |
*/ |
|
69 |
public int bIsOnLine; |
|
70 |
/** |
|
71 |
* {@link NET_HKIMAGESERVER_INFO} |
|
72 |
* 视图云存储服务器鉴权密钥信息,emPlatform 为 EM_VSP_GAVI_PLATFORM_CODE_HKTDA_CLOUDSTORAGE时有效 |
|
73 |
*/ |
|
74 |
public Pointer pHKImageServerInfo; |
|
75 |
/** |
|
76 |
* 保留字节 |
|
77 |
*/ |
|
78 |
public byte[] byReserved = new byte[68]; |
|
79 |
} |