提交 | 用户 | 时间
|
ce910c
|
1 |
package com.iailab.module.data.dev.hikvision.utils; |
H |
2 |
|
|
3 |
import com.sun.jna.*; |
|
4 |
import com.sun.jna.examples.win32.W32API; |
|
5 |
import com.sun.jna.examples.win32.W32API.HWND; |
|
6 |
import com.sun.jna.ptr.ByteByReference; |
|
7 |
import com.sun.jna.ptr.IntByReference; |
|
8 |
import com.sun.jna.ptr.ShortByReference; |
|
9 |
|
|
10 |
import java.util.Arrays; |
|
11 |
import java.util.List; |
|
12 |
|
|
13 |
//SDK接口说明,HCNetSDK.dll |
|
14 |
public interface HCNetSDK extends Library { |
|
15 |
/*** 宏定义 ***/ |
|
16 |
//常量 |
|
17 |
|
|
18 |
public static final int MAX_NAMELEN = 16; //DVR本地登陆名 |
|
19 |
public static final int MAX_RIGHT = 32; //设备支持的权限(1-12表示本地权限,13-32表示远程权限) |
|
20 |
public static final int NAME_LEN = 32; //用户名长度 |
|
21 |
public static final int PASSWD_LEN = 16; //密码长度 |
|
22 |
public static final int SERIALNO_LEN = 48; //序列号长度 |
|
23 |
public static final int MACADDR_LEN = 6; //mac地址长度 |
|
24 |
public static final int MAX_ETHERNET = 2; //设备可配以太网络 |
|
25 |
public static final int PATHNAME_LEN = 128; //路径长度 |
|
26 |
public static final int MAX_TIMESEGMENT_V30 = 8; //9000设备最大时间段数 |
|
27 |
public static final int MAX_TIMESEGMENT = 4; //8000设备最大时间段数 |
|
28 |
public static final int MAX_SHELTERNUM = 4; //8000设备最大遮挡区域数 |
|
29 |
public static final int MAX_DAYS = 7; //每周天数 |
|
30 |
public static final int PHONENUMBER_LEN = 32; //pppoe拨号号码最大长度 |
|
31 |
public static final int MAX_DISKNUM_V30 = 33; //9000设备最大硬盘数/* 最多33个硬盘(包括16个内置SATA硬盘、1个eSATA硬盘和16个NFS盘) */ |
|
32 |
public static final int MAX_DISKNUM = 16; //8000设备最大硬盘数 |
|
33 |
public static final int MAX_DISKNUM_V10 = 8; //1.2版本之前版本 |
|
34 |
public static final int MAX_WINDOW_V30 = 32; //9000设备本地显示最大播放窗口数 |
|
35 |
public static final int MAX_WINDOW = 16; //8000设备最大硬盘数 |
|
36 |
public static final int MAX_VGA_V30 = 4; //9000设备最大可接VGA数 |
|
37 |
public static final int MAX_VGA = 1; //8000设备最大可接VGA数 |
|
38 |
public static final int MAX_USERNUM_V30 = 32; //9000设备最大用户数 |
|
39 |
public static final int MAX_USERNUM = 16; //8000设备最大用户数 |
|
40 |
public static final int MAX_EXCEPTIONNUM_V30 = 32; //9000设备最大异常处理数 |
|
41 |
public static final int MAX_EXCEPTIONNUM = 16; //8000设备最大异常处理数 |
|
42 |
public static final int MAX_LINK = 6; //8000设备单通道最大视频流连接数 |
|
43 |
public static final int MAX_DECPOOLNUM = 4; //单路解码器每个解码通道最大可循环解码数 |
|
44 |
public static final int MAX_DECNUM = 4; //单路解码器的最大解码通道数(实际只有一个,其他三个保留) |
|
45 |
public static final int MAX_TRANSPARENTNUM = 2; //单路解码器可配置最大透明通道数 |
|
46 |
public static final int MAX_CYCLE_CHAN = 16; //单路解码器最大轮循通道数 |
|
47 |
public static final int MAX_DIRNAME_LENGTH = 80; //最大目录长度 |
|
48 |
public static final int MAX_STRINGNUM_V30 = 8; //9000设备最大OSD字符行数数 |
|
49 |
public static final int MAX_STRINGNUM = 4; //8000设备最大OSD字符行数数 |
|
50 |
public static final int MAX_STRINGNUM_EX = 8; //8000定制扩展 |
|
51 |
public static final int MAX_AUXOUT_V30 = 16; //9000设备最大辅助输出数 |
|
52 |
public static final int MAX_AUXOUT = 4; //8000设备最大辅助输出数 |
|
53 |
public static final int MAX_HD_GROUP = 16; //9000设备最大硬盘组数 |
|
54 |
public static final int MAX_NFS_DISK = 8; //8000设备最大NFS硬盘数 |
|
55 |
public static final int IW_ESSID_MAX_SIZE = 32; //WIFI的SSID号长度 |
|
56 |
public static final int IW_ENCODING_TOKEN_MAX = 32; //WIFI密锁最大字节数 |
|
57 |
public static final int MAX_SERIAL_NUM = 64; //最多支持的透明通道路数 |
|
58 |
public static final int MAX_DDNS_NUMS = 10; //9000设备最大可配ddns数 |
|
59 |
public static final int MAX_DOMAIN_NAME = 64; /* 最大域名长度 */ |
|
60 |
|
|
61 |
public static final int MAX_EMAIL_ADDR_LEN = 48; //最大email地址长度 |
|
62 |
public static final int MAX_EMAIL_PWD_LEN = 32; //最大email密码长度 |
|
63 |
public static final int MAXPROGRESS = 100; //回放时的最大百分率 |
|
64 |
public static final int MAX_SERIALNUM = 2; //8000设备支持的串口数 1-232, 2-485 |
|
65 |
public static final int CARDNUM_LEN = 20; //卡号长度 |
|
66 |
public static final int MAX_VIDEOOUT_V30 = 4; //9000设备的视频输出数 |
|
67 |
public static final int MAX_VIDEOOUT = 2; //8000设备的视频输出数 |
|
68 |
public static final int MAX_PRESET_V30 = 256; /* 9000设备支持的云台预置点数 */ |
|
69 |
public static final int MAX_TRACK_V30 = 256; /* 9000设备支持的云台轨迹数 */ |
|
70 |
public static final int MAX_CRUISE_V30 = 256; /* 9000设备支持的云台巡航数 */ |
|
71 |
public static final int MAX_PRESET = 128; /* 8000设备支持的云台预置点数 */ |
|
72 |
public static final int MAX_TRACK = 128; /* 8000设备支持的云台轨迹数 */ |
|
73 |
public static final int MAX_CRUISE = 128; /* 8000设备支持的云台巡航数 */ |
|
74 |
public static final int CRUISE_MAX_PRESET_NUMS = 32; /* 一条巡航最多的巡航点 */ |
|
75 |
public static final int MAX_SERIAL_PORT = 8; //9000设备支持232串口数 |
|
76 |
public static final int MAX_PREVIEW_MODE = 8; /* 设备支持最大预览模式数目 1画面,4画面,9画面,16画面.... */ |
|
77 |
public static final int MAX_MATRIXOUT = 16; /* 最大模拟矩阵输出个数 */ |
|
78 |
public static final int LOG_INFO_LEN = 11840; /* 日志附加信息 */ |
|
79 |
public static final int DESC_LEN = 16; /* 云台描述字符串长度 */ |
|
80 |
public static final int PTZ_PROTOCOL_NUM = 200; /* 9000最大支持的云台协议数 */ |
|
81 |
public static final int MAX_AUDIO = 1; //8000语音对讲通道数 |
|
82 |
public static final int MAX_AUDIO_V30 = 2; //9000语音对讲通道数 |
|
83 |
public static final int MAX_CHANNUM = 16; //8000设备最大通道数 |
|
84 |
public static final int MAX_ALARMIN = 16; //8000设备最大报警输入数 |
|
85 |
public static final int MAX_ALARMOUT = 4; //8000设备最大报警输出数 |
|
86 |
//9000 IPC接入 |
|
87 |
public static final int MAX_ANALOG_CHANNUM = 32; //最大32个模拟通道 |
|
88 |
public static final int MAX_ANALOG_ALARMOUT = 32; //最大32路模拟报警输出 |
|
89 |
public static final int MAX_ANALOG_ALARMIN = 32; //最大32路模拟报警输入 |
|
90 |
public static final int MAX_IP_ALARMIN_V40 = 4096; //允许加入的最多报警输入数 |
|
91 |
public static final int MAX_IP_ALARMOUT_V40 = 4096; //允许加入的最多报警输出数 |
|
92 |
public static final int MAX_ALARMOUT_V40 = (MAX_IP_ALARMOUT_V40 + MAX_ANALOG_ALARMOUT); //4128 |
|
93 |
public static final int MAX_ALARMIN_V40 = (MAX_IP_ALARMIN_V40 + MAX_ANALOG_ALARMOUT); //4128 |
|
94 |
public static final int MAX_CHANNUM_V40 = 512; |
|
95 |
public static final int MAX_IP_DEVICE = 32; //允许接入的最大IP设备数 |
|
96 |
public static final int MAX_IP_CHANNEL = 32; //允许加入的最多IP通道数 |
|
97 |
public static final int MAX_IP_ALARMIN = 128; //允许加入的最多报警输入数 |
|
98 |
public static final int MAX_IP_ALARMOUT = 64; //允许加入的最多报警输出数 |
|
99 |
|
|
100 |
/* 最大支持的通道数 最大模拟加上最大IP支持 */ |
|
101 |
public static final int MAX_CHANNUM_V30 = (MAX_ANALOG_CHANNUM + MAX_IP_CHANNEL);//64 |
|
102 |
public static final int MAX_ALARMOUT_V30 = (MAX_ANALOG_ALARMOUT + MAX_IP_ALARMOUT);//96 |
|
103 |
public static final int MAX_ALARMIN_V30 = (MAX_ANALOG_ALARMIN + MAX_IP_ALARMIN);//160 |
|
104 |
public static final int MAX_IP_DEVICE_V40 = 64; |
|
105 |
public static final int STREAM_ID_LEN = 32; |
|
106 |
|
|
107 |
public static final int MAX_LICENSE_LEN = 16; |
|
108 |
public static final int MAX_LICENSE_LEN_EX = 32; //车牌号最大长度 |
|
109 |
public static final int MAX_CARDNO_LEN = 48; //卡号最大长度 |
|
110 |
public static final int VCA_MAX_POLYGON_POINT_NUM = 10; |
|
111 |
|
|
112 |
public static final int MAX_ID_NUM_LEN = 32; //最大身份证号长度 |
|
113 |
public static final int MAX_ID_NAME_LEN = 128; //最大姓名长度 |
|
114 |
public static final int MAX_ID_ADDR_LEN = 280; //最大住址长度 |
|
115 |
public static final int MAX_ID_ISSUING_AUTHORITY_LEN = 128; //最大签发机关长度 |
|
116 |
public static final int MAX_CARD_READER_NUM_512 = 512; //最大读卡器数 |
|
117 |
public static final int ERROR_MSG_LEN = 32; //下发错误信息 |
|
118 |
public static final int MAX_FACE_NUM = 2; //最大人脸数 |
|
119 |
public static final int MAX_FINGER_PRINT_LEN = 768; //最大指纹长度 |
|
120 |
|
|
121 |
public static final int DEV_TYPE_NAME_LEN = 24; //设备类型名称长度 |
|
122 |
public static final int MAX_FACE_PIC_NUM = 30; /*人脸子图个数*/ |
|
123 |
public static final int CARDNUM_LEN_V30 = 40; |
|
124 |
|
|
125 |
public static final int MAX_NOTICE_NUMBER_LEN = 32; //公告编号最大长度 |
|
126 |
public static final int MAX_NOTICE_THEME_LEN = 64; //公告主题最大长度 |
|
127 |
public static final int MAX_NOTICE_DETAIL_LEN = 1024; //公告详情最大长度 |
|
128 |
public static final int MAX_NOTICE_PIC_NUM = 6; //公告信息最大图片数量 |
|
129 |
public static final int MAX_DEV_NUMBER_LEN = 32; //设备编号最大长度 |
|
130 |
public static final int LOCK_NAME_LEN = 32; //锁名称 |
|
131 |
|
|
132 |
public static final int NET_SDK_EMPLOYEE_NO_LEN = 32; //工号长度 |
|
133 |
public static final int NET_SDK_UUID_LEN = 36; //UUID长度 |
|
134 |
|
|
135 |
public static final int MAX_INQUEST_CDRW_NUM = 4; //最大刻录机数目 |
|
136 |
public static final int INQUEST_MESSAGE_LEN = 44; //审讯重点标记信息长度 |
|
137 |
public static final int INQUEST_MAX_ROOM_NUM = 2; //最大审讯室个数 |
|
138 |
public static final int MAX_RESUME_SEGMENT = 2; //支持同时恢复的片段数目 |
|
139 |
|
|
140 |
public static final int SUPPORT_PD_NUM = 16; |
|
141 |
public static final int SUPPORT_ARRAY_NUM = 8; |
|
142 |
public static final int SUPPORT_VD_NUM = 128; |
|
143 |
public static final int SUPPORT_PD_NUM_ = 16; |
|
144 |
public static final int SUPPORT_PD_NUM_PARTTWO = 8; |
|
145 |
|
|
146 |
public static final int CARDNUM_LEN_OUT = 32; //外部结构体卡号长度 |
|
147 |
public static final int GUID_LEN = 16; //GUID长度 |
|
148 |
|
|
149 |
public static final int MAX_ROIDETECT_NUM = 8; //支持的ROI区域数 |
|
150 |
public static final int MAX_LANERECT_NUM = 5; //最大车牌识别区域数 |
|
151 |
public static final int MAX_FORTIFY_NUM = 10; //最大布防个数 |
|
152 |
public static final int MAX_INTERVAL_NUM = 4; //最大时间间隔个数 |
|
153 |
public static final int MAX_CHJC_NUM = 3; //最大车辆省份简称字符个数 |
|
154 |
public static final int MAX_VL_NUM = 5; //最大虚拟线圈个数 |
|
155 |
public static final int MAX_DRIVECHAN_NUM = 16; //最大车道数 |
|
156 |
public static final int MAX_COIL_NUM = 3; //最大线圈个数 |
|
157 |
public static final int MAX_SIGNALLIGHT_NUM = 6; //最大信号灯个数 |
|
158 |
public static final int MAX_IOSPEED_GROUP_NUM = 4; //IO测速组个数 |
|
159 |
public static final int MAX_IOOUT_NUM = 4; //最大IO输出口个数 |
|
160 |
public static final int MAX_IOIN_NUM = 8; //最大IO输入口个数 |
|
161 |
public static final int MAX_RELAY_NUM = 12; //继电器控制设备最大数 2013-11-04 |
|
162 |
public static final int MAX_VEHICLE_TYPE_NUM = 8; //车辆信息管控最大数2013-11-04 |
|
163 |
public static final int MAX_IOIN_NUMEX = 10; //最大IO输入口个数(扩展) |
|
164 |
public static final int MAX_ITC_LANE_NUM = 6; //最大车道个数 |
|
165 |
public static final int MAX_LANEAREA_NUM = 2; //单车道最大区域个数 |
|
166 |
public static final int ITC_MAX_POLYGON_POINT_NUM = 20; //检测区域最多支持20个点的多边形 |
|
167 |
public static final int MAX_ITC_SERIALCHECK_NUM = 8; //串口校验类型个数 |
|
168 |
public static final int MAX_LIGHT_NUM = 6; //最大交通灯数 |
|
169 |
public static final int MAX_VIDEO_INTERVAL_NUM = 2; //最大抓拍间隔数 |
|
170 |
public static final int MAX_VIDEO_DETECT_LIGHT_NUM = 12; //视频检测的最大检测区域 |
|
171 |
public static final int MAX_CALIB_RECOG_NUM = 2; //标定区域个数 |
|
172 |
public static final int MAX_RS485_NUM = 12; //485口最大支持数 |
|
173 |
public static final int MAX_MOBILE_POLYGON_NUM = 3; //移动布控支持最大牌识区域个数 |
|
174 |
public static final int MAX_MOBILE_DETECTLINE_NUM = 3; //移动布控支持最大违规检测线个数 |
|
175 |
public static final int MAX_IOOUT_K_NUM = 8; //K系列最大IO输出口个数 |
|
176 |
|
|
177 |
public static final int NET_SDK_MAX_FDID_LEN = 256; //人脸库ID最大长度 |
|
178 |
public static final int NET_SDK_MAX_PICID_LEN = 256; //人脸ID最大长度 |
|
179 |
public static final int NET_SDK_MAX_INDENTITY_KEY_LEN = 64; //交互操作口令长度 |
|
180 |
|
|
181 |
public static final int SEARCH_EVENT_INFO_LEN = 300; //事件信息长度 |
|
182 |
public static final int SEARCH_EVENT_INFO_LEN_V40 = 800; |
|
183 |
public static final int MAX_POS_KEYWORDS_NUM = 3; //支持关键字查找条数 |
|
184 |
public static final int MAX_POS_KEYWORD_LEN = 128; //每条关键字长度 |
|
185 |
public static final int INQUEST_CASE_LEN = 64; //审讯信息长度 |
|
186 |
|
|
187 |
public static final int SEARCH_CASE_NO_LEN = 56; |
|
188 |
public static final int SEARCH_CASE_NAME_LEN = 100; |
|
189 |
public static final int SEARCH_LITIGANT_LEN = 32; |
|
190 |
public static final int SEARCH_CHIEF_JUDGE_LEN = 32; |
|
191 |
public static final int CASE_NO_RET_LEN = 52; |
|
192 |
public static final int CASE_NAME_RET_LEN = 64; |
|
193 |
public static final int LITIGANT_RET_LEN = 24; |
|
194 |
public static final int CHIEF_JUDGE_RET_LEN = 24; |
|
195 |
public static final int NET_SDK_CASETYPE_LEN = 32; |
|
196 |
public static final int NET_SDK_MAX_TAPE_INDEX_LEN = 32; //磁带编号最大长度 |
|
197 |
public static final int NET_SDK_MAX_FILE_LEN = 256; //文件名最大长度 |
|
198 |
/******************************************************************/ |
|
199 |
|
|
200 |
/******************* |
|
201 |
* 全局错误码 begin |
|
202 |
**********************/ |
|
203 |
public static final int NET_DVR_NOERROR = 0; //没有错误 |
|
204 |
public static final int NET_DVR_PASSWORD_ERROR = 1; //用户名密码错误 |
|
205 |
public static final int NET_DVR_NOENOUGHPRI = 2;//权限不足 |
|
206 |
public static final int NET_DVR_NOINIT = 3;//没有初始化 |
|
207 |
public static final int NET_DVR_CHANNEL_ERROR = 4; //通道号错误 |
|
208 |
public static final int NET_DVR_OVER_MAXLINK = 5; //连接到DVR的客户端个数超过最大 |
|
209 |
public static final int NET_DVR_VERSIONNOMATCH = 6; //版本不匹配 |
|
210 |
public static final int NET_DVR_NETWORK_FAIL_CONNECT = 7;//连接服务器失败 |
|
211 |
public static final int NET_DVR_NETWORK_SEND_ERROR = 8; //向服务器发送失败 |
|
212 |
public static final int NET_DVR_NETWORK_RECV_ERROR = 9; //从服务器接收数据失败 |
|
213 |
public static final int NET_DVR_NETWORK_RECV_TIMEOUT = 10; //从服务器接收数据超时 |
|
214 |
public static final int NET_DVR_NETWORK_ERRORDATA = 11; //传送的数据有误 |
|
215 |
public static final int NET_DVR_ORDER_ERROR = 12; //调用次序错误 |
|
216 |
public static final int NET_DVR_OPERNOPERMIT = 13; //无此权限 |
|
217 |
public static final int NET_DVR_COMMANDTIMEOUT = 14; //DVR命令执行超时 |
|
218 |
public static final int NET_DVR_ERRORSERIALPORT = 15; //串口号错误 |
|
219 |
public static final int NET_DVR_ERRORALARMPORT = 16; //报警端口错误 |
|
220 |
public static final int NET_DVR_PARAMETER_ERROR = 17;//参数错误 |
|
221 |
public static final int NET_DVR_CHAN_EXCEPTION = 18; //服务器通道处于错误状态 |
|
222 |
public static final int NET_DVR_NODISK = 19; //没有硬盘 |
|
223 |
public static final int NET_DVR_ERRORDISKNUM = 20; //硬盘号错误 |
|
224 |
public static final int NET_DVR_DISK_FULL = 21; //服务器硬盘满 |
|
225 |
public static final int NET_DVR_DISK_ERROR = 22;//服务器硬盘出错 |
|
226 |
public static final int NET_DVR_NOSUPPORT = 23;//服务器不支持 |
|
227 |
public static final int NET_DVR_BUSY = 24;//服务器忙 |
|
228 |
public static final int NET_DVR_MODIFY_FAIL = 25;//服务器修改不成功 |
|
229 |
public static final int NET_DVR_PASSWORD_FORMAT_ERROR = 26;//密码输入格式不正确 |
|
230 |
public static final int NET_DVR_DISK_FORMATING = 27; //硬盘正在格式化,不能启动操作 |
|
231 |
public static final int NET_DVR_DVRNORESOURCE = 28; //DVR资源不足 |
|
232 |
public static final int NET_DVR_DVROPRATEFAILED = 29; //DVR操作失败 |
|
233 |
public static final int NET_DVR_OPENHOSTSOUND_FAIL = 30; //打开PC声音失败 |
|
234 |
public static final int NET_DVR_DVRVOICEOPENED = 31; //服务器语音对讲被占用 |
|
235 |
public static final int NET_DVR_TIMEINPUTERROR = 32; //时间输入不正确 |
|
236 |
public static final int NET_DVR_NOSPECFILE = 33; //回放时服务器没有指定的文件 |
|
237 |
public static final int NET_DVR_CREATEFILE_ERROR = 34; //创建文件出错 |
|
238 |
public static final int NET_DVR_FILEOPENFAIL = 35; //打开文件出错 |
|
239 |
public static final int NET_DVR_OPERNOTFINISH = 36; //上次的操作还没有完成 |
|
240 |
public static final int NET_DVR_GETPLAYTIMEFAIL = 37; //获取当前播放的时间出错 |
|
241 |
public static final int NET_DVR_PLAYFAIL = 38; //播放出错 |
|
242 |
public static final int NET_DVR_FILEFORMAT_ERROR = 39;//文件格式不正确 |
|
243 |
public static final int NET_DVR_DIR_ERROR = 40; //路径错误 |
|
244 |
public static final int NET_DVR_ALLOC_RESOURCE_ERROR = 41;//资源分配错误 |
|
245 |
public static final int NET_DVR_AUDIO_MODE_ERROR = 42; //声卡模式错误 |
|
246 |
public static final int NET_DVR_NOENOUGH_BUF = 43; //缓冲区太小 |
|
247 |
public static final int NET_DVR_CREATESOCKET_ERROR = 44; //创建SOCKET出错 |
|
248 |
public static final int NET_DVR_SETSOCKET_ERROR = 45; //设置SOCKET出错 |
|
249 |
public static final int NET_DVR_MAX_NUM = 46; //个数达到最大 |
|
250 |
public static final int NET_DVR_USERNOTEXIST = 47; //用户不存在 |
|
251 |
public static final int NET_DVR_WRITEFLASHERROR = 48;//写FLASH出错 |
|
252 |
public static final int NET_DVR_UPGRADEFAIL = 49;//DVR升级失败 |
|
253 |
public static final int NET_DVR_CARDHAVEINIT = 50; //解码卡已经初始化过 |
|
254 |
public static final int NET_DVR_PLAYERFAILED = 51; //调用播放库中某个函数失败 |
|
255 |
public static final int NET_DVR_MAX_USERNUM = 52; //设备端用户数达到最大 |
|
256 |
public static final int NET_DVR_GETLOCALIPANDMACFAIL = 53;//获得客户端的IP地址或物理地址失败 |
|
257 |
public static final int NET_DVR_NOENCODEING = 54; //该通道没有编码 |
|
258 |
public static final int NET_DVR_IPMISMATCH = 55; //IP地址不匹配 |
|
259 |
public static final int NET_DVR_MACMISMATCH = 56;//MAC地址不匹配 |
|
260 |
public static final int NET_DVR_UPGRADELANGMISMATCH = 57;//升级文件语言不匹配 |
|
261 |
public static final int NET_DVR_MAX_PLAYERPORT = 58;//播放器路数达到最大 |
|
262 |
public static final int NET_DVR_NOSPACEBACKUP = 59;//备份设备中没有足够空间进行备份 |
|
263 |
public static final int NET_DVR_NODEVICEBACKUP = 60; //没有找到指定的备份设备 |
|
264 |
public static final int NET_DVR_PICTURE_BITS_ERROR = 61; //图像素位数不符,限24色 |
|
265 |
public static final int NET_DVR_PICTURE_DIMENSION_ERROR = 62;//图片高*宽超限, 限128*256 |
|
266 |
public static final int NET_DVR_PICTURE_SIZ_ERROR = 63; //图片大小超限,限100K |
|
267 |
public static final int NET_DVR_LOADPLAYERSDKFAILED = 64; //载入当前目录下Player Sdk出错 |
|
268 |
public static final int NET_DVR_LOADPLAYERSDKPROC_ERROR = 65; //找不到Player Sdk中某个函数入口 |
|
269 |
public static final int NET_DVR_LOADDSSDKFAILED = 66; //载入当前目录下DSsdk出错 |
|
270 |
public static final int NET_DVR_LOADDSSDKPROC_ERROR = 67; //找不到DsSdk中某个函数入口 |
|
271 |
public static final int NET_DVR_DSSDK_ERROR = 68; //调用硬解码库DsSdk中某个函数失败 |
|
272 |
public static final int NET_DVR_VOICEMONOPOLIZE = 69; //声卡被独占 |
|
273 |
public static final int NET_DVR_JOINMULTICASTFAILED = 70; //加入多播组失败 |
|
274 |
public static final int NET_DVR_CREATEDIR_ERROR = 71; //建立日志文件目录失败 |
|
275 |
public static final int NET_DVR_BINDSOCKET_ERROR = 72; //绑定套接字失败 |
|
276 |
public static final int NET_DVR_SOCKETCLOSE_ERROR = 73; //socket连接中断,此错误通常是由于连接中断或目的地不可达 |
|
277 |
public static final int NET_DVR_USERID_ISUSING = 74; //注销时用户ID正在进行某操作 |
|
278 |
public static final int NET_DVR_SOCKETLISTEN_ERROR = 75; //监听失败 |
|
279 |
public static final int NET_DVR_PROGRAM_EXCEPTION = 76; //程序异常 |
|
280 |
public static final int NET_DVR_WRITEFILE_FAILED = 77; //写文件失败 |
|
281 |
public static final int NET_DVR_FORMAT_READONLY = 78;//禁止格式化只读硬盘 |
|
282 |
public static final int NET_DVR_WITHSAMEUSERNAME = 79;//用户配置结构中存在相同的用户名 |
|
283 |
public static final int NET_DVR_DEVICETYPE_ERROR = 80; /*导入参数时设备型号不匹配*/ |
|
284 |
public static final int NET_DVR_LANGUAGE_ERROR = 81; /*导入参数时语言不匹配*/ |
|
285 |
public static final int NET_DVR_PARAVERSION_ERROR = 82; /*导入参数时软件版本不匹配*/ |
|
286 |
public static final int NET_DVR_IPCHAN_NOTALIVE = 83; /*预览时外接IP通道不在线*/ |
|
287 |
public static final int NET_DVR_RTSP_SDK_ERROR = 84; /*加载高清IPC通讯库StreamTransClient.dll失败*/ |
|
288 |
public static final int NET_DVR_CONVERT_SDK_ERROR = 85; /*加载转码库失败*/ |
|
289 |
public static final int NET_DVR_IPC_COUNT_OVERFLOW = 86; /*超出最大的ip接入通道数*/ |
|
290 |
public static final int NET_PLAYM4_NOERROR = 500; //no error |
|
291 |
public static final int NET_PLAYM4_PARA_OVER = 501;//input parameter is invalid; |
|
292 |
public static final int NET_PLAYM4_ORDER_ERROR = 502;//The order of the function to be called is error. |
|
293 |
public static final int NET_PLAYM4_TIMER_ERROR = 503;//Create multimedia clock failed; |
|
294 |
public static final int NET_PLAYM4_DEC_VIDEO_ERROR = 504;//Decode video data failed. |
|
295 |
public static final int NET_PLAYM4_DEC_AUDIO_ERROR = 505;//Decode audio data failed. |
|
296 |
public static final int NET_PLAYM4_ALLOC_MEMORY_ERROR = 506; //Allocate memory failed. |
|
297 |
public static final int NET_PLAYM4_OPEN_FILE_ERROR = 507; //Open the file failed. |
|
298 |
public static final int NET_PLAYM4_CREATE_OBJ_ERROR = 508;//Create thread or event failed |
|
299 |
public static final int NET_PLAYM4_CREATE_DDRAW_ERROR = 509;//Create DirectDraw object failed. |
|
300 |
public static final int NET_PLAYM4_CREATE_OFFSCREEN_ERROR = 510;//failed when creating off-screen surface. |
|
301 |
public static final int NET_PLAYM4_BUF_OVER = 511; //buffer is overflow |
|
302 |
public static final int NET_PLAYM4_CREATE_SOUND_ERROR = 512; //failed when creating audio device. |
|
303 |
public static final int NET_PLAYM4_SET_VOLUME_ERROR = 513;//Set volume failed |
|
304 |
public static final int NET_PLAYM4_SUPPORT_FILE_ONLY = 514;//The function only support play file. |
|
305 |
public static final int NET_PLAYM4_SUPPORT_STREAM_ONLY = 515;//The function only support play stream. |
|
306 |
public static final int NET_PLAYM4_SYS_NOT_SUPPORT = 516;//System not support. |
|
307 |
public static final int NET_PLAYM4_FILEHEADER_UNKNOWN = 517; //No file header. |
|
308 |
public static final int NET_PLAYM4_VERSION_INCORRECT = 518; //The version of decoder and encoder is not adapted. |
|
309 |
public static final int NET_PALYM4_INIT_DECODER_ERROR = 519; //Initialize decoder failed. |
|
310 |
public static final int NET_PLAYM4_CHECK_FILE_ERROR = 520; //The file data is unknown. |
|
311 |
public static final int NET_PLAYM4_INIT_TIMER_ERROR = 521; //Initialize multimedia clock failed. |
|
312 |
public static final int NET_PLAYM4_BLT_ERROR = 522;//Blt failed. |
|
313 |
public static final int NET_PLAYM4_UPDATE_ERROR = 523;//Update failed. |
|
314 |
public static final int NET_PLAYM4_OPEN_FILE_ERROR_MULTI = 524; //openfile error, streamtype is multi |
|
315 |
public static final int NET_PLAYM4_OPEN_FILE_ERROR_VIDEO = 525; //openfile error, streamtype is video |
|
316 |
public static final int NET_PLAYM4_JPEG_COMPRESS_ERROR = 526; //JPEG compress error |
|
317 |
public static final int NET_PLAYM4_EXTRACT_NOT_SUPPORT = 527; //Don't support the version of this file. |
|
318 |
public static final int NET_PLAYM4_EXTRACT_DATA_ERROR = 528; //extract video data failed. |
|
319 |
/*******************全局错误码 end**********************/ |
|
320 |
/************************************************* |
|
321 |
* NET_DVR_IsSupport()返回值 |
|
322 |
* 1-9位分别表示以下信息(位与是TRUE)表示支持; |
|
323 |
**************************************************/ |
|
324 |
public static final int NET_DVR_SUPPORT_DDRAW = 0x01;//支持DIRECTDRAW,如果不支持,则播放器不能工作; |
|
325 |
public static final int NET_DVR_SUPPORT_BLT = 0x02;//显卡支持BLT操作,如果不支持,则播放器不能工作; |
|
326 |
public static final int NET_DVR_SUPPORT_BLTFOURCC = 0x04;//显卡BLT支持颜色转换,如果不支持,播放器会用软件方法作RGB转换; |
|
327 |
public static final int NET_DVR_SUPPORT_BLTSHRINKX = 0x08;//显卡BLT支持X轴缩小;如果不支持,系统会用软件方法转换; |
|
328 |
public static final int NET_DVR_SUPPORT_BLTSHRINKY = 0x10;//显卡BLT支持Y轴缩小;如果不支持,系统会用软件方法转换; |
|
329 |
public static final int NET_DVR_SUPPORT_BLTSTRETCHX = 0x20;//显卡BLT支持X轴放大;如果不支持,系统会用软件方法转换; |
|
330 |
public static final int NET_DVR_SUPPORT_BLTSTRETCHY = 0x40;//显卡BLT支持Y轴放大;如果不支持,系统会用软件方法转换; |
|
331 |
public static final int NET_DVR_SUPPORT_SSE = 0x80;//CPU支持SSE指令,Intel Pentium3以上支持SSE指令; |
|
332 |
public static final int NET_DVR_SUPPORT_MMX = 0x100;//CPU支持MMX指令集,Intel Pentium3以上支持SSE指令; |
|
333 |
/********************** |
|
334 |
* 云台控制命令 begin |
|
335 |
*************************/ |
|
336 |
public static final int LIGHT_PWRON = 2; /* 接通灯光电源 */ |
|
337 |
public static final int WIPER_PWRON = 3; /* 接通雨刷开关 */ |
|
338 |
public static final int FAN_PWRON = 4; /* 接通风扇开关 */ |
|
339 |
public static final int HEATER_PWRON = 5; /* 接通加热器开关 */ |
|
340 |
public static final int AUX_PWRON1 = 6; /* 接通辅助设备开关 */ |
|
341 |
public static final int AUX_PWRON2 = 7; /* 接通辅助设备开关 */ |
|
342 |
public static final int SET_PRESET = 8; /* 设置预置点 */ |
|
343 |
public static final int CLE_PRESET = 9; /* 清除预置点 */ |
|
344 |
public static final int ZOOM_IN = 11; /* 焦距以速度SS变大(倍率变大) */ |
|
345 |
public static final int ZOOM_OUT = 12; /* 焦距以速度SS变小(倍率变小) */ |
|
346 |
public static final int FOCUS_NEAR = 13; /* 焦点以速度SS前调 */ |
|
347 |
public static final int FOCUS_FAR = 14; /* 焦点以速度SS后调 */ |
|
348 |
public static final int IRIS_OPEN = 15; /* 光圈以速度SS扩大 */ |
|
349 |
public static final int IRIS_CLOSE = 16; /* 光圈以速度SS缩小 */ |
|
350 |
public static final int TILT_UP = 21; /* 云台以SS的速度上仰 */ |
|
351 |
public static final int TILT_DOWN = 22; /* 云台以SS的速度下俯 */ |
|
352 |
public static final int PAN_LEFT = 23; /* 云台以SS的速度左转 */ |
|
353 |
public static final int PAN_RIGHT = 24; /* 云台以SS的速度右转 */ |
|
354 |
public static final int UP_LEFT = 25; /* 云台以SS的速度上仰和左转 */ |
|
355 |
public static final int UP_RIGHT = 26; /* 云台以SS的速度上仰和右转 */ |
|
356 |
public static final int DOWN_LEFT = 27; /* 云台以SS的速度下俯和左转 */ |
|
357 |
public static final int DOWN_RIGHT = 28; /* 云台以SS的速度下俯和右转 */ |
|
358 |
public static final int PAN_AUTO = 29; /* 云台以SS的速度左右自动扫描 */ |
|
359 |
public static final int FILL_PRE_SEQ = 30; /* 将预置点加入巡航序列 */ |
|
360 |
public static final int SET_SEQ_DWELL = 31; /* 设置巡航点停顿时间 */ |
|
361 |
public static final int SET_SEQ_SPEED = 32; /* 设置巡航速度 */ |
|
362 |
public static final int CLE_PRE_SEQ = 33;/* 将预置点从巡航序列中删除 */ |
|
363 |
public static final int STA_MEM_CRUISE = 34;/* 开始记录轨迹 */ |
|
364 |
public static final int STO_MEM_CRUISE = 35;/* 停止记录轨迹 */ |
|
365 |
public static final int RUN_CRUISE = 36; /* 开始轨迹 */ |
|
366 |
public static final int RUN_SEQ = 37; /* 开始巡航 */ |
|
367 |
public static final int STOP_SEQ = 38; /* 停止巡航 */ |
|
368 |
public static final int GOTO_PRESET = 39; /* 快球转到预置点 */ |
|
369 |
|
|
370 |
/**********************云台控制命令 end*************************/ |
|
371 |
/************************************************* |
|
372 |
* 回放时播放控制命令宏定义 |
|
373 |
* NET_DVR_PlayBackControl |
|
374 |
* NET_DVR_PlayControlLocDisplay |
|
375 |
* NET_DVR_DecPlayBackCtrl的宏定义 |
|
376 |
* 具体支持查看函数说明和代码 |
|
377 |
**************************************************/ |
|
378 |
public static final int NET_DVR_PLAYSTART = 1;//开始播放 |
|
379 |
public static final int NET_DVR_PLAYSTOP = 2;//停止播放 |
|
380 |
public static final int NET_DVR_PLAYPAUSE = 3;//暂停播放 |
|
381 |
public static final int NET_DVR_PLAYRESTART = 4;//恢复播放 |
|
382 |
public static final int NET_DVR_PLAYFAST = 5;//快放 |
|
383 |
public static final int NET_DVR_PLAYSLOW = 6;//慢放 |
|
384 |
public static final int NET_DVR_PLAYNORMAL = 7;//正常速度 |
|
385 |
public static final int NET_DVR_PLAYFRAME = 8;//单帧放 |
|
386 |
public static final int NET_DVR_PLAYSTARTAUDIO = 9;//打开声音 |
|
387 |
public static final int NET_DVR_PLAYSTOPAUDIO = 10;//关闭声音 |
|
388 |
public static final int NET_DVR_PLAYAUDIOVOLUME = 11;//调节音量 |
|
389 |
public static final int NET_DVR_PLAYSETPOS = 12;//改变文件回放的进度 |
|
390 |
public static final int NET_DVR_PLAYGETPOS = 13;//获取文件回放的进度 |
|
391 |
public static final int NET_DVR_PLAYGETTIME = 14;//获取当前已经播放的时间(按文件回放的时候有效) |
|
392 |
public static final int NET_DVR_PLAYGETFRAME = 15;//获取当前已经播放的帧数(按文件回放的时候有效) |
|
393 |
public static final int NET_DVR_GETTOTALFRAMES = 16;//获取当前播放文件总的帧数(按文件回放的时候有效) |
|
394 |
public static final int NET_DVR_GETTOTALTIME = 17;//获取当前播放文件总的时间(按文件回放的时候有效) |
|
395 |
public static final int NET_DVR_THROWBFRAME = 20;//丢B帧 |
|
396 |
public static final int NET_DVR_SETSPEED = 24;//设置码流速度 |
|
397 |
public static final int NET_DVR_KEEPALIVE = 25;//保持与设备的心跳(如果回调阻塞,建议2秒发送一次) |
|
398 |
public static final int NET_DVR_SET_TRANS_TYPE = 32; //设置转码格式 |
|
399 |
|
|
400 |
//远程按键定义如下: |
|
401 |
/* key value send to CONFIG program */ |
|
402 |
public static final int KEY_CODE_1 = 1; |
|
403 |
public static final int KEY_CODE_2 = 2; |
|
404 |
public static final int KEY_CODE_3 = 3; |
|
405 |
public static final int KEY_CODE_4 = 4; |
|
406 |
public static final int KEY_CODE_5 = 5; |
|
407 |
public static final int KEY_CODE_6 = 6; |
|
408 |
public static final int KEY_CODE_7 = 7; |
|
409 |
public static final int KEY_CODE_8 = 8; |
|
410 |
public static final int KEY_CODE_9 = 9; |
|
411 |
public static final int KEY_CODE_0 = 10; |
|
412 |
public static final int KEY_CODE_POWER = 11; |
|
413 |
public static final int KEY_CODE_MENU = 12; |
|
414 |
public static final int KEY_CODE_ENTER = 13; |
|
415 |
public static final int KEY_CODE_CANCEL = 14; |
|
416 |
public static final int KEY_CODE_UP = 15; |
|
417 |
public static final int KEY_CODE_DOWN = 16; |
|
418 |
public static final int KEY_CODE_LEFT = 17; |
|
419 |
public static final int KEY_CODE_RIGHT = 18; |
|
420 |
public static final int KEY_CODE_EDIT = 19; |
|
421 |
public static final int KEY_CODE_ADD = 20; |
|
422 |
public static final int KEY_CODE_MINUS = 21; |
|
423 |
public static final int KEY_CODE_PLAY = 22; |
|
424 |
public static final int KEY_CODE_REC = 23; |
|
425 |
public static final int KEY_CODE_PAN = 24; |
|
426 |
public static final int KEY_CODE_M = 25; |
|
427 |
public static final int KEY_CODE_A = 26; |
|
428 |
public static final int KEY_CODE_F1 = 27; |
|
429 |
public static final int KEY_CODE_F2 = 28; |
|
430 |
|
|
431 |
/* for PTZ control */ |
|
432 |
public static final int KEY_PTZ_UP_START = KEY_CODE_UP; |
|
433 |
public static final int KEY_PTZ_UP_STO = 32; |
|
434 |
public static final int KEY_PTZ_DOWN_START = KEY_CODE_DOWN; |
|
435 |
public static final int KEY_PTZ_DOWN_STOP = 33; |
|
436 |
public static final int KEY_PTZ_LEFT_START = KEY_CODE_LEFT; |
|
437 |
public static final int KEY_PTZ_LEFT_STOP = 34; |
|
438 |
public static final int KEY_PTZ_RIGHT_START = KEY_CODE_RIGHT; |
|
439 |
public static final int KEY_PTZ_RIGHT_STOP = 35; |
|
440 |
public static final int KEY_PTZ_AP1_START = KEY_CODE_EDIT;/* 光圈+ */ |
|
441 |
public static final int KEY_PTZ_AP1_STOP = 36; |
|
442 |
public static final int KEY_PTZ_AP2_START = KEY_CODE_PAN;/* 光圈- */ |
|
443 |
public static final int KEY_PTZ_AP2_STOP = 37; |
|
444 |
public static final int KEY_PTZ_FOCUS1_START = KEY_CODE_A;/* 聚焦+ */ |
|
445 |
public static final int KEY_PTZ_FOCUS1_STOP = 38; |
|
446 |
public static final int KEY_PTZ_FOCUS2_START = KEY_CODE_M;/* 聚焦- */ |
|
447 |
public static final int KEY_PTZ_FOCUS2_STOP = 39; |
|
448 |
public static final int KEY_PTZ_B1_START = 40;/* 变倍+ */ |
|
449 |
public static final int KEY_PTZ_B1_STOP = 41; |
|
450 |
public static final int KEY_PTZ_B2_START = 42;/* 变倍- */ |
|
451 |
public static final int KEY_PTZ_B2_STOP = 43; |
|
452 |
//9000新增 |
|
453 |
public static final int KEY_CODE_11 = 44; |
|
454 |
public static final int KEY_CODE_12 = 45; |
|
455 |
public static final int KEY_CODE_13 = 46; |
|
456 |
public static final int KEY_CODE_14 = 47; |
|
457 |
public static final int KEY_CODE_15 = 48; |
|
458 |
public static final int KEY_CODE_16 = 49; |
|
459 |
/************************* |
|
460 |
* 参数配置命令 begin |
|
461 |
*******************************/ |
|
462 |
//用于NET_DVR_SetDVRConfig和NET_DVR_GetDVRConfig,注意其对应的配置结构 |
|
463 |
public static final int NET_DVR_GET_DEVICECFG = 100; //获取设备参数 |
|
464 |
public static final int NET_DVR_SET_DEVICECFG = 101; //设置设备参数 |
|
465 |
public static final int NET_DVR_GET_DEVICECFG_V40 = 1100; //获取扩展设备参数 |
|
466 |
public static final int NET_DVR_SET_DEVICECFG_V40 = 1101; //设置扩展设备参数 |
|
467 |
public static final int NET_DVR_GET_NETCFG = 102; //获取网络参数 |
|
468 |
public static final int NET_DVR_SET_NETCFG = 103; //设置网络参数 |
|
469 |
public static final int NET_DVR_GET_PICCFG = 104; //获取图象参数 |
|
470 |
public static final int NET_DVR_SET_PICCFG = 105; //设置图象参数 |
|
471 |
public static final int NET_DVR_GET_COMPRESSCFG = 106; //获取压缩参数 |
|
472 |
public static final int NET_DVR_SET_COMPRESSCFG = 107; //设置压缩参数 |
|
473 |
public static final int NET_DVR_GET_RECORDCFG = 108; //获取录像时间参数 |
|
474 |
public static final int NET_DVR_SET_RECORDCFG = 109; //设置录像时间参数 |
|
475 |
public static final int NET_DVR_GET_DECODERCFG = 110; //获取解码器参数 |
|
476 |
public static final int NET_DVR_SET_DECODERCFG = 111; //设置解码器参数 |
|
477 |
public static final int NET_DVR_GET_RS232CFG = 112; //获取232串口参数 |
|
478 |
public static final int NET_DVR_SET_RS232CFG = 113; //设置232串口参数 |
|
479 |
public static final int NET_DVR_GET_ALARMINCFG = 114; //获取报警输入参数 |
|
480 |
public static final int NET_DVR_SET_ALARMINCFG = 115; //设置报警输入参数 |
|
481 |
public static final int NET_DVR_GET_ALARMOUTCFG = 116; //获取报警输出参数 |
|
482 |
public static final int NET_DVR_SET_ALARMOUTCFG = 117; //设置报警输出参数 |
|
483 |
public static final int NET_DVR_GET_TIMECFG = 118; //获取DVR时间 |
|
484 |
public static final int NET_DVR_SET_TIMECFG = 119; //设置DVR时间 |
|
485 |
public static final int NET_DVR_GET_PREVIEWCFG = 120; //获取预览参数 |
|
486 |
public static final int NET_DVR_SET_PREVIEWCFG = 121; //设置预览参数 |
|
487 |
public static final int NET_DVR_GET_VIDEOOUTCFG = 122; //获取视频输出参数 |
|
488 |
public static final int NET_DVR_SET_VIDEOOUTCFG = 123; //设置视频输出参数 |
|
489 |
public static final int NET_DVR_GET_USERCFG = 124; //获取用户参数 |
|
490 |
public static final int NET_DVR_SET_USERCFG = 125; //设置用户参数 |
|
491 |
public static final int NET_DVR_GET_EXCEPTIONCFG = 126; //获取异常参数 |
|
492 |
public static final int NET_DVR_SET_EXCEPTIONCFG = 127; //设置异常参数 |
|
493 |
public static final int NET_DVR_GET_ZONEANDDST = 128; //获取时区和夏时制参数 |
|
494 |
public static final int NET_DVR_SET_ZONEANDDST = 129; //设置时区和夏时制参数 |
|
495 |
public static final int NET_DVR_GET_SHOWSTRING = 130; //获取叠加字符参数 |
|
496 |
public static final int NET_DVR_SET_SHOWSTRING = 131; //设置叠加字符参数 |
|
497 |
public static final int NET_DVR_GET_EVENTCOMPCFG = 132; //获取事件触发录像参数 |
|
498 |
public static final int NET_DVR_SET_EVENTCOMPCFG = 133; //设置事件触发录像参数 |
|
499 |
public static final int NET_DVR_GET_AUXOUTCFG = 140; //获取报警触发辅助输出设置(HS设备辅助输出2006-02-28) |
|
500 |
public static final int NET_DVR_SET_AUXOUTCFG = 141; //设置报警触发辅助输出设置(HS设备辅助输出2006-02-28) |
|
501 |
public static final int NET_DVR_GET_PREVIEWCFG_AUX = 142; //获取-s系列双输出预览参数(-s系列双输出2006-04-13) |
|
502 |
public static final int NET_DVR_SET_PREVIEWCFG_AUX = 143; //设置-s系列双输出预览参数(-s系列双输出2006-04-13) |
|
503 |
public static final int NET_DVR_GET_PICCFG_EX = 200; //获取图象参数(SDK_V14扩展命令) |
|
504 |
public static final int NET_DVR_SET_PICCFG_EX = 201; //设置图象参数(SDK_V14扩展命令) |
|
505 |
public static final int NET_DVR_GET_USERCFG_EX = 202; //获取用户参数(SDK_V15扩展命令) |
|
506 |
public static final int NET_DVR_SET_USERCFG_EX = 203; //设置用户参数(SDK_V15扩展命令) |
|
507 |
public static final int NET_DVR_GET_COMPRESSCFG_EX = 204; //获取压缩参数(SDK_V15扩展命令2006-05-15) |
|
508 |
public static final int NET_DVR_SET_COMPRESSCFG_EX = 205; //设置压缩参数(SDK_V15扩展命令2006-05-15) |
|
509 |
public static final int NET_DVR_GET_NETAPPCFG = 222; //获取网络应用参数 NTP/DDNS/EMAIL |
|
510 |
public static final int NET_DVR_SET_NETAPPCFG = 223; //设置网络应用参数 NTP/DDNS/EMAIL |
|
511 |
public static final int NET_DVR_GET_NTPCFG = 224; //获取网络应用参数 NTP |
|
512 |
public static final int NET_DVR_SET_NTPCFG = 225; //设置网络应用参数 NTP |
|
513 |
public static final int NET_DVR_GET_DDNSCFG = 226; //获取网络应用参数 DDNS |
|
514 |
public static final int NET_DVR_SET_DDNSCFG = 227; //设置网络应用参数 DDNS |
|
515 |
//对应NET_DVR_EMAILPARA |
|
516 |
public static final int NET_DVR_GET_EMAILCFG = 228; //获取网络应用参数 EMAIL |
|
517 |
public static final int NET_DVR_SET_EMAILCFG = 229; //设置网络应用参数 EMAIL |
|
518 |
public static final int NET_DVR_GET_NFSCFG = 230; /* NFS disk config */ |
|
519 |
public static final int NET_DVR_SET_NFSCFG = 231; /* NFS disk config */ |
|
520 |
public static final int NET_DVR_GET_SHOWSTRING_EX = 238; //获取叠加字符参数扩展(支持8条字符) |
|
521 |
public static final int NET_DVR_SET_SHOWSTRING_EX = 239; //设置叠加字符参数扩展(支持8条字符) |
|
522 |
public static final int NET_DVR_GET_NETCFG_OTHER = 244; //获取网络参数 |
|
523 |
public static final int NET_DVR_SET_NETCFG_OTHER = 245; //设置网络参数 |
|
524 |
//对应NET_DVR_EMAILCFG结构 |
|
525 |
public static final int NET_DVR_GET_EMAILPARACFG = 250; //Get EMAIL parameters |
|
526 |
public static final int NET_DVR_SET_EMAILPARACFG = 251; //Setup EMAIL parameters |
|
527 |
public static final int NET_DVR_GET_DDNSCFG_EX = 274;//获取扩展DDNS参数 |
|
528 |
public static final int NET_DVR_SET_DDNSCFG_EX = 275;//设置扩展DDNS参数 |
|
529 |
public static final int NET_DVR_SET_PTZPOS = 292; //云台设置PTZ位置 |
|
530 |
public static final int NET_DVR_GET_PTZPOS = 293; //云台获取PTZ位置 |
|
531 |
public static final int NET_DVR_GET_PTZSCOPE = 294;//云台获取PTZ范围 |
|
532 |
|
|
533 |
public static final int NET_DVR_COMPLETE_RESTORE_CTRL = 3420; //设置完全恢复出厂值 |
|
534 |
/*************************** |
|
535 |
* DS9000新增命令(_V30) begin |
|
536 |
*****************************/ |
|
537 |
//网络(NET_DVR_NETCFG_V30结构) |
|
538 |
public static final int NET_DVR_GET_NETCFG_V30 = 1000; //获取网络参数 |
|
539 |
public static final int NET_DVR_SET_NETCFG_V30 = 1001; //设置网络参数 |
|
540 |
//图象(NET_DVR_PICCFG_V30结构) |
|
541 |
public static final int NET_DVR_GET_PICCFG_V30 = 1002; //获取图象参数 |
|
542 |
public static final int NET_DVR_SET_PICCFG_V30 = 1003; //设置图象参数 |
|
543 |
public static final int NET_DVR_GET_PICCFG_V40 = 6179; //获取图象参数 |
|
544 |
public static final int NET_DVR_SET_PICCFG_V40 = 6180; //设置图象参数 |
|
545 |
public static final int NET_DVR_GET_AES_KEY = 6113; //获取设备AES加密密钥 |
|
546 |
//录像时间(NET_DVR_RECORD_V30结构) |
|
547 |
public static final int NET_DVR_GET_RECORDCFG_V30 = 1004; //获取录像参数 |
|
548 |
public static final int NET_DVR_SET_RECORDCFG_V30 = 1005; //设置录像参数 |
|
549 |
//用户(NET_DVR_USER_V30结构) |
|
550 |
public static final int NET_DVR_GET_USERCFG_V30 = 1006; //获取用户参数 |
|
551 |
public static final int NET_DVR_SET_USERCFG_V30 = 1007; //设置用户参数 |
|
552 |
//9000DDNS参数配置(NET_DVR_DDNSPARA_V30结构) |
|
553 |
public static final int NET_DVR_GET_DDNSCFG_V30 = 1010; //获取DDNS(9000扩展) |
|
554 |
public static final int NET_DVR_SET_DDNSCFG_V30 = 1011; //设置DDNS(9000扩展) |
|
555 |
//EMAIL功能(NET_DVR_EMAILCFG_V30结构) |
|
556 |
public static final int NET_DVR_GET_EMAILCFG_V30 = 1012;//获取EMAIL参数 |
|
557 |
public static final int NET_DVR_SET_EMAILCFG_V30 = 1013;//设置EMAIL参数 |
|
558 |
//巡航参数 (NET_DVR_CRUISE_PARA结构) |
|
559 |
public static final int NET_DVR_GET_CRUISE = 1020; |
|
560 |
public static final int NET_DVR_SET_CRUISE = 1021; |
|
561 |
//报警输入结构参数 (NET_DVR_ALARMINCFG_V30结构) |
|
562 |
public static final int NET_DVR_GET_ALARMINCFG_V30 = 1024; |
|
563 |
public static final int NET_DVR_SET_ALARMINCFG_V30 = 1025; |
|
564 |
//报警输出结构参数 (NET_DVR_ALARMOUTCFG_V30结构) |
|
565 |
public static final int NET_DVR_GET_ALARMOUTCFG_V30 = 1026; |
|
566 |
public static final int NET_DVR_SET_ALARMOUTCFG_V30 = 1027; |
|
567 |
//视频输出结构参数 (NET_DVR_VIDEOOUT_V30结构) |
|
568 |
public static final int NET_DVR_GET_VIDEOOUTCFG_V30 = 1028; |
|
569 |
public static final int NET_DVR_SET_VIDEOOUTCFG_V30 = 1029; |
|
570 |
//叠加字符结构参数 (NET_DVR_SHOWSTRING_V30结构) |
|
571 |
public static final int NET_DVR_GET_SHOWSTRING_V30 = 1030; |
|
572 |
public static final int NET_DVR_SET_SHOWSTRING_V30 = 1031; |
|
573 |
//异常结构参数 (NET_DVR_EXCEPTION_V30结构) |
|
574 |
public static final int NET_DVR_GET_EXCEPTIONCFG_V30 = 1034; |
|
575 |
public static final int NET_DVR_SET_EXCEPTIONCFG_V30 = 1035; |
|
576 |
//串口232结构参数 (NET_DVR_RS232CFG_V30结构) |
|
577 |
public static final int NET_DVR_GET_RS232CFG_V30 = 1036; |
|
578 |
public static final int NET_DVR_SET_RS232CFG_V30 = 1037; |
|
579 |
//压缩参数 (NET_DVR_COMPRESSIONCFG_V30结构) |
|
580 |
public static final int NET_DVR_GET_COMPRESSCFG_V30 = 1040; |
|
581 |
public static final int NET_DVR_SET_COMPRESSCFG_V30 = 1041; |
|
582 |
//获取485解码器参数 (NET_DVR_DECODERCFG_V30结构) |
|
583 |
public static final int NET_DVR_GET_DECODERCFG_V30 = 1042; //获取解码器参数 |
|
584 |
public static final int NET_DVR_SET_DECODERCFG_V30 = 1043; //设置解码器参数 |
|
585 |
//获取预览参数 (NET_DVR_PREVIEWCFG_V30结构) |
|
586 |
public static final int NET_DVR_GET_PREVIEWCFG_V30 = 1044; //获取预览参数 |
|
587 |
public static final int NET_DVR_SET_PREVIEWCFG_V30 = 1045; //设置预览参数 |
|
588 |
//辅助预览参数 (NET_DVR_PREVIEWCFG_AUX_V30结构) |
|
589 |
public static final int NET_DVR_GET_PREVIEWCFG_AUX_V30 = 1046; //获取辅助预览参数 |
|
590 |
public static final int NET_DVR_SET_PREVIEWCFG_AUX_V30 = 1047; //设置辅助预览参数 |
|
591 |
//IP接入配置参数 (NET_DVR_IPPARACFG结构) |
|
592 |
public static final int NET_DVR_GET_IPPARACFG = 1048; //获取IP接入配置信息 |
|
593 |
public static final int NET_DVR_SET_IPPARACFG = 1049; //设置IP接入配置信息 |
|
594 |
//IP接入配置参数V40 (NET_DVR_IPPARACFG_V40结构) |
|
595 |
public static final int NET_DVR_GET_IPPARACFG_V40 = 1062; //获取IP接入配置信息 |
|
596 |
public static final int NET_DVR_SET_IPPARACFG_V40 = 1063; //设置IP接入配置信息 |
|
597 |
//IP报警输入接入配置参数 (NET_DVR_IPALARMINCFG结构) |
|
598 |
public static final int NET_DVR_GET_IPALARMINCFG = 1050; //获取IP报警输入接入配置信息 |
|
599 |
public static final int NET_DVR_SET_IPALARMINCFG = 1051; //设置IP报警输入接入配置信息 |
|
600 |
//IP报警输出接入配置参数 (NET_DVR_IPALARMOUTCFG结构) |
|
601 |
public static final int NET_DVR_GET_IPALARMOUTCFG = 1052; //获取IP报警输出接入配置信息 |
|
602 |
public static final int NET_DVR_SET_IPALARMOUTCFG = 1053; //设置IP报警输出接入配置信息 |
|
603 |
//硬盘管理的参数获取 (NET_DVR_HDCFG结构) |
|
604 |
public static final int NET_DVR_GET_HDCFG = 1054; //获取硬盘管理配置参数 |
|
605 |
public static final int NET_DVR_SET_HDCFG = 1055; //设置硬盘管理配置参数 |
|
606 |
//盘组管理的参数获取 (NET_DVR_HDGROUP_CFG结构) |
|
607 |
public static final int NET_DVR_GET_HDGROUP_CFG = 1056; //获取盘组管理配置参数 |
|
608 |
public static final int NET_DVR_SET_HDGROUP_CFG = 1057; //设置盘组管理配置参数 |
|
609 |
//设备编码类型配置(NET_DVR_COMPRESSION_AUDIO结构) |
|
610 |
public static final int NET_DVR_GET_COMPRESSCFG_AUD = 1058; //获取设备语音对讲编码参数 |
|
611 |
public static final int NET_DVR_SET_COMPRESSCFG_AUD = 1059; //设置设备语音对讲编码参数 |
|
612 |
|
|
613 |
public static final int NET_SDK_FINDMEDICALFILE = 3954; //慧影科技智慧医疗查找录像文件 |
|
614 |
public static final int NET_SDK_FINDMEDICALPICTURE = 3955; //慧影科技智慧医疗查找图片文件 |
|
615 |
|
|
616 |
public static final int NET_DVR_GET_RAPIDMOVE_DETECTION = 3539; //获取快速运动侦测配置 |
|
617 |
public static final int NET_DVR_SET_RAPIDMOVE_DETECTION = 3540; //设置快速运动侦测配置 |
|
618 |
|
|
619 |
public static final int NET_DVR_GET_RAPIDMOVE_TRIGGER = 3543; //获取快速运动联动配置 |
|
620 |
public static final int NET_DVR_SET_RAPIDMOVE_TRIGGER = 3544; //设置快速运动联动配置 |
|
621 |
public static final int NET_DVR_GET_RAPIDMOVE_SCHEDULE = 3545; //获取快速运动的布防时间配置 |
|
622 |
public static final int NET_DVR_SET_RAPIDMOVE_SCHEDULE = 3546; //设置快速运动的布防时间配置 |
|
623 |
|
|
624 |
public static final int NET_DVR_GET_PRESET_NAME = 3383; //获取预置点名称 |
|
625 |
public static final int NET_DVR_SET_PRESET_NAME = 3382; //设置预置点名称 |
|
626 |
public static final int NET_DVR_GET_RULECFG_V42 = 5049; //获取行为分析参数(支持16条规则扩展) |
|
627 |
public static final int NET_DVR_SET_RULECFG_V42 = 5050; //设置行为分析参数(支持16条规则扩展) |
|
628 |
|
|
629 |
//车牌识别(NET_VCA_PLATE_CFG); |
|
630 |
public static final int NET_DVR_SET_PLATECFG = 150;//设置车牌识别参数 |
|
631 |
|
|
632 |
public static final int NET_DVR_GET_PLATECFG = 151; //获取车牌识别参数 |
|
633 |
//行为对应(NET_VCA_RULECFG) |
|
634 |
public static final int NET_DVR_SET_RULECFG = 152; //设置行为分析规则 |
|
635 |
public static final int NET_DVR_GET_RULECFG = 153;//获取行为分析规则 |
|
636 |
//双摄像机标定参数(NET_DVR_LF_CFG) |
|
637 |
public static final int NET_DVR_SET_LF_CFG = 160;//设置双摄像机的配置参数 |
|
638 |
public static final int NET_DVR_GET_LF_CFG = 161;//获取双摄像机的配置参数 |
|
639 |
//智能分析仪取流配置结构 |
|
640 |
public static final int NET_DVR_SET_IVMS_STREAMCFG = 162; //设置智能分析仪取流参数 |
|
641 |
public static final int NET_DVR_GET_IVMS_STREAMCFG = 163; //获取智能分析仪取流参数 |
|
642 |
//智能控制参数结构 |
|
643 |
public static final int NET_DVR_SET_VCA_CTRLCFG = 164; //设置智能控制参数 |
|
644 |
public static final int NET_DVR_GET_VCA_CTRLCFG = 165; //获取智能控制参数 |
|
645 |
//屏蔽区域NET_VCA_MASK_REGION_LIST |
|
646 |
public static final int NET_DVR_SET_VCA_MASK_REGION = 166; //设置屏蔽区域参数 |
|
647 |
public static final int NET_DVR_GET_VCA_MASK_REGION = 167; //获取屏蔽区域参数 |
|
648 |
//ATM进入区域 NET_VCA_ENTER_REGION |
|
649 |
public static final int NET_DVR_SET_VCA_ENTER_REGION = 168; //设置进入区域参数 |
|
650 |
public static final int NET_DVR_GET_VCA_ENTER_REGION = 169; //获取进入区域参数 |
|
651 |
//标定线配置NET_VCA_LINE_SEGMENT_LIST |
|
652 |
public static final int NET_DVR_SET_VCA_LINE_SEGMENT = 170; //设置标定线 |
|
653 |
public static final int NET_DVR_GET_VCA_LINE_SEGMENT = 171; //获取标定线 |
|
654 |
// ivms屏蔽区域NET_IVMS_MASK_REGION_LIST |
|
655 |
public static final int NET_DVR_SET_IVMS_MASK_REGION = 172; //设置IVMS屏蔽区域参数 |
|
656 |
public static final int NET_DVR_GET_IVMS_MASK_REGION = 173; //获取IVMS屏蔽区域参数 |
|
657 |
// ivms进入检测区域NET_IVMS_ENTER_REGION |
|
658 |
public static final int NET_DVR_SET_IVMS_ENTER_REGION = 174; //设置IVMS进入区域参数 |
|
659 |
public static final int NET_DVR_GET_IVMS_ENTER_REGION = 175; //获取IVMS进入区域参数 |
|
660 |
public static final int NET_DVR_SET_IVMS_BEHAVIORCFG = 176;//设置智能分析仪行为规则参数 |
|
661 |
public static final int NET_DVR_GET_IVMS_BEHAVIORCFG = 177; //获取智能分析仪行为规则参数 |
|
662 |
public static final int NET_DVR_GET_TRAVERSE_PLANE_DETECTION = 3360; //获取越界侦测配置 |
|
663 |
public static final int NET_DVR_SET_TRAVERSE_PLANE_DETECTION = 3361; |
|
664 |
public static final int NET_DVR_GET_FIELD_DETECTION = 3362; //获取区域侦测配置 |
|
665 |
public static final int NET_DVR_SET_FIELD_DETECTION = 3363; //设置区域侦测配置 |
|
666 |
|
|
667 |
public static final int NET_DVR_GET_STREAM_INFO = 6023; //获取已添加流ID信息 |
|
668 |
public static final int NET_DVR_GET_STREAM_RECORD_STATUS = 6021; //获取流状态信息 |
|
669 |
|
|
670 |
public static final int NET_DVR_GET_ALL_VEHICLE_CONTROL_LIST = 3124; //获取所有车辆禁止和允许名单信息 |
|
671 |
public static final int NET_DVR_VEHICLELIST_CTRL_START = 3133; //设置车辆禁止和允许名单信息(批量) |
|
672 |
public static final int ENUM_SENDDATA = 0x0; //发送数据 |
|
673 |
|
|
674 |
public static final int NET_DVR_GET_LEDDISPLAY_CFG = 3673; |
|
675 |
public static final int NET_DVR_SET_LEDDISPLAY_CFG = 3672; |
|
676 |
public static final int NET_DVR_SET_VOICEBROADCAST_CFG = 3675; |
|
677 |
public static final int NET_DVR_SET_CHARGE_ACCOUNTINFO = 3662; |
|
678 |
|
|
679 |
public static final int NET_DVR_GET_TRAFFIC_DATA = 3141; //长连接获取交通数据 |
|
680 |
public static final int NET_DVR_GET_TRAFFIC_FLOW = 3142; //长连接获取交通流量 |
|
681 |
|
|
682 |
public static final int NET_DVR_GET_CCDPARAMCFG_EX = 3368;//获取前端参数(扩展) |
|
683 |
public static final int NET_DVR_SET_CCDPARAMCFG_EX = 3369;//设置前端参数(扩展) |
|
684 |
public static final int NET_DVR_GET_FOCUSMODECFG = 3305;//获取快球聚焦模式信息 |
|
685 |
public static final int NET_DVR_SET_FOCUSMODECFG = 3306;//设置快球聚焦模式信息 |
|
686 |
|
|
687 |
public static final int NET_DVR_GET_SUPPLEMENTLIGHT = 3728; //获取内置补光灯配置协议 |
|
688 |
public static final int NET_DVR_SET_SUPPLEMENTLIGHT = 3729; //设置内置补光灯配置协议 |
|
689 |
|
|
690 |
public static final int NET_DVR_GET_FACECONTRAST_TRIGGER = 3965;//获取人脸比对联动配置 |
|
691 |
public static final int NET_DVR_SET_FACECONTRAST_TRIGGER = 3966;//设置人脸比对联动配置 |
|
692 |
|
|
693 |
public static final int NET_DVR_GET_FACECONTRAST_SCHEDULE = 3968;//获取人脸比对布防时间配置 |
|
694 |
public static final int NET_DVR_SET_FACECONTRAST_SCHEDULE = 3969;//设置人脸比对布防时间配置 |
|
695 |
|
|
696 |
public static final int NET_DVR_INQUEST_GET_CDW_STATUS = 6350; //获取审讯机刻录状态-长连接 |
|
697 |
|
|
698 |
public static final int NET_DVR_GET_REALTIME_THERMOMETRY = 3629; //实时温度检测 |
|
699 |
public static final int NET_DVR_GET_MANUALTHERM_INFO = 6706; //手动测温实时获取 |
|
700 |
public static final int NET_DVR_GET_THERMOMETRY_MODE = 6765;//获取测温模式参数 |
|
701 |
public static final int NET_DVR_SET_THERMOMETRY_MODE = 6766;//设置测温模式参数 |
|
702 |
public static final int NET_DVR_GET_PTZABSOLUTEEX = 6696; |
|
703 |
public static final int NET_DVR_GET_THERMOMETRY_PRESETINFO = 3624; //获取测温预置点关联配置参数 |
|
704 |
public static final int NET_DVR_SET_THERMOMETRY_PRESETINFO = 3625; //设置测温预置点关联配置参数 |
|
705 |
public static final int NET_DVR_GET_THERMOMETRYRULE_TEMPERATURE_INFO = 23001;//手动获取测温规则温度信息 |
|
706 |
public static final int NET_DVR_SET_DEVSERVER_CFG = 3258;//设置模块服务配置 |
|
707 |
|
|
708 |
public static final int NET_DVR_GET_PHY_DISK_INFO = 6306; //获取物理磁盘信息 |
|
709 |
public static final int NET_DVR_GET_WORK_STATUS = 6189; //获取设备工作状态 |
|
710 |
public static final int NET_DVR_GET_MONTHLY_RECORD_DISTRIBUTION = 6164; //获取月历录像分布 |
|
711 |
|
|
712 |
public static final int NET_DVR_GET_CURTRIGGERMODE = 3130; //获取设备当前触发模式 |
|
713 |
public static final int NET_ITC_GET_TRIGGERCFG = 3003; //获取触发参数 |
|
714 |
public static final int NET_ITC_SET_TRIGGERCFG = 3004; //设置触发参数 |
|
715 |
public static final int NET_ITC_GET_VIDEO_TRIGGERCFG = 3017; //获取视频电警触发参数 |
|
716 |
public static final int NET_ITC_SET_VIDEO_TRIGGERCFG = 3018; //设置视频电警触发参数 |
|
717 |
|
|
718 |
public static final int NET_DVR_GET_MULTI_STREAM_COMPRESSIONCFG = 3216;//远程获取多码流压缩参数 |
|
719 |
public static final int NET_DVR_SET_MULTI_STREAM_COMPRESSIONCFG = 3217;//远程设置多码流压缩参数 |
|
720 |
|
|
721 |
public static final int NET_DVR_GET_CMS_CFG = 2070; |
|
722 |
public static final int NET_DVR_SET_CMS_CFG = 2071; |
|
723 |
|
|
724 |
public static final int NET_DVR_GET_ALARM_INFO = 4193; //获取报警事件数据 |
|
725 |
/***************************DS9000新增命令(_V30) end *****************************/ |
|
726 |
|
|
727 |
/*************************参数配置命令 end*******************************/ |
|
728 |
/*************************************人脸识别门禁一体机1.0 begin**************************************/ |
|
729 |
public static final int NET_DVR_GET_CARD_CFG = 2116; //获取卡参数 |
|
730 |
public static final int NET_DVR_SET_CARD_CFG = 2117; //设置卡参数 |
|
731 |
public static final int NET_DVR_GET_CARD_CFG_V50 = 2178; //获取新卡参数(V50) |
|
732 |
public static final int NET_DVR_SET_CARD_CFG_V50 = 2179; //设置新卡参数(V50) |
|
733 |
public static final int NET_DVR_GET_FACE_PARAM_CFG = 2507; //获取人脸参数 |
|
734 |
public static final int NET_DVR_SET_FACE_PARAM_CFG = 2508; //设置人脸参数 |
|
735 |
public static final int NET_DVR_DEL_FACE_PARAM_CFG = 2509; //删除人脸参数 |
|
736 |
public static final int NET_DVR_CLEAR_ACS_PARAM = 2118; //清空门禁主机参数 |
|
737 |
public static final int NET_DVR_DEL_FINGERPRINT_CFG = 2152; //删除指纹参数 |
|
738 |
public static final int NET_DVR_GET_FINGERPRINT_CFG_V50 = 2183; //获取指纹参数V50 |
|
739 |
public static final int NET_DVR_SET_FINGERPRINT_CFG_V50 = 2184; //设置指纹参数V50 |
|
740 |
public static final int NET_DVR_DEL_FINGERPRINT_CFG_V50 = 2517; //删除指纹参数V50 |
|
741 |
public static final int NET_DVR_GET_CARD_RIGHT_WEEK_PLAN_V50 = 2304; //获取卡权限周计划参数V50 |
|
742 |
public static final int NET_DVR_SET_CARD_RIGHT_WEEK_PLAN_V50 = 2305; //设置卡权限周计划参数V50 |
|
743 |
public static final int NET_DVR_GET_CARD_RIGHT_PLAN_TEMPLATE_V50 = 2322; //获取卡权限计划模板参数V50 |
|
744 |
public static final int NET_DVR_SET_CARD_RIGHT_PLAN_TEMPLATE_V50 = 2323;//设置卡权限计划模板参数V50 |
|
745 |
public static final int NET_DVR_SET_DOOR_STATUS_PLAN_TEMPLATE = 2107; //设置门状态计划模板参数 |
|
746 |
public static final int NET_DVR_GET_DOOR_CFG = 2108; //获取门参数 |
|
747 |
public static final int NET_DVR_SET_DOOR_CFG = 2109; //设置门参数 |
|
748 |
public static final int NET_DVR_GET_DOOR_STATUS_PLAN = 2110; //获取门状态计划参数 |
|
749 |
public static final int NET_DVR_SET_DOOR_STATUS_PLAN = 2111; //设置门状态计划参数 |
|
750 |
public static final int NET_DVR_GET_WEEK_PLAN_CFG = 2100; //获取门状态周计划参数 |
|
751 |
public static final int NET_DVR_SET_WEEK_PLAN_CFG = 2101; //设置门状态周计划参数 |
|
752 |
public static final int NET_DVR_GET_EVENT_CARD_LINKAGE_CFG_V50 = 2181; //获取事件卡号联动配置参数(V50) |
|
753 |
public static final int NET_DVR_SET_EVENT_CARD_LINKAGE_CFG_V50 = 2182; //设置事件卡号联动配置参数(V50) |
|
754 |
public static final int NET_DVR_CAPTURE_FACE_INFO = 2510; //采集人脸信息 |
|
755 |
public static final int NET_DVR_CAPTURE_FINGERPRINT_INFO = 2504; //采集指纹信息 |
|
756 |
public static final int NET_DVR_GET_ACS_EVENT = 2514;//设备事件获取 |
|
757 |
public static final int NET_DVR_GET_CARD_READER_CFG_V50 = 2505; //获取读卡器参数(V50) |
|
758 |
public static final int NET_DVR_SET_CARD_READER_CFG_V50 = 2506; //设置读卡器参数(V50) |
|
759 |
public static final int NET_DVR_GET_REGISTER_INFO = 2511; //登记信息获取 |
|
760 |
public static final int NET_DVR_GET_SMSRELATIVEPARA_V50 = 2512; //获取短信相关参数 |
|
761 |
public static final int NET_DVR_SET_SMSRELATIVEPARA_V50 = 2513; //设置短信相关参数 |
|
762 |
public static final int NET_DVR_GET_MULTI_CARD_CFG_V50 = 2515; //获取多重卡参数V50 |
|
763 |
public static final int NET_DVR_SET_MULTI_CARD_CFG_V50 = 2516; //设置多重卡参数V5 |
|
764 |
public static final int NET_DVR_GET_EVENT_CARD_LINKAGE_CFG_V51 = 2518; //获取事件卡号联动配置参数(V51) |
|
765 |
public static final int NET_DVR_SET_EVENT_CARD_LINKAGE_CFG_V51 = 2519; //设置事件卡号联动配置参数(V51) |
|
766 |
|
|
767 |
public static final int NET_DVR_SET_EXAM_INFO = 2530; //考试信息下发 |
|
768 |
public static final int NET_DVR_SET_EXAMINEE_INFO = 2531; //考生信息下发 |
|
769 |
public static final int NET_DVR_SEARCH_EXAM_COMPARE_RESULT = 2532; //考试比对结果查询 |
|
770 |
public static final int NET_DVR_BULK_CHECK_FACE_PICTURE = 2533; //批量校验人脸图片 |
|
771 |
public static final int NET_DVR_JSON_CONFIG = 2550; //JSON透传数据 |
|
772 |
public static final int NET_DVR_FACE_DATA_RECORD = 2551; //添加人脸数据到人脸库 |
|
773 |
public static final int NET_DVR_FACE_DATA_SEARCH = 2552; //查询人脸库中的人脸数据 |
|
774 |
public static final int NET_DVR_FACE_DATA_MODIFY = 2553; //修改人脸库中的人脸数据 |
|
775 |
public static final int NET_DVR_CAPTURE_DATA_SEARCH = 2554; //查询离线采集数据集中数据 |
|
776 |
public static final int NET_DVR_SET_FORM_DATA = 2555; //长连接设置表单数据 |
|
777 |
public static final int NET_DVR_GET_FORM_DATA = 2556; //长连接获取表单数据 |
|
778 |
public static final int NET_DVR_GET_CARD = 2560; |
|
779 |
public static final int NET_DVR_SET_CARD = 2561; |
|
780 |
public static final int NET_DVR_GET_FACE = 2566; |
|
781 |
public static final int NET_DVR_SET_FACE = 2567; |
|
782 |
public static final int NET_DVR_DEL_CARD = 2562; |
|
783 |
public static final int NET_DVR_GET_FINGERPRINT = 2563; |
|
784 |
public static final int NET_DVR_SET_FINGERPRINT = 2564; //下发指纹 |
|
785 |
public static final int NET_DVR_DEL_FINGERPRINT = 2565; //删除指纹 |
|
786 |
public static final int NET_DVR_GET_ACS_WORK_STATUS_V50 = 2180; //获取门禁主机工作状态 |
|
787 |
public static final int NET_DVR_GET_ACS_CFG = 2159; //获取门禁主机参数 |
|
788 |
public static final int NET_DVR_SET_ACS_CFG = 2160; //设置门禁主机参数 |
|
789 |
public static final int NET_DVR_BULK_UPLOAD_ID_BLOCKLIST = 2521; //批量上传身份证禁止名单 |
|
790 |
|
|
791 |
/*************************************人脸识别门禁一体机1.0 end**************************************/ |
|
792 |
public static final int NET_DVR_SET_SENSOR_CFG = 1180;//设置模拟量参数 |
|
793 |
public static final int NET_DVR_GET_SENSOR_CFG = 1181;//获取模拟量参数 |
|
794 |
public static final int NET_DVR_SET_ALARMIN_PARAM = 1182;//设置报警输入参数 |
|
795 |
public static final int NET_DVR_GET_ALARMIN_PARAM = 1183; |
|
796 |
;//获取报警输入参数 |
|
797 |
public static final int NET_DVR_SET_ALARMOUT_PARAM = 1184;//设置报警输出参数 |
|
798 |
public static final int NET_DVR_GET_ALARMOUT_PARAM = 1185;//获取报警输出参数 |
|
799 |
public static final int NET_DVR_SET_SIREN_PARAM = 1186;//设置警号参数 |
|
800 |
public static final int NET_DVR_GET_SIREN_PARAM = 1187;//获取警号参数 |
|
801 |
public static final int NET_DVR_SET_ALARM_RS485CFG = 1188;//设置报警主机485参数 |
|
802 |
public static final int NET_DVR_GET_ALARM_RS485CFG = 1189;//获取报警主机485参数 |
|
803 |
public static final int NET_DVR_GET_ALARMHOST_MAIN_STATUS = 1190;//获取报警主机主要状态 |
|
804 |
public static final int NET_DVR_GET_ALARMHOST_OTHER_STATUS = 1191;//获取报警主机其他状态 |
|
805 |
public static final int NET_DVR_SET_ALARMHOST_ENABLECFG = 1192;//获取报警主机使能状态 |
|
806 |
public static final int NET_DVR_GET_ALARMHOST_ENABLECFG = 1193;//设置报警主机使能状态 |
|
807 |
public static final int NET_DVR_SET_ALARM_CAMCFG = 1194;//设置视频综合平台报警触发CAM操作配置 |
|
808 |
public static final int NET_DVR_GET_ALARM_CAMCFG = 1195;//设置视频综合平台报警触发CAM操作配置 |
|
809 |
public static final int NET_DVR_SET_ALARMHOST_RS485_SLOT_CFG = 2055;// 设置报警主机485槽位参数 |
|
810 |
public static final int NET_DVR_GET_ALARMHOST_RS485_SLOT_CFG = 2056;// 获取报警主机485槽位参数 |
|
811 |
public static final int NET_DVR_SET_VIDEOWALLDISPLAYMODE = 1730;//设置电视墙拼接模式 |
|
812 |
public static final int NET_DVR_GET_VIDEOWALLDISPLAYMODE = 1731;//获取电视墙拼接模式 |
|
813 |
public static final int NET_DVR_GET_VIDEOWALLDISPLAYNO = 1732;//获取设备显示输出号 |
|
814 |
public static final int NET_DVR_SET_VIDEOWALLDISPLAYPOSITION = 1733;//设置显示输出位置参数 |
|
815 |
public static final int NET_DVR_GET_VIDEOWALLDISPLAYPOSITION = 1734;//获取显示输出位置参数 |
|
816 |
public static final int NET_DVR_GET_VIDEOWALLWINDOWPOSITION = 1735;//获取电视墙窗口参数 |
|
817 |
public static final int NET_DVR_SET_VIDEOWALLWINDOWPOSITION = 1736;//设置电视墙窗口参数 |
|
818 |
public static final int NET_DVR_VIDEOWALLWINDOW_CLOSEALL = 1737;//电视墙关闭所有窗口 |
|
819 |
public static final int NET_DVR_SET_VIRTUALLED = 1738;//虚拟LED设置 |
|
820 |
public static final int NET_DVR_GET_VIRTUALLED = 1739;//虚拟LED获取 |
|
821 |
public static final int NET_DVR_GET_IMAGE_CUT_MODE = 1740;//获取图像切割模式 |
|
822 |
public static final int NET_DVR_SET_IMAGE_CUT_MODE = 1741;//设置图像切割模式 |
|
823 |
public static final int NET_DVR_GET_USING_SERIALPORT = 1742;//获取当前使用串口 |
|
824 |
public static final int NET_DVR_SET_USING_SERIALPORT = 1743;//设置当前使用串口 |
|
825 |
public static final int NET_DVR_SCENE_CONTROL = 1744;//场景控制 |
|
826 |
public static final int NET_DVR_GET_CURRENT_SCENE = 1745;//获取当前场景号 |
|
827 |
public static final int NET_DVR_GET_VW_SCENE_PARAM = 1746;//获取电视墙场景模式参数 |
|
828 |
public static final int NET_DVR_SET_VW_SCENE_PARAM = 1747;//设置电视墙场景模式参数 |
|
829 |
public static final int NET_DVR_DISPLAY_CHANNO_CONTROL = 1748;//电视墙显示编号控制 |
|
830 |
public static final int NET_DVR_GET_WIN_DEC_INFO = 1749;//获取窗口解码信息(批量) |
|
831 |
public static final int NET_DVR_RESET_VIDEOWALLDISPLAYPOSITION = 1750; //解除电视墙输出接口绑定 |
|
832 |
public static final int NET_DVR_SET_VW_AUDIO_CFG = 1752; //设置音频切换参数 |
|
833 |
public static final int NET_DVR_GET_VW_AUDIO_CFG = 1753; //获取音频切换参数 |
|
834 |
public static final int NET_DVR_GET_GBT28181_DECCHANINFO_CFG = 1754; //获取GBT28181协议接入设备的解码通道信息 |
|
835 |
public static final int NET_DVR_SET_GBT28181_DECCHANINFO_CFG = 1755; //设置GBT28181协议接入设备的解码通道信息 |
|
836 |
public static final int NET_DVR_SET_MAINBOARD_SERIAL = 1756; //设置主控板串口参数 |
|
837 |
public static final int NET_DVR_GET_MAINBOARD_SERIAL = 1757;//获取主控板串口参数 |
|
838 |
public static final int NET_DVR_GET_SUBBOARD_INFO = 1758; //获取子板信息 |
|
839 |
public static final int NET_DVR_GET_SUBBOARD_EXCEPTION = 1759; //获取异常子板异常信息 |
|
840 |
/*****************************电视墙 start****************************/ |
|
841 |
public static final int NET_DVR_MATRIX_WALL_SET = 9001; //设置电视墙中屏幕参数 |
|
842 |
public static final int NET_DVR_MATRIX_WALL_GET = 9002; //获取电视墙中屏幕参数 |
|
843 |
public static final int NET_DVR_WALLWIN_GET = 9003; //电视墙中获取窗口参数 |
|
844 |
public static final int NET_DVR_WALLWIN_SET = 9004; //电视墙中设置窗口参数 |
|
845 |
public static final int NET_DVR_WALLWINPARAM_SET = 9005; |
|
846 |
; //设置电视墙窗口相关参数 |
|
847 |
public static final int NET_DVR_WALLWINPARAM_GET = 9006; //获取电视墙窗口相关参数 |
|
848 |
public static final int NET_DVR_WALLSCENEPARAM_GET = 9007; //设置场景模式参数 |
|
849 |
public static final int NET_DVR_WALLSCENEPARAM_SET = 9008; //获取场景模式参数 |
|
850 |
public static final int NET_DVR_MATRIX_GETWINSTATUS = 9009; //获取窗口解码状态 |
|
851 |
public static final int NET_DVR_GET_WINASSOCIATEDDEVINFO = 9010; //电视墙中获取对应资源信息 |
|
852 |
public static final int NET_DVR_WALLOUTPUT_GET = 9011; //电视墙中获取显示输出参数 |
|
853 |
public static final int NET_DVR_WALLOUTPUT_SET = 9012; //电视墙中设置显示输出参数 |
|
854 |
public static final int NET_DVR_GET_UNITEDMATRIXSYSTEM = 9013; //电视墙中获取对应资源 |
|
855 |
public static final int NET_DVR_GET_WALL_CFG = 9014; //获取电视墙全局参数 |
|
856 |
public static final int NET_DVR_SET_WALL_CFG = 9015; //设置电视墙全局参数 |
|
857 |
public static final int NET_DVR_CLOSE_ALL_WND = 9016; //关闭所有窗口 |
|
858 |
public static final int NET_DVR_SWITCH_WIN_TOP = 9017; //窗口置顶 |
|
859 |
public static final int NET_DVR_SWITCH_WIN_BOTTOM = 9018; //窗口置底 |
|
860 |
|
|
861 |
public static final int NET_DVR_CLOSE_ALL_WND_V41 = 9019; //电视墙关闭所有窗口v41(有多个电视墙) |
|
862 |
public static final int NET_DVR_GET_WALL_WINDOW_V41 = 9020; //获取电视墙中的窗口v41 |
|
863 |
public static final int NET_DVR_SET_WALL_WINDOW_V41 = 9021; //设置电视墙中的窗口v41 |
|
864 |
public static final int NET_DVR_GET_CURRENT_SCENE_V41 = 9022; //获取当前电视墙中正在使用的场景v41 |
|
865 |
public static final int NET_DVR_GET_WALL_SCENE_PARAM_V41 = 9023; //获取当前电视墙中正在使用的场景v41 |
|
866 |
public static final int NET_DVR_SET_WALL_SCENE_PARAM_V41 = 9024; //设置当前电视墙中正在使用的场景v41 |
|
867 |
public static final int NET_DVR_GET_MATRIX_LOGO_CFG = 9025; //获取logo参数 |
|
868 |
public static final int NET_DVR_SET_MATRIX_LOGO_CFG = 9026; //设置logo参数 |
|
869 |
public static final int NET_DVR_GET_WIN_LOGO_CFG = 9027; //获取窗口logo参数 |
|
870 |
public static final int NET_DVR_SET_WIN_LOGO_CFG = 9028; //设置窗口logo参数 |
|
871 |
public static final int NET_DVR_DELETE_LOGO = 9029; //删除logo |
|
872 |
public static final int NET_DVR_SET_DISPLAY_EFFECT_CFG = 9030; //设置显示输出效果参数v41 |
|
873 |
public static final int NET_DVR_GET_DISPLAY_EFFECT_CFG = 9031; //获取显示输出效果参数v41 |
|
874 |
public static final int NET_DVR_DEC_PLAY_REMOTE_FILE = 9032; //解码播放远程文件 |
|
875 |
public static final int NET_DVR_DEC_PLAY_REMOTE_FILE_V50 = 9314; //解码播放远程文件V50 |
|
876 |
public static final int NET_DVR_GET_WIN_ZOOM_STATUS = 9033; //获取窗口电子放大状态 |
|
877 |
public static final int NET_DVR_GET_ALL_MATRIX_LOGOCFG = 9034; //获取所有logo参数 |
|
878 |
|
|
879 |
/*****************************电视墙 end******************************/ |
|
880 |
|
|
881 |
/******************* |
|
882 |
* 查找文件和日志函数返回值 |
|
883 |
*************************/ |
|
884 |
public static final int NET_DVR_FILE_SUCCESS = 1000; //获得文件信息 |
|
885 |
public static final int NET_DVR_FILE_NOFIND = 1001; //没有文件 |
|
886 |
public static final int NET_DVR_ISFINDING = 1002;//正在查找文件 |
|
887 |
public static final int NET_DVR_NOMOREFILE = 1003;//查找文件时没有更多的文件 |
|
888 |
public static final int NET_DVR_FILE_EXCEPTION = 1004;//查找文件时异常 |
|
889 |
/********************* |
|
890 |
* 回调函数类型 begin |
|
891 |
************************/ |
|
892 |
public static final int COMM_ALARM = 0x1100; //8000报警信息主动上传 |
|
893 |
public static final int COMM_TRADEINFO = 0x1500; //ATMDVR主动上传交易信息 |
|
894 |
public static final int COMM_ALARM_V30 = 0x4000;//9000报警信息主动上传 |
|
895 |
public static final int COMM_ALARM_V40 = 0x4007; |
|
896 |
public static final int COMM_ALARM_RULE = 0x1102;//行为分析信息上传 |
|
897 |
public static final int COMM_ALARM_PDC = 0x1103;//客流量统计报警上传 |
|
898 |
public static final int COMM_UPLOAD_PLATE_RESULT = 0x2800;//交通抓拍结果上传 |
|
899 |
public static final int COMM_ITS_PLATE_RESULT = 0x3050;//交通抓拍的终端图片上传 |
|
900 |
public static final int COMM_IPCCFG = 0x4001;//9000设备IPC接入配置改变报警信息主动上传 |
|
901 |
public static final int COMM_ITS_PARK_VEHICLE = 0x3056;//停车场数据上传 |
|
902 |
public static final int COMM_VEHICLE_CONTROL_ALARM = 0x3059;//车辆报警上传 |
|
903 |
public static final int COMM_ALARM_TFS = 0x1113; //交通取证报警信息 |
|
904 |
public static final int COMM_ALARM_TPS_V41 = 0x1114; //交通事件报警信息扩展 |
|
905 |
public static final int COMM_ALARM_AID_V41 = 0x1115; //交通事件报警信息扩展 |
|
906 |
public static final int COMM_UPLOAD_FACESNAP_RESULT = 0x1112; //人脸识别结果上传 |
|
907 |
public static final int COMM_SNAP_MATCH_ALARM = 0x2902; //人脸比对结果上传 |
|
908 |
public static final int COMM_ALARM_ACS = 0x5002; //门禁主机报警信息 |
|
909 |
public static final int COMM_ID_INFO_ALARM = 0x5200; //门禁身份证刷卡信息 |
|
910 |
public static final int COMM_VCA_ALARM = 0x4993; //智能检测通用报警 |
|
911 |
public static final int COMM_ISAPI_ALARM = 0x6009;//ISAPI协议报警信息 |
|
912 |
public static final int COMM_ALARM_TPS_STATISTICS = 0x3082; //TPS统计过车数据上传 |
|
913 |
public static final int COMM_ALARM_TPS_REAL_TIME = 0x3081; //TPS实时过车数据上传 |
|
914 |
public static final int COMM_ALARMHOST_CID_ALARM = 0x1127; //报告报警上传 |
|
915 |
public static final int COMM_SENSOR_VALUE_UPLOAD = 0x1120; //模拟量数据实时上传 |
|
916 |
public static final int COMM_SENSOR_ALARM = 0x1121; //模拟量报警上传 |
|
917 |
public static final int COMM_SWITCH_ALARM = 0x1122; //开关量报警 |
|
918 |
public static final int COMM_ALARMHOST_EXCEPTION = 0x1123; //报警主机故障报警 |
|
919 |
public static final int COMM_ALARMHOST_OPERATEEVENT_ALARM = 0x1124; //操作事件报警上传 |
|
920 |
public static final int COMM_ALARMHOST_SAFETYCABINSTATE = 0x1125; //防护舱状态 |
|
921 |
public static final int COMM_ALARMHOST_ALARMOUTSTATUS = 0x1126; //报警输出口/警号状态 |
|
922 |
public static final int COMM_ALARMHOST_DATA_UPLOAD = 0x1129; //报警数据上传 |
|
923 |
|
|
924 |
public static final int COMM_UPLOAD_VIDEO_INTERCOM_EVENT = 0x1132; //可视对讲事件记录上传 |
|
925 |
public static final int COMM_ALARM_VIDEO_INTERCOM = 0x1133; //可视对讲报警上传 |
|
926 |
public static final int COMM_THERMOMETRY_ALARM = 0x5212; //温度报警上传 |
|
927 |
public static final int COMM_FIREDETECTION_ALARM = 0x4991; //火点报警上传 |
|
928 |
public static final int COMM_THERMOMETRY_DIFF_ALARM = 0x5111; //温差报警 |
|
929 |
public static final int COMM_ALARM_SHIPSDETECTION = 0x4521; //船只检测报警 |
|
930 |
public static final int COMM_UPLOAD_AIOP_VIDEO = 0x4021; //设备支持AI开放平台接入,上传视频检测数据 |
|
931 |
public static final int COMM_UPLOAD_AIOP_PICTURE = 0x4022; //设备支持AI开放平台接入,上传图片检测数据 |
|
932 |
public static final int COMM_UPLOAD_AIOP_POLLING_SNAP = 0x4023; //设备支持AI开放平台接入,上传轮巡抓图图片检测数据 对应的结构体(NET_AIOP_POLLING_PICTURE_HEAD) |
|
933 |
public static final int COMM_UPLOAD_AIOP_POLLING_VIDEO = 0x4024; //设备支持AI开放平台接入,上传轮巡视频检测数据 对应的结构体(NET_AIOP_POLLING_VIDEO_HEAD) |
|
934 |
public static final int COMM_IPC_AUXALARM_RESULT = 0x2820; //PIR报警、无线报警、呼救报警信息 |
|
935 |
/************* |
|
936 |
* 操作异常类型(消息方式, 回调方式(保留)) |
|
937 |
****************/ |
|
938 |
public static final int EXCEPTION_EXCHANGE = 0x8000;//用户交互时异常 |
|
939 |
public static final int EXCEPTION_AUDIOEXCHANGE = 0x8001;//语音对讲异常 |
|
940 |
public static final int EXCEPTION_ALARM = 0x8002;//报警异常 |
|
941 |
public static final int EXCEPTION_PREVIEW = 0x8003;//网络预览异常 |
|
942 |
public static final int EXCEPTION_SERIAL = 0x8004;//透明通道异常 |
|
943 |
public static final int EXCEPTION_RECONNECT = 0x8005; //预览时重连 |
|
944 |
public static final int EXCEPTION_ALARMRECONNECT = 0x8006;//报警时重连 |
|
945 |
public static final int EXCEPTION_SERIALRECONNECT = 0x8007;//透明通道重连 |
|
946 |
public static final int EXCEPTION_PLAYBACK = 0x8010;//回放异常 |
|
947 |
public static final int EXCEPTION_DISKFMT = 0x8011;//硬盘格式化 |
|
948 |
/******************** |
|
949 |
* 预览回调函数 |
|
950 |
*********************/ |
|
951 |
public static final int NET_DVR_SYSHEAD = 1;//系统头数据 |
|
952 |
public static final int NET_DVR_STREAMDATA = 2;//视频流数据(包括复合流和音视频分开的视频流数据) |
|
953 |
public static final int NET_DVR_AUDIOSTREAMDATA = 3;//音频流数据 |
|
954 |
public static final int NET_DVR_STD_VIDEODATA = 4;//标准视频流数据 |
|
955 |
public static final int NET_DVR_STD_AUDIODATA = 5;//标准音频流数据 |
|
956 |
//回调预览中的状态和消息 |
|
957 |
public static final int NET_DVR_REALPLAYEXCEPTION = 111;//预览异常 |
|
958 |
public static final int NET_DVR_REALPLAYNETCLOSE = 112;//预览时连接断开 |
|
959 |
public static final int NET_DVR_REALPLAY5SNODATA = 113;//预览5s没有收到数据 |
|
960 |
public static final int NET_DVR_REALPLAYRECONNECT = 114;//预览重连 |
|
961 |
/******************** |
|
962 |
* 回放回调函数 |
|
963 |
*********************/ |
|
964 |
public static final int NET_DVR_PLAYBACKOVER = 101;//回放数据播放完毕 |
|
965 |
public static final int NET_DVR_PLAYBACKEXCEPTION = 102;//回放异常 |
|
966 |
public static final int NET_DVR_PLAYBACKNETCLOSE = 103;//回放时候连接断开 |
|
967 |
public static final int NET_DVR_PLAYBACK5SNODATA = 104; //回放5s没有收到数据 |
|
968 |
/********************* |
|
969 |
* 回调函数类型 end |
|
970 |
************************/ |
|
971 |
//设备型号(DVR类型) |
|
972 |
/* 设备类型 */ |
|
973 |
public static final int DVR = 1; /*对尚未定义的dvr类型返回NETRET_DVR*/ |
|
974 |
public static final int ATMDVR = 2; /*atm dvr*/ |
|
975 |
public static final int DVS = 3; /*DVS*/ |
|
976 |
public static final int DEC = 4; /* 6001D */ |
|
977 |
public static final int ENC_DEC = 5; /* 6001F */ |
|
978 |
public static final int DVR_HC = 6; /*8000HC*/ |
|
979 |
public static final int DVR_HT = 7; /*8000HT*/ |
|
980 |
public static final int DVR_HF = 8; /*8000HF*/ |
|
981 |
public static final int DVR_HS = 9; /* 8000HS DVR(no audio) */ |
|
982 |
public static final int DVR_HTS = 10; /* 8016HTS DVR(no audio) */ |
|
983 |
public static final int DVR_HB = 11; /* HB DVR(SATA HD) */ |
|
984 |
public static final int DVR_HCS = 12; /* 8000HCS DVR */ |
|
985 |
public static final int DVS_A = 13; /* 带ATA硬盘的DVS */ |
|
986 |
public static final int DVR_HC_S = 14; /* 8000HC-S */ |
|
987 |
public static final int DVR_HT_S = 15; /* 8000HT-S */ |
|
988 |
public static final int DVR_HF_S = 16; /* 8000HF-S */ |
|
989 |
public static final int DVR_HS_S = 17; /* 8000HS-S */ |
|
990 |
public static final int ATMDVR_S = 18; /* ATM-S */ |
|
991 |
public static final int LOWCOST_DVR = 19; /*7000H系列*/ |
|
992 |
public static final int DEC_MAT = 20; /*多路解码器*/ |
|
993 |
public static final int DVR_MOBILE = 21; /* mobile DVR */ |
|
994 |
public static final int DVR_HD_S = 22; /* 8000HD-S */ |
|
995 |
public static final int DVR_HD_SL = 23; /* 8000HD-SL */ |
|
996 |
public static final int DVR_HC_SL = 24; /* 8000HC-SL */ |
|
997 |
public static final int DVR_HS_ST = 25; /* 8000HS_ST */ |
|
998 |
public static final int DVS_HW = 26; /* 6000HW */ |
|
999 |
public static final int IPCAM = 30; /*IP 摄像机*/ |
|
1000 |
public static final int MEGA_IPCAM = 31; /*X52MF系列,752MF,852MF*/ |
|
1001 |
public static final int IPCAM_X62MF = 32; /*X62MF系列可接入9000设备,762MF,862MF*/ |
|
1002 |
public static final int IPDOME = 40; /*IP标清快球*/ |
|
1003 |
public static final int MEGA_IPDOME = 41; /*IP高清快球*/ |
|
1004 |
public static final int IPMOD = 50; /*IP 模块*/ |
|
1005 |
public static final int DS71XX_H = 71; /* DS71XXH_S */ |
|
1006 |
public static final int DS72XX_H_S = 72; /* DS72XXH_S */ |
|
1007 |
public static final int DS73XX_H_S = 73; /* DS73XXH_S */ |
|
1008 |
public static final int DS81XX_HS_S = 81; /* DS81XX_HS_S */ |
|
1009 |
public static final int DS81XX_HL_S = 82; /* DS81XX_HL_S */ |
|
1010 |
public static final int DS81XX_HC_S = 83; /* DS81XX_HC_S */ |
|
1011 |
public static final int DS81XX_HD_S = 84; /* DS81XX_HD_S */ |
|
1012 |
public static final int DS81XX_HE_S = 85; /* DS81XX_HE_S */ |
|
1013 |
public static final int DS81XX_HF_S = 86; /* DS81XX_HF_S */ |
|
1014 |
public static final int DS81XX_AH_S = 87; /* DS81XX_AH_S */ |
|
1015 |
public static final int DS81XX_AHF_S = 88; /* DS81XX_AHF_S */ |
|
1016 |
public static final int DS90XX_HF_S = 90; /*DS90XX_HF_S*/ |
|
1017 |
public static final int DS91XX_HF_S = 91; /*DS91XX_HF_S*/ |
|
1018 |
public static final int DS91XX_HD_S = 92; /*91XXHD-S(MD)*/ |
|
1019 |
|
|
1020 |
/* 操作 */ |
|
1021 |
//主类型 |
|
1022 |
public static final int MAJOR_OPERATION = 0x3; |
|
1023 |
//次类型 |
|
1024 |
public static final int MINOR_START_DVR = 0x41; /* 开机 */ |
|
1025 |
public static final int MINOR_STOP_DVR = 0x42;/* 关机 */ |
|
1026 |
public static final int MINOR_STOP_ABNORMAL = 0x43;/* 异常关机 */ |
|
1027 |
public static final int MINOR_REBOOT_DVR = 0x44; /*本地重启设备*/ |
|
1028 |
public static final int MINOR_LOCAL_LOGIN = 0x50; /* 本地登陆 */ |
|
1029 |
public static final int MINOR_LOCAL_LOGOUT = 0x51; /* 本地注销登陆 */ |
|
1030 |
public static final int MINOR_LOCAL_CFG_PARM = 0x52; /* 本地配置参数 */ |
|
1031 |
public static final int MINOR_LOCAL_PLAYBYFILE = 0x53; /* 本地按文件回放或下载 */ |
|
1032 |
public static final int MINOR_LOCAL_PLAYBYTIME = 0x54; /* 本地按时间回放或下载*/ |
|
1033 |
public static final int MINOR_LOCAL_START_REC = 0x55; /* 本地开始录像 */ |
|
1034 |
public static final int MINOR_LOCAL_STOP_REC = 0x56; /* 本地停止录像 */ |
|
1035 |
public static final int MINOR_LOCAL_PTZCTRL = 0x57; /* 本地云台控制 */ |
|
1036 |
public static final int MINOR_LOCAL_PREVIEW = 0x58;/* 本地预览 (保留不使用)*/ |
|
1037 |
public static final int MINOR_LOCAL_MODIFY_TIME = 0x59;/* 本地修改时间(保留不使用) */ |
|
1038 |
public static final int MINOR_LOCAL_UPGRADE = 0x5a;/* 本地升级 */ |
|
1039 |
public static final int MINOR_LOCAL_RECFILE_OUTPUT = 0x5b; /* 本地备份录象文件 */ |
|
1040 |
public static final int MINOR_LOCAL_FORMAT_HDD = 0x5c; /* 本地初始化硬盘 */ |
|
1041 |
public static final int MINOR_LOCAL_CFGFILE_OUTPUT = 0x5d; /* 导出本地配置文件 */ |
|
1042 |
public static final int MINOR_LOCAL_CFGFILE_INPUT = 0x5e; /* 导入本地配置文件 */ |
|
1043 |
public static final int MINOR_LOCAL_COPYFILE = 0x5f; /* 本地备份文件 */ |
|
1044 |
public static final int MINOR_LOCAL_LOCKFILE = 0x60; /* 本地锁定录像文件 */ |
|
1045 |
public static final int MINOR_LOCAL_UNLOCKFILE = 0x61; /* 本地解锁录像文件 */ |
|
1046 |
public static final int MINOR_LOCAL_DVR_ALARM = 0x62; /* 本地手动清除和触发报警*/ |
|
1047 |
public static final int MINOR_IPC_ADD = 0x63; /* 本地添加IPC */ |
|
1048 |
public static final int MINOR_IPC_DEL = 0x64; /* 本地删除IPC */ |
|
1049 |
public static final int MINOR_IPC_SET = 0x65; /* 本地设置IPC */ |
|
1050 |
public static final int MINOR_LOCAL_START_BACKUP = 0x66; /* 本地开始备份 */ |
|
1051 |
public static final int MINOR_LOCAL_STOP_BACKUP = 0x67;/* 本地停止备份*/ |
|
1052 |
public static final int MINOR_LOCAL_COPYFILE_START_TIME = 0x68;/* 本地备份开始时间*/ |
|
1053 |
public static final int MINOR_LOCAL_COPYFILE_END_TIME = 0x69; /* 本地备份结束时间*/ |
|
1054 |
public static final int MINOR_REMOTE_LOGIN = 0x70;/* 远程登录 */ |
|
1055 |
public static final int MINOR_REMOTE_LOGOUT = 0x71;/* 远程注销登陆 */ |
|
1056 |
public static final int MINOR_REMOTE_START_REC = 0x72;/* 远程开始录像 */ |
|
1057 |
public static final int MINOR_REMOTE_STOP_REC = 0x73;/* 远程停止录像 */ |
|
1058 |
public static final int MINOR_START_TRANS_CHAN = 0x74;/* 开始透明传输 */ |
|
1059 |
public static final int MINOR_STOP_TRANS_CHAN = 0x75; /* 停止透明传输 */ |
|
1060 |
public static final int MINOR_REMOTE_GET_PARM = 0x76;/* 远程获取参数 */ |
|
1061 |
public static final int MINOR_REMOTE_CFG_PARM = 0x77;/* 远程配置参数 */ |
|
1062 |
public static final int MINOR_REMOTE_GET_STATUS = 0x78;/* 远程获取状态 */ |
|
1063 |
public static final int MINOR_REMOTE_ARM = 0x79; /* 远程布防 */ |
|
1064 |
public static final int MINOR_REMOTE_DISARM = 0x7a;/* 远程撤防 */ |
|
1065 |
public static final int MINOR_REMOTE_REBOOT = 0x7b; /* 远程重启 */ |
|
1066 |
public static final int MINOR_START_VT = 0x7c;/* 开始语音对讲 */ |
|
1067 |
public static final int MINOR_STOP_VT = 0x7d;/* 停止语音对讲 */ |
|
1068 |
public static final int MINOR_REMOTE_UPGRADE = 0x7e; /* 远程升级 */ |
|
1069 |
public static final int MINOR_REMOTE_PLAYBYFILE = 0x7f; /* 远程按文件回放 */ |
|
1070 |
public static final int MINOR_REMOTE_PLAYBYTIME = 0x80; /* 远程按时间回放 */ |
|
1071 |
public static final int MINOR_REMOTE_PTZCTRL = 0x81; /* 远程云台控制 */ |
|
1072 |
public static final int MINOR_REMOTE_FORMAT_HDD = 0x82; /* 远程格式化硬盘 */ |
|
1073 |
public static final int MINOR_REMOTE_STOP = 0x83; /* 远程关机 */ |
|
1074 |
public static final int MINOR_REMOTE_LOCKFILE = 0x84;/* 远程锁定文件 */ |
|
1075 |
public static final int MINOR_REMOTE_UNLOCKFILE = 0x85;/* 远程解锁文件 */ |
|
1076 |
public static final int MINOR_REMOTE_CFGFILE_OUTPUT = 0x86; /* 远程导出配置文件 */ |
|
1077 |
public static final int MINOR_REMOTE_CFGFILE_INTPUT = 0x87; /* 远程导入配置文件 */ |
|
1078 |
public static final int MINOR_REMOTE_RECFILE_OUTPUT = 0x88; /* 远程导出录象文件 */ |
|
1079 |
public static final int MINOR_REMOTE_DVR_ALARM = 0x89; /* 远程手动清除和触发报警*/ |
|
1080 |
public static final int MINOR_REMOTE_IPC_ADD = 0x8a; /* 远程添加IPC */ |
|
1081 |
public static final int MINOR_REMOTE_IPC_DEL = 0x8b;/* 远程删除IPC */ |
|
1082 |
public static final int MINOR_REMOTE_IPC_SET = 0x8c; /* 远程设置IPC */ |
|
1083 |
public static final int MINOR_REBOOT_VCA_LIB = 0x8d; /*重启智能库*/ |
|
1084 |
|
|
1085 |
/*日志附加信息*/ |
|
1086 |
//主类型 |
|
1087 |
public static final int MAJOR_INFORMATION = 0x4; /*附加信息*/ |
|
1088 |
//次类型 |
|
1089 |
public static final int MINOR_HDD_INFO = 0xa1;/*硬盘信息*/ |
|
1090 |
public static final int MINOR_SMART_INFO = 0xa2; /*SMART信息*/ |
|
1091 |
public static final int MINOR_REC_START = 0xa3; /*开始录像*/ |
|
1092 |
public static final int MINOR_REC_STOP = 0xa4;/*停止录像*/ |
|
1093 |
public static final int MINOR_REC_OVERDUE = 0xa5;/*过期录像删除*/ |
|
1094 |
public static final int MINOR_LINK_START = 0xa6; // ivms多路解码器等连接前端设备 |
|
1095 |
public static final int MINOR_LINK_STOP = 0xa7;// ivms多路解码器等断开前端设备 |
|
1096 |
//当日志的主类型为MAJOR_OPERATION=03,次类型为MINOR_LOCAL_CFG_PARM=0x52或者MINOR_REMOTE_GET_PARM=0x76或者MINOR_REMOTE_CFG_PARM=0x77时,dwParaType:参数类型有效,其含义如下: |
|
1097 |
public static final int PARA_VIDEOOUT = 0x1; |
|
1098 |
public static final int PARA_IMAGE = 0x2; |
|
1099 |
public static final int PARA_ENCODE = 0x4; |
|
1100 |
public static final int PARA_NETWORK = 0x8; |
|
1101 |
public static final int PARA_ALARM = 0x10; |
|
1102 |
public static final int PARA_EXCEPTION = 0x20; |
|
1103 |
public static final int PARA_DECODER = 0x40; /*解码器*/ |
|
1104 |
public static final int PARA_RS232 = 0x80; |
|
1105 |
public static final int PARA_PREVIEW = 0x100; |
|
1106 |
public static final int PARA_SECURITY = 0x200; |
|
1107 |
public static final int PARA_DATETIME = 0x400; |
|
1108 |
public static final int PARA_FRAMETYPE = 0x800; /*帧格式*/ |
|
1109 |
public static final int PARA_VCA_RULE = 0x1000; //行为规则 |
|
1110 |
//SDK_V222 |
|
1111 |
//智能设备类型 |
|
1112 |
public static final int DS6001_HF_B = 60;//行为分析:DS6001-HF/B |
|
1113 |
public static final int DS6001_HF_P = 61;//车牌识别:DS6001-HF/P |
|
1114 |
public static final int DS6002_HF_B = 62;//双机跟踪:DS6002-HF/B |
|
1115 |
public static final int DS6101_HF_B = 63;//行为分析:DS6101-HF/B |
|
1116 |
public static final int IVMS_2000 = 64;//智能分析仪 |
|
1117 |
public static final int DS9000_IVS = 65;//9000系列智能DVR |
|
1118 |
public static final int DS8004_AHL_A = 66;//智能ATM, DS8004AHL-S/A |
|
1119 |
public static final int DS6101_HF_P = 67;//车牌识别:DS6101-HF/P |
|
1120 |
//能力获取命令 |
|
1121 |
public static final int VCA_DEV_ABILITY = 0x100;//设备智能分析的总能力 |
|
1122 |
public static final int VCA_CHAN_ABILITY = 0x110;//行为分析能力 |
|
1123 |
public static final int DEVICE_ABILITY_INFO = 0x011; //设备通用能力类型,具体能力根据发送的能力节点来区分 |
|
1124 |
public static final int NET_DVR_CHECK_USER_STATUS = 20005; //检测设备是否在线 |
|
1125 |
/**********************设备类型 end***********************/ |
|
1126 |
|
|
1127 |
/************************************************* |
|
1128 |
* 参数配置结构、参数(其中_V30为9000新增) |
|
1129 |
**************************************************/ |
|
1130 |
|
|
1131 |
///////////////////////////////////////////////////////////////////////// |
|
1132 |
//校时结构参数 |
|
1133 |
public static class NET_DVR_TIME extends HIKSDKStructure {//校时结构参数 |
|
1134 |
public int dwYear; //年 |
|
1135 |
public int dwMonth; //月 |
|
1136 |
public int dwDay; //日 |
|
1137 |
public int dwHour; //时 |
|
1138 |
public int dwMinute; //分 |
|
1139 |
public int dwSecond; //秒 |
|
1140 |
|
|
1141 |
public String toString() { |
|
1142 |
return "NET_DVR_TIME.dwYear: " + dwYear + "\n" + "NET_DVR_TIME.dwMonth: \n" + dwMonth + "\n" + "NET_DVR_TIME.dwDay: \n" + dwDay + "\n" + "NET_DVR_TIME.dwHour: \n" + dwHour + "\n" + "NET_DVR_TIME.dwMinute: \n" + dwMinute + "\n" + "NET_DVR_TIME.dwSecond: \n" + dwSecond; |
|
1143 |
} |
|
1144 |
|
|
1145 |
//用于列表中显示 |
|
1146 |
public String toStringTime() { |
|
1147 |
return String.format("%02d/%02d/%02d%02d:%02d:%02d", dwYear, dwMonth, dwDay, dwHour, dwMinute, dwSecond); |
|
1148 |
} |
|
1149 |
|
|
1150 |
//存储文件名使用 |
|
1151 |
public String toStringTitle() { |
|
1152 |
return String.format("Time%02d%02d%02d%02d%02d%02d", dwYear, dwMonth, dwDay, dwHour, dwMinute, dwSecond); |
|
1153 |
} |
|
1154 |
} |
|
1155 |
|
|
1156 |
public static class NET_DVR_SCHEDTIME extends HIKSDKStructure { |
|
1157 |
public byte byStartHour; //开始时间 |
|
1158 |
public byte byStartMin; |
|
1159 |
public byte byStopHour; //结束时间 |
|
1160 |
public byte byStopMin; |
|
1161 |
|
|
1162 |
|
|
1163 |
} |
|
1164 |
|
|
1165 |
public static class NET_DVR_HANDLEEXCEPTION_V30 extends HIKSDKStructure { |
|
1166 |
public int dwHandleType; /*处理方式,处理方式的"或"结果*//*0x00: 无响应*//*0x01: 监视器上警告*//*0x02: 声音警告*//*0x04: 上传中心*/ /*0x08: 触发报警输出*//*0x20: 触发抓图*/ //(JPEG定制) |
|
1167 |
public byte[] byRelAlarmOut = new byte[MAX_ALARMOUT_V30]; //报警触发的输出通道,报警触发的输出,为1表示触发该输出 |
|
1168 |
|
|
1169 |
} |
|
1170 |
|
|
1171 |
//报警和异常处理结构(子结构)(多处使用) |
|
1172 |
public static class NET_DVR_HANDLEEXCEPTION extends HIKSDKStructure { |
|
1173 |
public int dwHandleType; /*处理方式,处理方式的"或"结果*//*0x00: 无响应*//*0x01: 监视器上警告*//*0x02: 声音警告*//*0x04: 上传中心*/ /*0x08: 触发报警输出*//*0x20: 触发抓图*/ //(JPEG定制) |
|
1174 |
public byte[] byRelAlarmOut = new byte[MAX_ALARMOUT]; //报警触发的输出通道,报警触发的输出,为1表示触发该输出 |
|
1175 |
|
|
1176 |
} |
|
1177 |
|
|
1178 |
//DVR设备参数 |
|
1179 |
public static class NET_DVR_DEVICECFG extends HIKSDKStructure { |
|
1180 |
public int dwSize; |
|
1181 |
public byte[] sDVRName = new byte[NAME_LEN]; //DVR名称 |
|
1182 |
public int dwDVRID; //DVR ID,用于遥控器 //V1.4(0-99), V1.5(0-255) |
|
1183 |
public int dwRecycleRecord; //是否循环录像,0:不是; 1:是 |
|
1184 |
//以下不可更改 |
|
1185 |
public byte[] sSerialNumber = new byte[SERIALNO_LEN]; //序列号 |
|
1186 |
public int dwSoftwareVersion; //软件版本号,高16位是主版本,低16位是次版本 |
|
1187 |
public int dwSoftwareBuildDate; //软件生成日期,0xYYYYMMDD |
|
1188 |
public int dwDSPSoftwareVersion; //DSP软件版本,高16位是主版本,低16位是次版本 |
|
1189 |
public int dwDSPSoftwareBuildDate; // DSP软件生成日期,0xYYYYMMDD |
|
1190 |
public int dwPanelVersion; // 前面板版本,高16位是主版本,低16位是次版本 |
|
1191 |
public int dwHardwareVersion; // 硬件版本,高16位是主版本,低16位是次版本 |
|
1192 |
public byte byAlarmInPortNum; //DVR报警输入个数 |
|
1193 |
public byte byAlarmOutPortNum; //DVR报警输出个数 |
|
1194 |
public byte byRS232Num; //DVR 232串口个数 |
|
1195 |
public byte byRS485Num; //DVR 485串口个数 |
|
1196 |
public byte byNetworkPortNum; //网络口个数 |
|
1197 |
public byte byDiskCtrlNum; //DVR 硬盘控制器个数 |
|
1198 |
public byte byDiskNum; //DVR 硬盘个数 |
|
1199 |
public byte byDVRType; //DVR类型, 1:DVR 2:ATM DVR 3:DVS ...... |
|
1200 |
public byte byChanNum; //DVR 通道个数 |
|
1201 |
public byte byStartChan; //起始通道号,例如DVS-1,DVR - 1 |
|
1202 |
public byte byDecordChans; //DVR 解码路数 |
|
1203 |
public byte byVGANum; //VGA口的个数 |
|
1204 |
public byte byUSBNum; //USB口的个数 |
|
1205 |
public byte byAuxoutNum; //辅口的个数 |
|
1206 |
public byte byAudioNum; //语音口的个数 |
|
1207 |
public byte byIPChanNum; //最大数字通道数 |
|
1208 |
|
|
1209 |
|
|
1210 |
} |
|
1211 |
|
|
1212 |
//DVR设备参数 |
|
1213 |
public static class NET_DVR_DEVICECFG_V40 extends HIKSDKStructure { |
|
1214 |
public int dwSize; |
|
1215 |
public byte[] sDVRName = new byte[NAME_LEN]; //DVR名称 |
|
1216 |
public int dwDVRID; //DVR ID,用于遥控器 //V1.4(0-99), V1.5(0-255) |
|
1217 |
public int dwRecycleRecord; //是否循环录像,0:不是; 1:是 |
|
1218 |
//以下不可更改 |
|
1219 |
public byte[] sSerialNumber = new byte[SERIALNO_LEN]; //序列号 |
|
1220 |
public int dwSoftwareVersion; //软件版本号,高16位是主版本,低16位是次版本 |
|
1221 |
public int dwSoftwareBuildDate; //软件生成日期,0xYYYYMMDD |
|
1222 |
public int dwDSPSoftwareVersion; //DSP软件版本,高16位是主版本,低16位是次版本 |
|
1223 |
public int dwDSPSoftwareBuildDate; // DSP软件生成日期,0xYYYYMMDD |
|
1224 |
public int dwPanelVersion; // 前面板版本,高16位是主版本,低16位是次版本 |
|
1225 |
public int dwHardwareVersion; // 硬件版本,高16位是主版本,低16位是次版本 |
|
1226 |
public byte byAlarmInPortNum; //DVR报警输入个数 |
|
1227 |
public byte byAlarmOutPortNum; //DVR报警输出个数 |
|
1228 |
public byte byRS232Num; //DVR 232串口个数 |
|
1229 |
public byte byRS485Num; //DVR 485串口个数 |
|
1230 |
public byte byNetworkPortNum; //网络口个数 |
|
1231 |
public byte byDiskCtrlNum; //DVR 硬盘控制器个数 |
|
1232 |
public byte byDiskNum; //DVR 硬盘个数 |
|
1233 |
public byte byDVRType; //DVR类型, 1:DVR 2:ATM DVR 3:DVS ...... |
|
1234 |
public byte byChanNum; //DVR 通道个数 |
|
1235 |
public byte byStartChan; //起始通道号,例如DVS-1,DVR - 1 |
|
1236 |
public byte byDecordChans; //DVR 解码路数 |
|
1237 |
public byte byVGANum; //VGA口的个数 |
|
1238 |
public byte byUSBNum; //USB口的个数 |
|
1239 |
public byte byAuxoutNum; //辅口的个数 |
|
1240 |
public byte byAudioNum; //语音口的个数 |
|
1241 |
public byte byIPChanNum; //最大数字通道数 低8位,高8位见byHighIPChanNum |
|
1242 |
public byte byZeroChanNum; //零通道编码个数 |
|
1243 |
public byte bySupport; //能力,位与结果为0表示不支持,1表示支持, |
|
1244 |
public byte byEsataUseage; //Esata的默认用途,0-默认备份,1-默认录像 |
|
1245 |
public byte byIPCPlug; //0-关闭即插即用,1-打开即插即用 |
|
1246 |
public byte byStorageMode; //0-盘组模式,1-磁盘配额, 2抽帧模式, 3-自动 |
|
1247 |
public byte bySupport1; //能力,位与结果为0表示不支持,1表示支持 |
|
1248 |
public short wDevType;//设备型号 |
|
1249 |
public byte[] byDevTypeName = new byte[DEV_TYPE_NAME_LEN];//设备型号名称 |
|
1250 |
public byte bySupport2; //能力集扩展,位与结果为0表示不支持,1表示支持 |
|
1251 |
//bySupport2 & 0x1, 表示是否支持扩展的OSD字符叠加(终端和抓拍机扩展区分) |
|
1252 |
public byte byAnalogAlarmInPortNum; //模拟报警输入个数 |
|
1253 |
public byte byStartAlarmInNo; //模拟报警输入起始号 |
|
1254 |
public byte byStartAlarmOutNo; //模拟报警输出起始号 |
|
1255 |
public byte byStartIPAlarmInNo; //IP报警输入起始号 |
|
1256 |
public byte byStartIPAlarmOutNo; //IP报警输出起始号 |
|
1257 |
public byte byHighIPChanNum; //数字通道个数,高8位 |
|
1258 |
public byte byEnableRemotePowerOn;//是否启用在设备休眠的状态下远程开机功能,0-不启用,1-启用 |
|
1259 |
public short wDevClass; //设备大类备是属于哪个产品线,0 保留,1-50 DVR,51-100 DVS,101-150 NVR,151-200 IPC,65534 其他,具体分类方法见《设备类型对应序列号和类型值.docx》 |
|
1260 |
public byte[] byRes2 = new byte[6]; //保留 |
|
1261 |
|
|
1262 |
|
|
1263 |
} |
|
1264 |
|
|
1265 |
public static class NET_DVR_IPADDR extends HIKSDKStructure { |
|
1266 |
public byte[] sIpV4 = new byte[16]; |
|
1267 |
public byte[] byRes = new byte[128]; |
|
1268 |
|
|
1269 |
public String toString() { |
|
1270 |
return "NET_DVR_IPADDR.sIpV4: " + new String(sIpV4) + "\n" + "NET_DVR_IPADDR.byRes: " + new String(byRes) + "\n"; |
|
1271 |
} |
|
1272 |
|
|
1273 |
|
|
1274 |
} |
|
1275 |
|
|
1276 |
|
|
1277 |
//网络数据结构(子结构)(9000扩展) |
|
1278 |
public static class NET_DVR_ETHERNET_V30 extends HIKSDKStructure { |
|
1279 |
public NET_DVR_IPADDR struDVRIP; |
|
1280 |
public NET_DVR_IPADDR struDVRIPMask; |
|
1281 |
public int dwNetInterface; |
|
1282 |
public short wDVRPort; |
|
1283 |
public short wMTU; |
|
1284 |
public byte[] byMACAddr = new byte[6]; |
|
1285 |
|
|
1286 |
public String toString() { |
|
1287 |
return "NET_DVR_ETHERNET_V30.struDVRIP: \n" + struDVRIP + "\n" + "NET_DVR_ETHERNET_V30.struDVRIPMask: \n" + struDVRIPMask + "\n" + "NET_DVR_ETHERNET_V30.dwNetInterface: " + dwNetInterface + "\n" + "NET_DVR_ETHERNET_V30.wDVRPort: " + wDVRPort + "\n" + "NET_DVR_ETHERNET_V30.wMTU: " + wMTU + "\n" + "NET_DVR_ETHERNET_V30.byMACAddr: " + new String(byMACAddr) + "\n"; |
|
1288 |
} |
|
1289 |
|
|
1290 |
|
|
1291 |
} |
|
1292 |
|
|
1293 |
public static class NET_DVR_ETHERNET extends HIKSDKStructure {//网络数据结构(子结构) |
|
1294 |
public byte[] sDVRIP = new byte[16]; //DVR IP地址 |
|
1295 |
public byte[] sDVRIPMask = new byte[16]; //DVR IP地址掩码 |
|
1296 |
public int dwNetInterface; //网络接口 1-10MBase-T 2-10MBase-T全双工 3-100MBase-TX 4-100M全双工 5-10M/100M自适应 |
|
1297 |
public short wDVRPort; //端口号 |
|
1298 |
public byte[] byMACAddr = new byte[MACADDR_LEN]; //服务器的物理地址 |
|
1299 |
|
|
1300 |
|
|
1301 |
} |
|
1302 |
|
|
1303 |
public static class NET_DVR_PPPOECFG extends HIKSDKStructure {//PPPoe |
|
1304 |
public int dwPPPoE; |
|
1305 |
public byte[] sPPPoEUser = new byte[32]; |
|
1306 |
public byte[] sPPPoEPassword = new byte[16]; |
|
1307 |
public NET_DVR_IPADDR struPPPoEIP; |
|
1308 |
|
|
1309 |
|
|
1310 |
} |
|
1311 |
|
|
1312 |
public static class NET_DVR_NETCFG_V30 extends HIKSDKStructure { |
|
1313 |
public int dwSize; |
|
1314 |
public NET_DVR_ETHERNET_V30[] struEtherNet = new NET_DVR_ETHERNET_V30[2]; |
|
1315 |
public NET_DVR_IPADDR[] struRes1 = new NET_DVR_IPADDR[2]; |
|
1316 |
public NET_DVR_IPADDR struAlarmHostIpAddr; |
|
1317 |
public short[] wRes2 = new short[2]; |
|
1318 |
public short wAlarmHostIpPort; |
|
1319 |
public byte byUseDhcp; |
|
1320 |
public byte byRes3; |
|
1321 |
public NET_DVR_IPADDR struDnsServer1IpAddr; |
|
1322 |
public NET_DVR_IPADDR struDnsServer2IpAddr; |
|
1323 |
public byte[] byIpResolver = new byte[64]; |
|
1324 |
public short wIpResolverPort; |
|
1325 |
public short wHttpPortNo; |
|
1326 |
public NET_DVR_IPADDR struMulticastIpAddr; |
|
1327 |
public NET_DVR_IPADDR struGatewayIpAddr; |
|
1328 |
public NET_DVR_PPPOECFG struPPPoE; |
|
1329 |
public byte[] byRes = new byte[64]; |
|
1330 |
|
|
1331 |
public String toString() { |
|
1332 |
return "NET_DVR_NETCFG_V30.dwSize: " + dwSize + "\n" + "NET_DVR_NETCFG_V30.struEtherNet[0]: \n" + struEtherNet[0] + "\n" + "NET_DVR_NETCFG_V30.struAlarmHostIpAddr: \n" + struAlarmHostIpAddr + "\n" + "NET_DVR_NETCFG_V30.wAlarmHostIpPort: " + wAlarmHostIpPort + "\n" + "NET_DVR_NETCFG_V30.wHttpPortNo: " + wHttpPortNo + "\n" + "NET_DVR_NETCFG_V30.struGatewayIpAddr: \n" + struGatewayIpAddr + "\n"; |
|
1333 |
} |
|
1334 |
|
|
1335 |
|
|
1336 |
} |
|
1337 |
|
|
1338 |
|
|
1339 |
public static class NET_DVR_NETCFG extends HIKSDKStructure {//网络配置结构 |
|
1340 |
public int dwSize; |
|
1341 |
public NET_DVR_ETHERNET[] struEtherNet = new NET_DVR_ETHERNET[MAX_ETHERNET]; /* 以太网口 */ |
|
1342 |
public byte[] sManageHostIP = new byte[16]; //远程管理主机地址 |
|
1343 |
public short wManageHostPort; //远程管理主机端口号 |
|
1344 |
public byte[] sIPServerIP = new byte[16]; //IPServer服务器地址 |
|
1345 |
public byte[] sMultiCastIP = new byte[16]; //多播组地址 |
|
1346 |
public byte[] sGatewayIP = new byte[16]; //网关地址 |
|
1347 |
public byte[] sNFSIP = new byte[16]; //NFS主机IP地址 |
|
1348 |
public byte[] sNFSDirectory = new byte[PATHNAME_LEN];//NFS目录 |
|
1349 |
public int dwPPPOE; //0-不启用,1-启用 |
|
1350 |
public byte[] sPPPoEUser = new byte[NAME_LEN]; //PPPoE用户名 |
|
1351 |
public byte[] sPPPoEPassword = new byte[PASSWD_LEN];// PPPoE密码 |
|
1352 |
public byte[] sPPPoEIP = new byte[16]; //PPPoE IP地址(只读) |
|
1353 |
|
|
1354 |
|
|
1355 |
} |
|
1356 |
|
|
1357 |
//通道图象结构 |
|
1358 |
public static class NET_DVR_SCHEDTIMEWEEK extends HIKSDKStructure { |
|
1359 |
public NET_DVR_SCHEDTIME[] struAlarmTime = new NET_DVR_SCHEDTIME[8]; |
|
1360 |
|
|
1361 |
|
|
1362 |
} |
|
1363 |
|
|
1364 |
public static class byte96 extends HIKSDKStructure { |
|
1365 |
public byte[] byMotionScope = new byte[96]; |
|
1366 |
|
|
1367 |
|
|
1368 |
} |
|
1369 |
|
|
1370 |
public static class NET_DVR_MOTION_V30 extends HIKSDKStructure {//移动侦测(子结构)(9000扩展) |
|
1371 |
public byte96[] byMotionScope = new byte96[64]; /*侦测区域,0-96位,表示64行,共有96*64个小宏块,为1表示是移动侦测区域,0-表示不是*/ |
|
1372 |
public byte byMotionSensitive; /*移动侦测灵敏度, 0 - 5,越高越灵敏,oxff关闭*/ |
|
1373 |
public byte byEnableHandleMotion; /* 是否处理移动侦测 0-否 1-是*/ |
|
1374 |
public byte byPrecision; /* 移动侦测算法的进度: 0--16*16, 1--32*32, 2--64*64 ... */ |
|
1375 |
public byte reservedData; |
|
1376 |
public NET_DVR_HANDLEEXCEPTION_V30 struMotionHandleType; /* 处理方式 */ |
|
1377 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmTime = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS]; /*布防时间*/ |
|
1378 |
public byte[] byRelRecordChan = new byte[64]; /* 报警触发的录象通道*/ |
|
1379 |
|
|
1380 |
|
|
1381 |
} |
|
1382 |
|
|
1383 |
public static class NET_DVR_MOTION extends HIKSDKStructure {//移动侦测(子结构) |
|
1384 |
public byte[] byMotionScope = new byte[18 * 22]; /*侦测区域,共有22*18个小宏块,为1表示改宏块是移动侦测区域,0-表示不是*/ |
|
1385 |
public byte byMotionSensitive; /*移动侦测灵敏度, 0 - 5,越高越灵敏,0xff关闭*/ |
|
1386 |
public byte byEnableHandleMotion; /* 是否处理移动侦测 */ |
|
1387 |
public byte[] reservedData = new byte[2]; |
|
1388 |
public NET_DVR_HANDLEEXCEPTION strMotionHandleType; /* 处理方式 */ |
|
1389 |
public byte[] byRelRecordChan = new byte[MAX_CHANNUM]; //报警触发的录象通道,为1表示触发该通道 |
|
1390 |
|
|
1391 |
|
|
1392 |
} |
|
1393 |
|
|
1394 |
public static class NET_DVR_HIDEALARM_V30 extends HIKSDKStructure {//遮挡报警 |
|
1395 |
public int dwEnableHideAlarm; /* 是否启动遮挡报警 ,0-否,1-低灵敏度 2-中灵敏度 3-高灵敏度*/ |
|
1396 |
public short wHideAlarmAreaTopLeftX; /* 遮挡区域的x坐标 */ |
|
1397 |
public short wHideAlarmAreaTopLeftY; /* 遮挡区域的y坐标 */ |
|
1398 |
public short wHideAlarmAreaWidth; /* 遮挡区域的宽 */ |
|
1399 |
public short wHideAlarmAreaHeight; /*遮挡区域的高*/ |
|
1400 |
public NET_DVR_HANDLEEXCEPTION_V30 strHideAlarmHandleType; /* 处理方式 */ |
|
1401 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmTime = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS];//布防时间 |
|
1402 |
|
|
1403 |
|
|
1404 |
} |
|
1405 |
|
|
1406 |
public static class NET_DVR_HIDEALARM extends HIKSDKStructure {//遮挡报警(子结构) 区域大小704*576 |
|
1407 |
public int dwEnableHideAlarm; /* 是否启动遮挡报警 ,0-否,1-低灵敏度 2-中灵敏度 3-高灵敏度*/ |
|
1408 |
public short wHideAlarmAreaTopLeftX; /* 遮挡区域的x坐标 */ |
|
1409 |
public short wHideAlarmAreaTopLeftY; /* 遮挡区域的y坐标 */ |
|
1410 |
public short wHideAlarmAreaWidth; /* 遮挡区域的宽 */ |
|
1411 |
public short wHideAlarmAreaHeight; /*遮挡区域的高*/ |
|
1412 |
public NET_DVR_HANDLEEXCEPTION strHideAlarmHandleType; /* 处理方式 */ |
|
1413 |
|
|
1414 |
|
|
1415 |
} |
|
1416 |
|
|
1417 |
public static class NET_DVR_VILOST_V30 extends HIKSDKStructure { //信号丢失报警(子结构)(9000扩展) |
|
1418 |
public byte byEnableHandleVILost; /* 是否处理信号丢失报警 */ |
|
1419 |
public NET_DVR_HANDLEEXCEPTION_V30 strVILostHandleType; /* 处理方式 */ |
|
1420 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmTime = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS];//布防时间 |
|
1421 |
|
|
1422 |
} |
|
1423 |
|
|
1424 |
public static class NET_DVR_VILOST extends HIKSDKStructure { //信号丢失报警(子结构) |
|
1425 |
public byte byEnableHandleVILost; /* 是否处理信号丢失报警 */ |
|
1426 |
public NET_DVR_HANDLEEXCEPTION strVILostHandleType; /* 处理方式 */ |
|
1427 |
|
|
1428 |
} |
|
1429 |
|
|
1430 |
public static class NET_DVR_SHELTER extends HIKSDKStructure { //遮挡区域(子结构) |
|
1431 |
public short wHideAreaTopLeftX; /* 遮挡区域的x坐标 */ |
|
1432 |
public short wHideAreaTopLeftY; /* 遮挡区域的y坐标 */ |
|
1433 |
public short wHideAreaWidth; /* 遮挡区域的宽 */ |
|
1434 |
public short wHideAreaHeight; /* 遮挡区域的高*/ |
|
1435 |
|
|
1436 |
|
|
1437 |
} |
|
1438 |
|
|
1439 |
public static class NET_DVR_COLOR extends HIKSDKStructure { |
|
1440 |
public byte byBrightness; /*亮度,0-255*/ |
|
1441 |
public byte byContrast; /*对比度,0-255*/ |
|
1442 |
public byte bySaturation; /*饱和度,0-255*/ |
|
1443 |
public byte byHue; /*色调,0-255*/ |
|
1444 |
|
|
1445 |
|
|
1446 |
} |
|
1447 |
|
|
1448 |
public static class NET_DVR_VICOLOR extends HIKSDKStructure { |
|
1449 |
public NET_DVR_COLOR[] struColor = new NET_DVR_COLOR[MAX_TIMESEGMENT_V30];/*图象参数(第一个有效,其他三个保留)*/ |
|
1450 |
public NET_DVR_SCHEDTIME[] struHandleTime = new NET_DVR_SCHEDTIME[MAX_TIMESEGMENT_V30];/*处理时间段(保留)*/ |
|
1451 |
|
|
1452 |
|
|
1453 |
} |
|
1454 |
|
|
1455 |
//信号丢失 |
|
1456 |
public static class NET_DVR_VILOST_V40 extends HIKSDKStructure { |
|
1457 |
public int dwEnableVILostAlarm; /* 是否启动信号丢失报警 ,0-否,1-是*/ |
|
1458 |
/* 信号丢失触发报警输出 */ |
|
1459 |
public int dwHandleType; //异常处理,异常处理方式的"或"结果 |
|
1460 |
/*0x00: 无响应*/ |
|
1461 |
/*0x01: 监视器上警告*/ |
|
1462 |
/*0x02: 声音警告*/ |
|
1463 |
/*0x04: 上传中心*/ |
|
1464 |
/*0x08: 触发报警输出*/ |
|
1465 |
/*0x10: 触发JPRG抓图并上传Email*/ |
|
1466 |
/*0x20: 无线声光报警器联动*/ |
|
1467 |
/*0x40: 联动电子地图(目前只有PCNVR支持)*/ |
|
1468 |
/*0x200: 抓图并上传FTP*/ |
|
1469 |
/*0x1000:抓图上传到云*/ |
|
1470 |
public int dwMaxRelAlarmOutChanNum; //触发的报警输出通道数(只读)最大支持数量 |
|
1471 |
public int[] dwRelAlarmOut = new int[MAX_ALARMOUT_V40]; /*触发报警输出号,按值表示,采用紧凑型排列,从下标0 - dwRelAlarmOut -1有效,如果中间遇到0xffffffff,则后续无效*/ |
|
1472 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmTime = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS]; /*布防时间*/ |
|
1473 |
public byte byVILostAlarmThreshold; /*信号丢失报警阈值,当值低于阈值,认为信号丢失,取值0-99*/ |
|
1474 |
public byte[] byRes = new byte[63]; //保留 |
|
1475 |
|
|
1476 |
|
|
1477 |
} |
|
1478 |
|
|
1479 |
public static class NET_DVR_DNMODE extends HIKSDKStructure { |
|
1480 |
public byte byObjectSize;//占比参数(0~100) |
|
1481 |
public byte byMotionSensitive; /*移动侦测灵敏度, 0 - 5,越高越灵敏,0xff关闭*/ |
|
1482 |
public byte[] byRes = new byte[6]; |
|
1483 |
|
|
1484 |
|
|
1485 |
} |
|
1486 |
|
|
1487 |
public static class NET_DVR_MOTION_MULTI_AREAPARAM extends HIKSDKStructure { |
|
1488 |
public byte byAreaNo;//区域编号(IPC- 1~8) |
|
1489 |
public byte[] byRes = new byte[3]; |
|
1490 |
public NET_VCA_RECT struRect = new NET_VCA_RECT();//单个区域的坐标信息(矩形) size = 16; |
|
1491 |
public NET_DVR_DNMODE struDayNightDisable = new NET_DVR_DNMODE();//关闭模式 |
|
1492 |
public NET_DVR_DNMODE struDayModeParam = new NET_DVR_DNMODE();//白天模式 |
|
1493 |
public NET_DVR_DNMODE struNightModeParam = new NET_DVR_DNMODE();//夜晚模式 |
|
1494 |
public byte[] byRes1 = new byte[8]; |
|
1495 |
|
|
1496 |
|
|
1497 |
} |
|
1498 |
|
|
1499 |
public static final int MAX_MULTI_AREA_NUM = 24; |
|
1500 |
|
|
1501 |
public static class NET_DVR_MOTION_MULTI_AREA extends HIKSDKStructure { |
|
1502 |
public byte byDayNightCtrl;//日夜控制 0~关闭,1~自动切换,2~定时切换(默认关闭) |
|
1503 |
public byte byAllMotionSensitive; /*移动侦测灵敏度, 0 - 5,越高越灵敏,0xff关闭,全部区域的灵敏度范围*/ |
|
1504 |
public byte[] byRes = new byte[2];// |
|
1505 |
public NET_DVR_SCHEDULE_DAYTIME struScheduleTime = new NET_DVR_SCHEDULE_DAYTIME();//切换时间 16 |
|
1506 |
public NET_DVR_MOTION_MULTI_AREAPARAM[] struMotionMultiAreaParam = new NET_DVR_MOTION_MULTI_AREAPARAM[MAX_MULTI_AREA_NUM];//最大支持24个区域 |
|
1507 |
public byte[] byRes1 = new byte[60]; |
|
1508 |
|
|
1509 |
|
|
1510 |
} |
|
1511 |
|
|
1512 |
public static class NET_DVR_MOTION_SINGLE_AREA extends HIKSDKStructure { |
|
1513 |
public byte[] byMotionScope = new byte[64 * 96]; /*侦测区域,0-96位,表示64行,共有96*64个小宏块,目前有效的是22*18,为1表示是移动侦测区域,0-表示不是*/ |
|
1514 |
public byte byMotionSensitive; /*移动侦测灵敏度, 0 - 5,越高越灵敏,0xff关闭*/ |
|
1515 |
public byte[] byRes = new byte[3]; |
|
1516 |
|
|
1517 |
|
|
1518 |
} |
|
1519 |
|
|
1520 |
public static class NET_DVR_MOTION_MODE_PARAM extends HIKSDKStructure { |
|
1521 |
public NET_DVR_MOTION_SINGLE_AREA struMotionSingleArea = new NET_DVR_MOTION_SINGLE_AREA(); //普通模式下的单区域设 |
|
1522 |
public NET_DVR_MOTION_MULTI_AREA struMotionMultiArea = new NET_DVR_MOTION_MULTI_AREA(); //专家模式下的多区域设置 |
|
1523 |
|
|
1524 |
|
|
1525 |
} |
|
1526 |
|
|
1527 |
public static class NET_DVR_MOTION_V40 extends HIKSDKStructure { |
|
1528 |
public NET_DVR_MOTION_MODE_PARAM struMotionMode = new NET_DVR_MOTION_MODE_PARAM(); //(5.1.0新增) |
|
1529 |
public byte byEnableHandleMotion; /* 是否处理移动侦测 0-否 1-是*/ |
|
1530 |
public byte byEnableDisplay; /*启用移动侦测高亮显示,0-否,1-是*/ |
|
1531 |
public byte byConfigurationMode; //0~普通,1~专家(5.1.0新增) |
|
1532 |
public byte byKeyingEnable; //启用键控移动侦测 0-不启用,1-启用 |
|
1533 |
/* 异常处理方式 */ |
|
1534 |
public int dwHandleType; //异常处理,异常处理方式的"或"结果 |
|
1535 |
/*0x00: 无响应*/ |
|
1536 |
/*0x01: 监视器上警告*/ |
|
1537 |
/*0x02: 声音警告*/ |
|
1538 |
/*0x04: 上传中心*/ |
|
1539 |
/*0x08: 触发报警输出*/ |
|
1540 |
/*0x10: 触发JPRG抓图并上传Email*/ |
|
1541 |
/*0x20: 无线声光报警器联动*/ |
|
1542 |
/*0x40: 联动电子地图(目前只有PCNVR支持)*/ |
|
1543 |
/*0x200: 抓图并上传FTP*/ |
|
1544 |
/*0x1000: 抓图上传到云*/ |
|
1545 |
public int dwMaxRelAlarmOutChanNum; //触发的报警输出通道数(只读)最大支持数量 |
|
1546 |
public int[] dwRelAlarmOut = new int[MAX_ALARMOUT_V40]; //实际触发的报警输出号,按值表示,采用紧凑型排列,从下标0 - dwRelAlarmOut -1有效,如果中间遇到0xffffffff,则后续无效 |
|
1547 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmTime = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS]; /*布防时间*/ |
|
1548 |
/*触发的录像通道*/ |
|
1549 |
public int dwMaxRecordChanNum; //设备支持的最大关联录像通道数-只读 |
|
1550 |
public int[] dwRelRecordChan = new int[MAX_CHANNUM_V40]; /* 实际触发录像通道,按值表示,采用紧凑型排列,从下标0 - dwRelRecordChan -1有效,如果中间遇到0xffffffff,则后续无效*/ |
|
1551 |
public byte byDiscardFalseAlarm; //启用去误报 0-无效,1-不启用,2-启用 |
|
1552 |
public byte[] byRes = new byte[127]; //保留字节 |
|
1553 |
|
|
1554 |
|
|
1555 |
} |
|
1556 |
|
|
1557 |
public static class NET_DVR_RGB_COLOR extends HIKSDKStructure { |
|
1558 |
public byte byRed; //RGB颜色三分量中的红色 |
|
1559 |
public byte byGreen; //RGB颜色三分量中的绿色 |
|
1560 |
public byte byBlue; //RGB颜色三分量中的蓝色 |
|
1561 |
public byte byRes; //保留 |
|
1562 |
|
|
1563 |
|
|
1564 |
} |
|
1565 |
|
|
1566 |
public static class NET_DVR_HIDEALARM_V40 extends HIKSDKStructure { |
|
1567 |
public int dwEnableHideAlarm; /* 是否启动遮挡报警,0-否,1-低灵敏度,2-中灵敏度,3-高灵敏度*/ |
|
1568 |
public short wHideAlarmAreaTopLeftX; /* 遮挡区域的x坐标 */ |
|
1569 |
public short wHideAlarmAreaTopLeftY; /* 遮挡区域的y坐标 */ |
|
1570 |
public short wHideAlarmAreaWidth; /* 遮挡区域的宽 */ |
|
1571 |
public short wHideAlarmAreaHeight; /*遮挡区域的高*/ |
|
1572 |
/* 信号丢失触发报警输出 */ |
|
1573 |
public int dwHandleType; //异常处理,异常处理方式的"或"结果 |
|
1574 |
/*0x00: 无响应*/ |
|
1575 |
/*0x01: 监视器上警告*/ |
|
1576 |
/*0x02: 声音警告*/ |
|
1577 |
/*0x04: 上传中心*/ |
|
1578 |
/*0x08: 触发报警输出*/ |
|
1579 |
/*0x10: 触发JPRG抓图并上传Email*/ |
|
1580 |
/*0x20: 无线声光报警器联动*/ |
|
1581 |
/*0x40: 联动电子地图(目前只有PCNVR支持)*/ |
|
1582 |
/*0x200: 抓图并上传FTP*/ |
|
1583 |
/*0x1000:抓图上传到云*/ |
|
1584 |
public int dwMaxRelAlarmOutChanNum; //触发的报警输出通道数(只读)最大支持数量 |
|
1585 |
public int[] dwRelAlarmOut = new int[MAX_ALARMOUT_V40]; /*触发报警输出号,按值表示,采用紧凑型排列,从下标0 - dwRelAlarmOut -1有效,如果中间遇到0xffffffff,则后续无效*/ |
|
1586 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmTime = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS]; /*布防时间*/ |
|
1587 |
public byte[] byRes = new byte[64]; //保留 |
|
1588 |
|
|
1589 |
|
|
1590 |
}//遮挡报警 |
|
1591 |
|
|
1592 |
public static class NET_DVR_PICCFG_V40 extends HIKSDKStructure { |
|
1593 |
public int dwSize; |
|
1594 |
public byte[] sChanName = new byte[NAME_LEN]; |
|
1595 |
public int dwVideoFormat; /* 只读 视频制式 1-NTSC 2-PAL */ |
|
1596 |
public NET_DVR_VICOLOR struViColor = new NET_DVR_VICOLOR();// 图像参数按时间段设置 |
|
1597 |
//显示通道名 |
|
1598 |
public int dwShowChanName; // 预览的图象上是否显示通道名称,0-不显示,1-显示 |
|
1599 |
public short wShowNameTopLeftX; /* 通道名称显示位置的x坐标 */ |
|
1600 |
public short wShowNameTopLeftY; /* 通道名称显示位置的y坐标 */ |
|
1601 |
//隐私遮挡 |
|
1602 |
public int dwEnableHide; /* 是否启动遮挡 ,0-否,1-是*/ |
|
1603 |
public NET_DVR_SHELTER[] struShelter = new NET_DVR_SHELTER[MAX_SHELTERNUM]; |
|
1604 |
//OSD |
|
1605 |
public int dwShowOsd;// 预览的图象上是否显示OSD,0-不显示,1-显示 |
|
1606 |
public short wOSDTopLeftX; /* OSD的x坐标 */ |
|
1607 |
public short wOSDTopLeftY; /* OSD的y坐标 */ |
|
1608 |
public byte byOSDType; /* OSD类型(主要是年月日格式) */ |
|
1609 |
/* 0: XXXX-XX-XX 年月日 */ |
|
1610 |
/* 1: XX-XX-XXXX 月日年 */ |
|
1611 |
/* 2: XXXX年XX月XX日 */ |
|
1612 |
/* 3: XX月XX日XXXX年 */ |
|
1613 |
/* 4: XX-XX-XXXX 日月年*/ |
|
1614 |
/* 5: XX日XX月XXXX年 */ |
|
1615 |
/*6: xx/xx/xxxx(月/日/年) */ |
|
1616 |
/*7: xxxx/xx/xx(年/月/日) */ |
|
1617 |
/*8: xx/xx/xxxx(日/月/年)*/ |
|
1618 |
public byte byDispWeek; /* 是否显示星期 */ |
|
1619 |
public byte byOSDAttrib; /* OSD属性:透明,闪烁 */ |
|
1620 |
/* 0: 不显示OSD */ |
|
1621 |
/* 1: 透明,闪烁 */ |
|
1622 |
/* 2: 透明,不闪烁 */ |
|
1623 |
/* 3: 不透明,闪烁 */ |
|
1624 |
/* 4: 不透明,不闪烁 */ |
|
1625 |
public byte byHourOSDType; /* OSD小时制:0-24小时制,1-12小时制 */ |
|
1626 |
public byte byFontSize; //16*16(中)/8*16(英),1-32*32(中)/16*32(英),2-64*64(中)/32*64(英) 3-48*48(中)/24*48(英) 4-24*24(中)/12*24(英) 5-96*96(中)/48*96(英) 6-128*128(中)/64*128(英) 7-80*80(中)/40*80(英) 8-112*112(中)/56*112(英) 0xff-自适应(adaptive) |
|
1627 |
public byte byOSDColorType; //0-默认(黑白);1-自定义 |
|
1628 |
public byte byAlignment;//对齐方式 0-自适应,1-右对齐, 2-左对齐,3-国标模式,4-全部右对齐(包含叠加字符、时间以及标题等所有OSD字符),5-全部左对齐(包含叠加字符、时间以及标题等所有OSD字符) |
|
1629 |
public byte byOSDMilliSecondEnable;//视频叠加时间支持毫秒;0~不叠加, 1-叠加 |
|
1630 |
public NET_DVR_VILOST_V40 struVILost = new NET_DVR_VILOST_V40(); //视频信号丢失报警(支持组) |
|
1631 |
public NET_DVR_VILOST_V40 struAULost = new NET_DVR_VILOST_V40(); /*音频信号丢失报警(支持组)*/ |
|
1632 |
public NET_DVR_MOTION_V40 struMotion = new NET_DVR_MOTION_V40(); //移动侦测报警(支持组) |
|
1633 |
public NET_DVR_HIDEALARM_V40 struHideAlarm = new NET_DVR_HIDEALARM_V40(); //遮挡报警(支持组) |
|
1634 |
public NET_DVR_RGB_COLOR struOsdColor = new NET_DVR_RGB_COLOR();//OSD颜色 |
|
1635 |
public int dwBoundary; //边界值,左对齐,右对齐以及国标模式的边界值,0-表示默认值,单位:像素;在国标模式下,单位修改为字符个数(范围是,0,1,2) |
|
1636 |
public NET_DVR_RGB_COLOR struOsdBkColor = new NET_DVR_RGB_COLOR(); //自定义OSD背景色 |
|
1637 |
public byte byOSDBkColorMode; //OSD背景色模式,0-默认,1-自定义OSD背景色 |
|
1638 |
public byte byUpDownBoundary; //上下最小边界值选项,单位为字符个数(范围是,0,1,2),国标模式下无效。byAlignment=3该字段无效,通过dwBoundary进行边界配置,.byAlignment不等于3的情况下, byUpDownBoundary/byLeftRightBoundary配置成功后,dwBoundary值将不生效 |
|
1639 |
public byte byLeftRightBoundary; //左右最小边界值选项,单位为字符个数(范围是,0,1,2), 国标模式下无效。byAlignment=3该字段无效,通过dwBoundary进行边界配置,.byAlignment不等于3的情况下, byUpDownBoundary/byLeftRightBoundary配置成功后,dwBoundary值将不生效 |
|
1640 |
public byte[] byRes = new byte[113]; |
|
1641 |
|
|
1642 |
|
|
1643 |
} |
|
1644 |
|
|
1645 |
public static class NET_DVR_PICCFG_V30 extends HIKSDKStructure { |
|
1646 |
public int dwSize; |
|
1647 |
public byte[] sChanName = new byte[NAME_LEN]; |
|
1648 |
public int dwVideoFormat; /* 只读 视频制式 1-NTSC 2-PAL*/ |
|
1649 |
public NET_DVR_VICOLOR struViColor; // 图像参数按时间段设置 |
|
1650 |
public int dwShowChanName; // 预览的图象上是否显示通道名称,0-不显示,1-显示 区域大小704*576 |
|
1651 |
public short wShowNameTopLeftX; /* 通道名称显示位置的x坐标 */ |
|
1652 |
public short wShowNameTopLeftY; /* 通道名称显示位置的y坐标 */ |
|
1653 |
public NET_DVR_VILOST_V30 struVILost; //视频信号丢失报警 |
|
1654 |
public NET_DVR_VILOST_V30 struAULost; /*音频信号丢失报警(保留)*/ |
|
1655 |
public NET_DVR_MOTION_V30 struMotion; //移动侦测 |
|
1656 |
public NET_DVR_HIDEALARM_V30 struHideAlarm;//遮挡报警 |
|
1657 |
public int dwEnableHide; /* 是否启动遮盖(区域大小704*576) ,0-否,1-是*/ |
|
1658 |
public NET_DVR_SHELTER[] struShelter = new NET_DVR_SHELTER[4]; |
|
1659 |
public int dwShowOsd; //预览的图象上是否显示OSD,0-不显示,1-显示 区域大小704*576 |
|
1660 |
public short wOSDTopLeftX; /* OSD的x坐标 */ |
|
1661 |
public short wOSDTopLeftY; /* OSD的y坐标 */ |
|
1662 |
public byte byOSDType; /* OSD类型(主要是年月日格式) */ |
|
1663 |
public byte byDispWeek; /* 是否显示星期 */ |
|
1664 |
public byte byOSDAttrib; /* OSD属性:透明,闪烁 */ |
|
1665 |
public byte byHourOSDType; /* OSD小时制:0-24小时制,1-12小时制 */ |
|
1666 |
public byte[] byRes = new byte[64]; |
|
1667 |
|
|
1668 |
|
|
1669 |
} |
|
1670 |
|
|
1671 |
public static class NET_DVR_PICCFG_EX extends HIKSDKStructure {//通道图象结构SDK_V14扩展 |
|
1672 |
public int dwSize; |
|
1673 |
public byte[] sChanName = new byte[NAME_LEN]; |
|
1674 |
public int dwVideoFormat; /* 只读 视频制式 1-NTSC 2-PAL*/ |
|
1675 |
public byte byBrightness; /*亮度,0-255*/ |
|
1676 |
public byte byContrast; /*对比度,0-255*/ |
|
1677 |
public byte bySaturation; /*饱和度,0-255 */ |
|
1678 |
public byte byHue; /*色调,0-255*/ |
|
1679 |
//显示通道名 |
|
1680 |
public int dwShowChanName; // 预览的图象上是否显示通道名称,0-不显示,1-显示 区域大小704*576 |
|
1681 |
public short wShowNameTopLeftX; /* 通道名称显示位置的x坐标 */ |
|
1682 |
public short wShowNameTopLeftY; /* 通道名称显示位置的y坐标 */ |
|
1683 |
//信号丢失报警 |
|
1684 |
public NET_DVR_VILOST struVILost; |
|
1685 |
//移动侦测 |
|
1686 |
public NET_DVR_MOTION struMotion; |
|
1687 |
//遮挡报警 |
|
1688 |
public NET_DVR_HIDEALARM struHideAlarm; |
|
1689 |
//遮挡 区域大小704*576 |
|
1690 |
public int dwEnableHide; /* 是否启动遮挡 ,0-否,1-是*/ |
|
1691 |
public NET_DVR_SHELTER[] struShelter = new NET_DVR_SHELTER[MAX_SHELTERNUM]; |
|
1692 |
//OSD |
|
1693 |
public int dwShowOsd;// 预览的图象上是否显示OSD,0-不显示,1-显示 区域大小704*576 |
|
1694 |
public short wOSDTopLeftX; /* OSD的x坐标 */ |
|
1695 |
public short wOSDTopLeftY; /* OSD的y坐标 */ |
|
1696 |
public byte byOSDType; /* OSD类型(主要是年月日格式) */ |
|
1697 |
/* 0: XXXX-XX-XX 年月日 */ |
|
1698 |
/* 1: XX-XX-XXXX 月日年 */ |
|
1699 |
/* 2: XXXX年XX月XX日 */ |
|
1700 |
/* 3: XX月XX日XXXX年 */ |
|
1701 |
/* 4: XX-XX-XXXX 日月年*/ |
|
1702 |
/* 5: XX日XX月XXXX年 */ |
|
1703 |
public byte byDispWeek; /* 是否显示星期 */ |
|
1704 |
public byte byOSDAttrib; /* OSD属性:透明,闪烁 */ |
|
1705 |
/* 0: 不显示OSD */ |
|
1706 |
/* 1: 透明,闪烁 */ |
|
1707 |
/* 2: 透明,不闪烁 */ |
|
1708 |
/* 3: 闪烁,不透明 */ |
|
1709 |
/* 4: 不透明,不闪烁 */ |
|
1710 |
public byte byHourOsdType; //小时制:0表示24小时制,1-12小时制或am/pm |
|
1711 |
|
|
1712 |
|
|
1713 |
} |
|
1714 |
|
|
1715 |
|
|
1716 |
public static class NET_DVR_PICCFG extends HIKSDKStructure { //通道图象结构(SDK_V13及之前版本) |
|
1717 |
public int dwSize; |
|
1718 |
public byte[] sChanName = new byte[NAME_LEN]; |
|
1719 |
public int dwVideoFormat; /* 只读 视频制式 1-NTSC 2-PAL*/ |
|
1720 |
public byte byBrightness; /*亮度,0-255*/ |
|
1721 |
public byte byContrast; /*对比度,0-255*/ |
|
1722 |
public byte bySaturation; /*饱和度,0-255 */ |
|
1723 |
public byte byHue; /*色调,0-255*/ |
|
1724 |
//显示通道名 |
|
1725 |
public int dwShowChanName; // 预览的图象上是否显示通道名称,0-不显示,1-显示 区域大小704*576 |
|
1726 |
public short wShowNameTopLeftX; /* 通道名称显示位置的x坐标 */ |
|
1727 |
public short wShowNameTopLeftY; /* 通道名称显示位置的y坐标 */ |
|
1728 |
//信号丢失报警 |
|
1729 |
public NET_DVR_VILOST struVILost; |
|
1730 |
//移动侦测 |
|
1731 |
public NET_DVR_MOTION struMotion; |
|
1732 |
//遮挡报警 |
|
1733 |
public NET_DVR_HIDEALARM struHideAlarm; |
|
1734 |
//遮挡 区域大小704*576 |
|
1735 |
public int dwEnableHide; /* 是否启动遮挡 ,0-否,1-是*/ |
|
1736 |
public short wHideAreaTopLeftX; /* 遮挡区域的x坐标 */ |
|
1737 |
public short wHideAreaTopLeftY; /* 遮挡区域的y坐标 */ |
|
1738 |
public short wHideAreaWidth; /* 遮挡区域的宽 */ |
|
1739 |
public short wHideAreaHeight; /*遮挡区域的高*/ |
|
1740 |
//OSD |
|
1741 |
public int dwShowOsd;// 预览的图象上是否显示OSD,0-不显示,1-显示 区域大小704*576 |
|
1742 |
public short wOSDTopLeftX; /* OSD的x坐标 */ |
|
1743 |
public short wOSDTopLeftY; /* OSD的y坐标 */ |
|
1744 |
public byte byOSDType; /* OSD类型(主要是年月日格式) */ |
|
1745 |
/* 0: XXXX-XX-XX 年月日 */ |
|
1746 |
/* 1: XX-XX-XXXX 月日年 */ |
|
1747 |
/* 2: XXXX年XX月XX日 */ |
|
1748 |
/* 3: XX月XX日XXXX年 */ |
|
1749 |
/* 4: XX-XX-XXXX 日月年*/ |
|
1750 |
/* 5: XX日XX月XXXX年 */ |
|
1751 |
byte byDispWeek; /* 是否显示星期 */ |
|
1752 |
byte byOSDAttrib; /* OSD属性:透明,闪烁 */ |
|
1753 |
/* 0: 不显示OSD */ |
|
1754 |
/* 1: 透明,闪烁 */ |
|
1755 |
/* 2: 透明,不闪烁 */ |
|
1756 |
/* 3: 闪烁,不透明 */ |
|
1757 |
/* 4: 不透明,不闪烁 */ |
|
1758 |
public byte reservedData2; |
|
1759 |
|
|
1760 |
|
|
1761 |
} |
|
1762 |
|
|
1763 |
public static class NET_DVR_MULTI_STREAM_COMPRESSIONCFG_COND extends HIKSDKStructure { |
|
1764 |
public int dwSize; |
|
1765 |
public NET_DVR_STREAM_INFO struStreamInfo = new NET_DVR_STREAM_INFO(); |
|
1766 |
public int dwStreamType; |
|
1767 |
public byte[] byRes = new byte[32]; |
|
1768 |
} |
|
1769 |
|
|
1770 |
public static class NET_DVR_MULTI_STREAM_COMPRESSIONCFG extends HIKSDKStructure { |
|
1771 |
public int dwSize; |
|
1772 |
public int dwStreamType; |
|
1773 |
public NET_DVR_COMPRESSION_INFO_V30 struStreamPara = new NET_DVR_COMPRESSION_INFO_V30(); |
|
1774 |
public byte[] byRes = new byte[80]; |
|
1775 |
} |
|
1776 |
|
|
1777 |
//码流压缩参数(子结构)(9000扩展) |
|
1778 |
public static class NET_DVR_COMPRESSION_INFO_V30 extends HIKSDKStructure { |
|
1779 |
public byte byStreamType; //码流类型 0-视频流, 1-复合流 |
|
1780 |
public byte byResolution; //分辨率0-DCIF 1-CIF, 2-QCIF, 3-4CIF, 4-2CIF 5(保留)16-VGA(640*480) 17-UXGA(1600*1200) 18-SVGA (800*600)19-HD720p(1280*720)20-XVGA 21-HD900p |
|
1781 |
public byte byBitrateType; //码率类型 0:定码率,1:变码率 |
|
1782 |
public byte byPicQuality; //图象质量 0-最好 1-次好 2-较好 3-一般 4-较差 5-差 |
|
1783 |
public int dwVideoBitrate; //视频码率 0-保留 1-16K 2-32K 3-48k 4-64K 5-80K 6-96K 7-128K 8-160k 9-192K 10-224K 11-256K 12-320K 13-384K 14-448K 15-512K 16-640K 17-768K 18-896K 19-1024K 20-1280K 21-1536K 22-1792K 23-2048最高位(31位)置成1表示是自定义码流, 0-30位表示码流值。 |
|
1784 |
public int dwVideoFrameRate; //帧率 0-全部; 1-1/16; 2-1/8; 3-1/4; 4-1/2; 5-1; 6-2; 7-4; 8-6; 9-8; 10-10; 11-12; 12-16; 13-20; V2.0版本中新加14-15; 15-18; 16-22; |
|
1785 |
public short wIntervalFrameI; //I帧间隔 |
|
1786 |
public byte byIntervalBPFrame;//0-BBP帧; 1-BP帧; 2-单P帧 |
|
1787 |
public byte byENumber; //E帧数量(保留) |
|
1788 |
public byte byVideoEncType;//视频编码类型 0 hik264;1标准h264; 2标准mpeg4; |
|
1789 |
public byte byAudioEncType;//音频编码类型 0 G722 |
|
1790 |
public byte[] byres = new byte[10]; |
|
1791 |
|
|
1792 |
|
|
1793 |
} |
|
1794 |
|
|
1795 |
//通道压缩参数(9000扩展) |
|
1796 |
public static class NET_DVR_COMPRESSIONCFG_V30 extends HIKSDKStructure { |
|
1797 |
public int dwSize; |
|
1798 |
public NET_DVR_COMPRESSION_INFO_V30 struNormHighRecordPara; //录像 对应8000的普通 |
|
1799 |
public NET_DVR_COMPRESSION_INFO_V30 struRes; //保留 String[28]; |
|
1800 |
public NET_DVR_COMPRESSION_INFO_V30 struEventRecordPara; //事件触发压缩参数 |
|
1801 |
public NET_DVR_COMPRESSION_INFO_V30 struNetPara; //网传(子码流) |
|
1802 |
|
|
1803 |
|
|
1804 |
} |
|
1805 |
|
|
1806 |
|
|
1807 |
public static class NET_DVR_COMPRESSION_INFO extends HIKSDKStructure {//码流压缩参数(子结构) |
|
1808 |
public byte byStreamType; //码流类型0-视频流,1-复合流,表示压缩参数时最高位表示是否启用压缩参数 |
|
1809 |
public byte byResolution; //分辨率0-DCIF 1-CIF, 2-QCIF, 3-4CIF, 4-2CIF, 5-2QCIF(352X144)(车载专用) |
|
1810 |
public byte byBitrateType; //码率类型0:变码率,1:定码率 |
|
1811 |
public byte byPicQuality; //图象质量 0-最好 1-次好 2-较好 3-一般 4-较差 5-差 |
|
1812 |
public int dwVideoBitrate; //视频码率 0-保留 1-16K(保留) 2-32K 3-48k 4-64K 5-80K 6-96K 7-128K 8-160k 9-192K 10-224K 11-256K 12-320K |
|
1813 |
// 13-384K 14-448K 15-512K 16-640K 17-768K 18-896K 19-1024K 20-1280K 21-1536K 22-1792K 23-2048K |
|
1814 |
//最高位(31位)置成1表示是自定义码流, 0-30位表示码流值(MIN-32K MAX-8192K)。 |
|
1815 |
public int dwVideoFrameRate; //帧率 0-全部; 1-1/16; 2-1/8; 3-1/4; 4-1/2; 5-1; 6-2; 7-4; 8-6; 9-8; 10-10; 11-12; 12-16; 13-20; |
|
1816 |
|
|
1817 |
|
|
1818 |
} |
|
1819 |
|
|
1820 |
public static class NET_DVR_COMPRESSIONCFG extends HIKSDKStructure {//通道压缩参数 |
|
1821 |
public int dwSize; |
|
1822 |
public NET_DVR_COMPRESSION_INFO struRecordPara; //录像/事件触发录像 |
|
1823 |
public NET_DVR_COMPRESSION_INFO struNetPara; //网传/保留 |
|
1824 |
|
|
1825 |
|
|
1826 |
} |
|
1827 |
|
|
1828 |
|
|
1829 |
public static class NET_DVR_COMPRESSION_INFO_EX extends HIKSDKStructure {//码流压缩参数(子结构)(扩展) 增加I帧间隔 |
|
1830 |
public byte byStreamType; //码流类型0-视频流, 1-复合流 |
|
1831 |
public byte byResolution; //分辨率0-DCIF 1-CIF, 2-QCIF, 3-4CIF, 4-2CIF, 5-2QCIF(352X144)(车载专用) |
|
1832 |
public byte byBitrateType; //码率类型0:变码率,1:定码率 |
|
1833 |
public byte byPicQuality; //图象质量 0-最好 1-次好 2-较好 3-一般 4-较差 5-差 |
|
1834 |
public int dwVideoBitrate; //视频码率 0-保留 1-16K(保留) 2-32K 3-48k 4-64K 5-80K 6-96K 7-128K 8-160k 9-192K 10-224K 11-256K 12-320K |
|
1835 |
// 13-384K 14-448K 15-512K 16-640K 17-768K 18-896K 19-1024K 20-1280K 21-1536K 22-1792K 23-2048K |
|
1836 |
//最高位(31位)置成1表示是自定义码流, 0-30位表示码流值(MIN-32K MAX-8192K)。 |
|
1837 |
public int dwVideoFrameRate; //帧率 0-全部; 1-1/16; 2-1/8; 3-1/4; 4-1/2; 5-1; 6-2; 7-4; 8-6; 9-8; 10-10; 11-12; 12-16; 13-20, //V2.0增加14-15, 15-18, 16-22; |
|
1838 |
public short wIntervalFrameI; //I帧间隔 |
|
1839 |
//2006-08-11 增加单P帧的配置接口,可以改善实时流延时问题 |
|
1840 |
public byte byIntervalBPFrame;//0-BBP帧; 1-BP帧; 2-单P帧 |
|
1841 |
public byte byENumber;//E帧数量 |
|
1842 |
|
|
1843 |
|
|
1844 |
} |
|
1845 |
|
|
1846 |
public static class NET_DVR_RECORDSCHED extends HIKSDKStructure //时间段录像参数配置(子结构) |
|
1847 |
{ |
|
1848 |
public NET_DVR_SCHEDTIME struRecordTime = new NET_DVR_SCHEDTIME(); |
|
1849 |
public byte byRecordType; //0:定时录像,1:移动侦测,2:报警录像,3:动测|报警,4:动测&报警, 5:命令触发, 6: 智能录像 |
|
1850 |
public byte[] reservedData = new byte[3]; |
|
1851 |
|
|
1852 |
|
|
1853 |
} |
|
1854 |
|
|
1855 |
public static class NET_DVR_RECORDDAY extends HIKSDKStructure //全天录像参数配置(子结构) |
|
1856 |
{ |
|
1857 |
public short wAllDayRecord; /* 是否全天录像 0-否 1-是*/ |
|
1858 |
public byte byRecordType; /* 录象类型 0:定时录像,1:移动侦测,2:报警录像,3:动测|报警,4:动测&报警 5:命令触发, 6: 智能录像*/ |
|
1859 |
public byte reservedData; |
|
1860 |
|
|
1861 |
|
|
1862 |
} |
|
1863 |
|
|
1864 |
public static class NET_DVR_RECORDSCHEDWEEK extends HIKSDKStructure { |
|
1865 |
public NET_DVR_RECORDSCHED[] struRecordSched = new NET_DVR_RECORDSCHED[MAX_TIMESEGMENT_V30]; |
|
1866 |
|
|
1867 |
|
|
1868 |
} |
|
1869 |
|
|
1870 |
public static class NET_DVR_RECORD_V30 extends HIKSDKStructure { //通道录像参数配置(9000扩展) |
|
1871 |
public int dwSize; |
|
1872 |
public int dwRecord; /*是否录像 0-否 1-是*/ |
|
1873 |
public NET_DVR_RECORDDAY[] struRecAllDay = new NET_DVR_RECORDDAY[MAX_DAYS]; |
|
1874 |
public NET_DVR_RECORDSCHEDWEEK[] struRecordSched = new NET_DVR_RECORDSCHEDWEEK[MAX_DAYS]; |
|
1875 |
public int dwRecordTime; /* 录象延时长度 0-5秒, 1-20秒, 2-30秒, 3-1分钟, 4-2分钟, 5-5分钟, 6-10分钟*/ |
|
1876 |
public int dwPreRecordTime; /* 预录时间 0-不预录 1-5秒 2-10秒 3-15秒 4-20秒 5-25秒 6-30秒 7-0xffffffff(尽可能预录) */ |
|
1877 |
public int dwRecorderDuration; /* 录像保存的最长时间 */ |
|
1878 |
public byte byRedundancyRec; /*是否冗余录像,重要数据双备份:0/1*/ |
|
1879 |
public byte byAudioRec; /*录像时复合流编码时是否记录音频数据:国外有此法规*/ |
|
1880 |
public byte[] byReserve = new byte[10]; |
|
1881 |
|
|
1882 |
|
|
1883 |
} |
|
1884 |
|
|
1885 |
public static class NET_DVR_RECORD extends HIKSDKStructure { //通道录像参数配置 |
|
1886 |
public int dwSize; |
|
1887 |
public int dwRecord; /*是否录像 0-否 1-是*/ |
|
1888 |
public NET_DVR_RECORDDAY[] struRecAllDay = new NET_DVR_RECORDDAY[MAX_DAYS]; |
|
1889 |
public NET_DVR_RECORDSCHEDWEEK[] struRecordSched = new NET_DVR_RECORDSCHEDWEEK[MAX_DAYS]; |
|
1890 |
public int dwRecordTime; /* 录象时间长度 0-5秒, 1-20秒, 2-30秒, 3-1分钟, 4-2分钟, 5-5分钟, 6-10分钟*/ |
|
1891 |
public int dwPreRecordTime; /* 预录时间 0-不预录 1-5秒 2-10秒 3-15秒 4-20秒 5-25秒 6-30秒 7-0xffffffff(尽可能预录) */ |
|
1892 |
|
|
1893 |
|
|
1894 |
} |
|
1895 |
|
|
1896 |
public static class NET_DVR_STATFRAME extends HIKSDKStructure { //单帧统计参数 |
|
1897 |
public int dwRelativeTime; |
|
1898 |
public int dwAbsTime; /*统计绝对时标*/ |
|
1899 |
public byte[] byRes = new byte[92]; |
|
1900 |
|
|
1901 |
|
|
1902 |
} |
|
1903 |
|
|
1904 |
public static class NET_DVR_STATTIME extends HIKSDKStructure { //单帧统计参数 |
|
1905 |
public NET_DVR_TIME tmStart; //统计开始时间 |
|
1906 |
public NET_DVR_TIME tmEnd; //统计结束时间 |
|
1907 |
public byte[] byRes = new byte[92]; |
|
1908 |
|
|
1909 |
|
|
1910 |
} |
|
1911 |
|
|
1912 |
public static class UNION_PDC_STATPARAM extends Union { |
|
1913 |
// public byte[] byLen = new byte[140]; |
|
1914 |
public NET_DVR_STATFRAME struStatFrame; |
|
1915 |
public NET_DVR_STATTIME struStatTime; |
|
1916 |
|
|
1917 |
|
|
1918 |
} |
|
1919 |
|
|
1920 |
public static class NET_DVR_PDC_ALRAM_INFO extends HIKSDKStructure { //通道录像参数配置 |
|
1921 |
public int dwSize; |
|
1922 |
public byte byMode; /*0-单帧统计结果,1-最小时间段统计结果*/ |
|
1923 |
public byte byChannel; |
|
1924 |
public byte bySmart; //专业智能返回0,Smart 返回 1 |
|
1925 |
public byte byRes1; // 保留字节 |
|
1926 |
public NET_VCA_DEV_INFO struDevInfo = new NET_VCA_DEV_INFO(); //前端设备信息 |
|
1927 |
public UNION_PDC_STATPARAM uStatModeParam = new UNION_PDC_STATPARAM(); |
|
1928 |
public int dwLeaveNum; /* 离开人数 */ |
|
1929 |
public int dwEnterNum; /* 进入人数 */ |
|
1930 |
public byte byBrokenNetHttp; //断网续传标志位,0-不是重传数据,1-重传数据 |
|
1931 |
public byte byRes3; |
|
1932 |
public short wDevInfoIvmsChannelEx; //与NET_VCA_DEV_INFO里的byIvmsChannel含义相同,能表示更大的值。老客户端用byIvmsChannel能继续兼容,但是最大到255。新客户端版本请使用wDevInfoIvmsChannelEx |
|
1933 |
public int dwPassingNum; // 经过人数(进入区域后徘徊没有触发进入、离开的人数) |
|
1934 |
|
|
1935 |
|
|
1936 |
public byte[] byRes2 = new byte[32]; |
|
1937 |
|
|
1938 |
public void read() { |
|
1939 |
super.read(); |
|
1940 |
switch (byMode) { |
|
1941 |
case 0: |
|
1942 |
uStatModeParam.setType(NET_DVR_STATFRAME.class); |
|
1943 |
break; |
|
1944 |
case 1: |
|
1945 |
uStatModeParam.setType(NET_DVR_STATTIME.class); |
|
1946 |
break; |
|
1947 |
default: |
|
1948 |
break; |
|
1949 |
} |
|
1950 |
uStatModeParam.read(); |
|
1951 |
} |
|
1952 |
|
|
1953 |
public void write() { |
|
1954 |
super.write(); |
|
1955 |
uStatModeParam.write(); |
|
1956 |
} |
|
1957 |
|
|
1958 |
|
|
1959 |
} |
|
1960 |
|
|
1961 |
//云台协议表结构配置 |
|
1962 |
public static class NET_DVR_PTZ_PROTOCOL extends HIKSDKStructure { |
|
1963 |
public int dwType; /*解码器类型值,从1开始连续递增*/ |
|
1964 |
public byte[] byDescribe = new byte[DESC_LEN]; /*解码器的描述符,和8000中的一致*/ |
|
1965 |
|
|
1966 |
|
|
1967 |
} |
|
1968 |
|
|
1969 |
public static class NET_DVR_PTZCFG extends HIKSDKStructure { |
|
1970 |
public int dwSize; |
|
1971 |
public NET_DVR_PTZ_PROTOCOL[] struPtz = new NET_DVR_PTZ_PROTOCOL[PTZ_PROTOCOL_NUM];/*最大200中PTZ协议*/ |
|
1972 |
public int dwPtzNum; /*有效的ptz协议数目,从0开始(即计算时加1)*/ |
|
1973 |
public byte[] byRes = new byte[8]; |
|
1974 |
|
|
1975 |
|
|
1976 |
} |
|
1977 |
|
|
1978 |
/*************************** |
|
1979 |
* 云台类型(end) |
|
1980 |
******************************/ |
|
1981 |
public static class NET_DVR_DECODERCFG_V30 extends HIKSDKStructure {//通道解码器(云台)参数配置(9000扩展) |
|
1982 |
public int dwSize; |
|
1983 |
public int dwBaudRate; //波特率(bps),0-50,1-75,2-110,3-150,4-300,5-600,6-1200,7-2400,8-4800,9-9600,10-19200, 11-38400,12-57600,13-76800,14-115.2k; |
|
1984 |
public byte byDataBit; // 数据有几位 0-5位,1-6位,2-7位,3-8位; |
|
1985 |
public byte byStopBit; // 停止位 0-1位,1-2位; |
|
1986 |
public byte byParity; // 校验 0-无校验,1-奇校验,2-偶校验; |
|
1987 |
public byte byFlowcontrol; // 0-无,1-软流控,2-硬流控 |
|
1988 |
public short wDecoderType; //解码器类型, 0-YouLi,1-LiLin-1016,2-LiLin-820,3-Pelco-p,4-DM DynaColor,5-HD600,6-JC-4116,7-Pelco-d WX,8-Pelco-d PICO |
|
1989 |
public short wDecoderAddress; /*解码器地址:0 - 255*/ |
|
1990 |
public byte[] bySetPreset = new byte[MAX_PRESET_V30]; /* 预置点是否设置,0-没有设置,1-设置*/ |
|
1991 |
public byte[] bySetCruise = new byte[MAX_CRUISE_V30]; /* 巡航是否设置: 0-没有设置,1-设置 */ |
|
1992 |
public byte[] bySetTrack = new byte[MAX_TRACK_V30]; /* 轨迹是否设置,0-没有设置,1-设置*/ |
|
1993 |
|
|
1994 |
|
|
1995 |
} |
|
1996 |
|
|
1997 |
public static class NET_DVR_DECODERCFG extends HIKSDKStructure {//通道解码器(云台)参数配置 |
|
1998 |
public int dwSize; |
|
1999 |
public int dwBaudRate; //波特率(bps),0-50,1-75,2-110,3-150,4-300,5-600,6-1200,7-2400,8-4800,9-9600,10-19200, 11-38400,12-57600,13-76800,14-115.2k; |
|
2000 |
public byte byDataBit; // 数据有几位 0-5位,1-6位,2-7位,3-8位; |
|
2001 |
public byte byStopBit; // 停止位 0-1位,1-2位; |
|
2002 |
public byte byParity; // 校验 0-无校验,1-奇校验,2-偶校验; |
|
2003 |
public byte byFlowcontrol; // 0-无,1-软流控,2-硬流控 |
|
2004 |
public short wDecoderType; //解码器类型, 0-YouLi,1-LiLin-1016,2-LiLin-820,3-Pelco-p,4-DM DynaColor,5-HD600,6-JC-4116,7-Pelco-d WX,8-Pelco-d PICO |
|
2005 |
public short wDecoderAddress; /*解码器地址:0 - 255*/ |
|
2006 |
public byte[] bySetPreset = new byte[MAX_PRESET]; /* 预置点是否设置,0-没有设置,1-设置*/ |
|
2007 |
public byte[] bySetCruise = new byte[MAX_CRUISE]; /* 巡航是否设置: 0-没有设置,1-设置 */ |
|
2008 |
public byte[] bySetTrack = new byte[MAX_TRACK]; /* 轨迹是否设置,0-没有设置,1-设置*/ |
|
2009 |
|
|
2010 |
|
|
2011 |
} |
|
2012 |
|
|
2013 |
public static class NET_DVR_PPPCFG_V30 extends HIKSDKStructure {//ppp参数配置(子结构) |
|
2014 |
public NET_DVR_IPADDR struRemoteIP; //远端IP地址 |
|
2015 |
public NET_DVR_IPADDR struLocalIP; //本地IP地址 |
|
2016 |
public byte[] sLocalIPMask = new byte[16]; //本地IP地址掩码 |
|
2017 |
public byte[] sUsername = new byte[NAME_LEN]; /* 用户名 */ |
|
2018 |
public byte[] sPassword = new byte[PASSWD_LEN]; /* 密码 */ |
|
2019 |
public byte byPPPMode; //PPP模式, 0-主动,1-被动 |
|
2020 |
public byte byRedial; //是否回拨 :0-否,1-是 |
|
2021 |
public byte byRedialMode; //回拨模式,0-由拨入者指定,1-预置回拨号码 |
|
2022 |
public byte byDataEncrypt; //数据加密,0-否,1-是 |
|
2023 |
public int dwMTU; //MTU |
|
2024 |
public byte[] sTelephoneNumber = new byte[PHONENUMBER_LEN]; //电话号码 |
|
2025 |
|
|
2026 |
|
|
2027 |
} |
|
2028 |
|
|
2029 |
public static class NET_DVR_PPPCFG extends HIKSDKStructure {//ppp参数配置(子结构) |
|
2030 |
public byte[] sRemoteIP = new byte[16]; //远端IP地址 |
|
2031 |
public byte[] sLocalIP = new byte[16]; //本地IP地址 |
|
2032 |
public byte[] sLocalIPMask = new byte[16]; //本地IP地址掩码 |
|
2033 |
public byte[] sUsername = new byte[NAME_LEN]; /* 用户名 */ |
|
2034 |
public byte[] sPassword = new byte[PASSWD_LEN]; /* 密码 */ |
|
2035 |
public byte byPPPMode; //PPP模式, 0-主动,1-被动 |
|
2036 |
public byte byRedial; //是否回拨 :0-否,1-是 |
|
2037 |
public byte byRedialMode; //回拨模式,0-由拨入者指定,1-预置回拨号码 |
|
2038 |
public byte byDataEncrypt; //数据加密,0-否,1-是 |
|
2039 |
public int dwMTU; //MTU |
|
2040 |
public byte[] sTelephoneNumber = new byte[PHONENUMBER_LEN]; //电话号码 |
|
2041 |
|
|
2042 |
|
|
2043 |
} |
|
2044 |
|
|
2045 |
|
|
2046 |
public static class NET_DVR_SINGLE_RS232 extends HIKSDKStructure {//RS232串口参数配置(9000扩展) |
|
2047 |
public int dwBaudRate; /*波特率(bps),0-50,1-75,2-110,3-150,4-300,5-600,6-1200,7-2400,8-4800,9-9600,10-19200, 11-38400,12-57600,13-76800,14-115.2k;*/ |
|
2048 |
public byte byDataBit; /* 数据有几位 0-5位,1-6位,2-7位,3-8位 */ |
|
2049 |
public byte byStopBit; /* 停止位 0-1位,1-2位 */ |
|
2050 |
public byte byParity; /* 校验 0-无校验,1-奇校验,2-偶校验 */ |
|
2051 |
public byte byFlowcontrol; /* 0-无,1-软流控,2-硬流控 */ |
|
2052 |
public int dwWorkMode; /* 工作模式,0-232串口用于PPP拨号,1-232串口用于参数控制,2-透明通道 */ |
|
2053 |
|
|
2054 |
|
|
2055 |
} |
|
2056 |
|
|
2057 |
public static class NET_DVR_RS232CFG_V30 extends HIKSDKStructure {//RS232串口参数配置(9000扩展) |
|
2058 |
public int dwSize; |
|
2059 |
public NET_DVR_SINGLE_RS232 struRs232;/*目前只有第一个串口设置有效,所有设备都只支持一个串口,其他七个保留*/ |
|
2060 |
public byte[] byRes = new byte[84]; |
|
2061 |
public NET_DVR_PPPCFG_V30 struPPPConfig;/*ppp参数*/ |
|
2062 |
|
|
2063 |
|
|
2064 |
} |
|
2065 |
|
|
2066 |
public static class NET_DVR_RS232CFG extends HIKSDKStructure {//RS232串口参数配置 |
|
2067 |
public int dwSize; |
|
2068 |
public int dwBaudRate;//波特率(bps),0-50,1-75,2-110,3-150,4-300,5-600,6-1200,7-2400,8-4800,9-9600,10-19200, 11-38400,12-57600,13-76800,14-115.2k; |
|
2069 |
public byte byDataBit;// 数据有几位 0-5位,1-6位,2-7位,3-8位; |
|
2070 |
public byte byStopBit;// 停止位 0-1位,1-2位; |
|
2071 |
public byte byParity;// 校验 0-无校验,1-奇校验,2-偶校验; |
|
2072 |
public byte byFlowcontrol;// 0-无,1-软流控,2-硬流控 |
|
2073 |
public int dwWorkMode;// 工作模式,0-窄带传输(232串口用于PPP拨号),1-控制台(232串口用于参数控制),2-透明通道 |
|
2074 |
public NET_DVR_PPPCFG struPPPConfig; |
|
2075 |
|
|
2076 |
|
|
2077 |
} |
|
2078 |
|
|
2079 |
public static class NET_DVR_ALARMINCFG_V30 extends HIKSDKStructure {//报警输入参数配置(9000扩展) |
|
2080 |
public int dwSize; |
|
2081 |
public byte[] sAlarmInName = new byte[NAME_LEN]; /* 名称 */ |
|
2082 |
public byte byAlarmType; //报警器类型,0:常开,1:常闭 |
|
2083 |
public byte byAlarmInHandle; /* 是否处理 0-不处理 1-处理*/ |
|
2084 |
public byte[] reservedData = new byte[2]; |
|
2085 |
public NET_DVR_HANDLEEXCEPTION_V30 struAlarmHandleType; /* 处理方式 */ |
|
2086 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmTime = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS];//布防时间 |
|
2087 |
public byte[] byRelRecordChan = new byte[MAX_CHANNUM_V30]; //报警触发的录象通道,为1表示触发该通道 |
|
2088 |
public byte[] byEnablePreset = new byte[MAX_CHANNUM_V30]; /* 是否调用预置点 0-否,1-是*/ |
|
2089 |
public byte[] byPresetNo = new byte[MAX_CHANNUM_V30]; /* 调用的云台预置点序号,一个报警输入可以调用多个通道的云台预置点, 0xff表示不调用预置点。*/ |
|
2090 |
public byte[] byEnablePresetRevert = new byte[MAX_CHANNUM_V30]; /* 是否恢复到调用预置点前的位置(保留) */ |
|
2091 |
public short[] wPresetRevertDelay = new short[MAX_CHANNUM_V30]; /* 恢复预置点延时(保留) */ |
|
2092 |
public byte[] byEnableCruise = new byte[MAX_CHANNUM_V30]; /* 是否调用巡航 0-否,1-是*/ |
|
2093 |
public byte[] byCruiseNo = new byte[MAX_CHANNUM_V30]; /* 巡航 */ |
|
2094 |
public byte[] byEnablePtzTrack = new byte[MAX_CHANNUM_V30]; /* 是否调用轨迹 0-否,1-是*/ |
|
2095 |
public byte[] byPTZTrack = new byte[MAX_CHANNUM_V30]; /* 调用的云台的轨迹序号 */ |
|
2096 |
public byte[] byRes = new byte[16]; |
|
2097 |
|
|
2098 |
|
|
2099 |
} |
|
2100 |
|
|
2101 |
public static class NET_DVR_ALARMINCFG extends HIKSDKStructure {//报警输入参数配置 |
|
2102 |
public int dwSize; |
|
2103 |
public byte[] sAlarmInName = new byte[NAME_LEN]; /* 名称 */ |
|
2104 |
public byte byAlarmType; //报警器类型,0:常开,1:常闭 |
|
2105 |
public byte byAlarmInHandle; /* 是否处理 0-不处理 1-处理*/ |
|
2106 |
public NET_DVR_HANDLEEXCEPTION struAlarmHandleType; /* 处理方式 */ |
|
2107 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmTime = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS];//布防时间 |
|
2108 |
public byte[] byRelRecordChan = new byte[MAX_CHANNUM]; //报警触发的录象通道,为1表示触发该通道 |
|
2109 |
public byte[] byEnablePreset = new byte[MAX_CHANNUM]; /* 是否调用预置点 0-否,1-是*/ |
|
2110 |
public byte[] byPresetNo = new byte[MAX_CHANNUM]; /* 调用的云台预置点序号,一个报警输入可以调用多个通道的云台预置点, 0xff表示不调用预置点。*/ |
|
2111 |
public byte[] byEnableCruise = new byte[MAX_CHANNUM]; /* 是否调用巡航 0-否,1-是*/ |
|
2112 |
public byte[] byCruiseNo = new byte[MAX_CHANNUM]; /* 巡航 */ |
|
2113 |
public byte[] byEnablePtzTrack = new byte[MAX_CHANNUM]; /* 是否调用轨迹 0-否,1-是*/ |
|
2114 |
public byte[] byPTZTrack = new byte[MAX_CHANNUM]; /* 调用的云台的轨迹序号 */ |
|
2115 |
|
|
2116 |
|
|
2117 |
} |
|
2118 |
|
|
2119 |
public static class NET_DVR_ADDIT_POSITION extends HIKSDKStructure {//车载GPS信息结构(2007-12-27) |
|
2120 |
public byte[] sDevName = new byte[32]; /* 设备名称 */ |
|
2121 |
public int dwSpeed; /*速度*/ |
|
2122 |
public int dwLongitude; /* 经度*/ |
|
2123 |
public int dwLatitude; /* 纬度*/ |
|
2124 |
public byte[] direction = new byte[2]; /* direction[0]:'E'or'W'(东经/西经), direction[1]:'N'or'S'(北纬/南纬) */ |
|
2125 |
public byte[] res = new byte[2]; /* 保留位 */ |
|
2126 |
|
|
2127 |
|
|
2128 |
} |
|
2129 |
|
|
2130 |
public static class struRecordingHost extends HIKSDKStructure { |
|
2131 |
public byte bySubAlarmType; |
|
2132 |
public byte[] byRes1 = new byte[3]; |
|
2133 |
public NET_DVR_TIME_EX struRecordEndTime = new NET_DVR_TIME_EX(); |
|
2134 |
} |
|
2135 |
|
|
2136 |
public static class struAlarmHardDisk extends HIKSDKStructure { |
|
2137 |
public int dwAlarmHardDiskNum; |
|
2138 |
|
|
2139 |
|
|
2140 |
} |
|
2141 |
|
|
2142 |
public static class struAlarmChannel extends HIKSDKStructure { |
|
2143 |
public int dwAlarmChanNum; |
|
2144 |
public int dwPicLen;//Jpeg图片长度 |
|
2145 |
public byte byPicURL; //图片数据采用URL方式 0-二进制图片数据,1-图片数据走URL方式 |
|
2146 |
public byte byTarget; /*0-不区分识别目标,1-识别目标为人,2-识别目标为车*/ |
|
2147 |
public byte[] byRes1 = new byte[2]; //保留 |
|
2148 |
public Pointer pDataBuff; //报警图片或者图片URL |
|
2149 |
} |
|
2150 |
|
|
2151 |
public static class struIOAlarm extends HIKSDKStructure { |
|
2152 |
public int dwAlarmInputNo; |
|
2153 |
public int dwTrigerAlarmOutNum; |
|
2154 |
public int dwTrigerRecordChanNum; |
|
2155 |
|
|
2156 |
|
|
2157 |
} |
|
2158 |
|
|
2159 |
public static class NET_DVR_TIME_EX extends HIKSDKStructure { |
|
2160 |
public short wYear; |
|
2161 |
public byte byMonth; |
|
2162 |
public byte byDay; |
|
2163 |
public byte byHour; |
|
2164 |
public byte byMinute; |
|
2165 |
public byte bySecond; |
|
2166 |
public byte byRes; |
|
2167 |
} |
|
2168 |
|
|
2169 |
public static class uStruAlarm extends Union { |
|
2170 |
public byte[] byUnionLen = new byte[116]; |
|
2171 |
public struIOAlarm struioAlarm = new struIOAlarm(); |
|
2172 |
public struAlarmHardDisk strualarmHardDisk = new struAlarmHardDisk(); |
|
2173 |
public struAlarmChannel strualarmChannel = new struAlarmChannel(); |
|
2174 |
public struRecordingHost strurecordingHost = new struRecordingHost(); |
|
2175 |
|
|
2176 |
|
|
2177 |
} |
|
2178 |
|
|
2179 |
public static class NET_DVR_ALRAM_FIXED_HEADER extends HIKSDKStructure { |
|
2180 |
public int dwAlarmType; |
|
2181 |
public NET_DVR_TIME_EX struAlarmTime = new NET_DVR_TIME_EX(); |
|
2182 |
public uStruAlarm ustruAlarm = new uStruAlarm(); |
|
2183 |
public Pointer pRes; |
|
2184 |
public byte byTimeDiffFlag; /*时差字段是否有效 0-时差无效, 1-时差有效 */ |
|
2185 |
public byte cTimeDifferenceH; /*与UTC的时差(小时),-12 ... +14, +表示东区,,byTimeDiffFlag为1时有效*/ |
|
2186 |
public byte cTimeDifferenceM; /*与UTC的时差(分钟),-30, 30, 45, +表示东区,byTimeDiffFlag为1时有效*/ |
|
2187 |
public byte byRes; //保留 |
|
2188 |
public short wDevInfoIvmsChannel; //增加后端透传前端时的通道号 |
|
2189 |
public byte[] byRes2 = new byte[2]; //保留 |
|
2190 |
} |
|
2191 |
|
|
2192 |
public static class NET_DVR_ALARMINFO_V40 extends HIKSDKStructure { |
|
2193 |
public NET_DVR_ALRAM_FIXED_HEADER struAlarmFixedHeader = new NET_DVR_ALRAM_FIXED_HEADER(); |
|
2194 |
public Pointer pAlarmData; |
|
2195 |
|
|
2196 |
|
|
2197 |
} |
|
2198 |
|
|
2199 |
public static class NET_DVR_ALARMINFO_V30 extends HIKSDKStructure {//上传报警信息(9000扩展) |
|
2200 |
public int dwAlarmType;/*0-信号量报警,1-硬盘满,2-信号丢失,3-移动侦测,4-硬盘未格式化,5-读写硬盘出错,6-遮挡报警,7-制式不匹配, 8-非法访问, 0xa-GPS定位信息(车载定制)*/ |
|
2201 |
public int dwAlarmInputNumber;/*报警输入端口*/ |
|
2202 |
public byte[] byAlarmOutputNumber = new byte[MAX_ALARMOUT_V30];/*触发的输出端口,为1表示对应输出*/ |
|
2203 |
public byte[] byAlarmRelateChannel = new byte[MAX_CHANNUM_V30];/*触发的录像通道,为1表示对应录像, dwAlarmRelateChannel[0]对应第1个通道*/ |
|
2204 |
public byte[] byChannel = new byte[MAX_CHANNUM_V30];/*dwAlarmType为2或3,6时,表示哪个通道,dwChannel[0]对应第1个通道*/ |
|
2205 |
public byte[] byDiskNumber = new byte[MAX_DISKNUM_V30];/*dwAlarmType为1,4,5时,表示哪个硬盘, dwDiskNumber[0]对应第1个硬盘*/ |
|
2206 |
|
|
2207 |
|
|
2208 |
} |
|
2209 |
|
|
2210 |
public static class NET_DVR_ALARMINFO extends HIKSDKStructure { |
|
2211 |
public int dwAlarmType;/*0-信号量报警,1-硬盘满,2-信号丢失,3-移动侦测,4-硬盘未格式化,5-读写硬盘出错,6-遮挡报警,7-制式不匹配, 8-非法访问, 9-串口状态, 0xa-GPS定位信息(车载定制)*/ |
|
2212 |
public int dwAlarmInputNumber;/*报警输入端口, 当报警类型为9时该变量表示串口状态0表示正常, -1表示错误*/ |
|
2213 |
public int[] dwAlarmOutputNumber = new int[MAX_ALARMOUT];/*触发的输出端口,为1表示对应哪一个输出*/ |
|
2214 |
public int[] dwAlarmRelateChannel = new int[MAX_CHANNUM];/*触发的录像通道,dwAlarmRelateChannel[0]为1表示第1个通道录像*/ |
|
2215 |
public int[] dwChannel = new int[MAX_CHANNUM];/*dwAlarmType为2或3,6时,表示哪个通道,dwChannel[0]位对应第1个通道*/ |
|
2216 |
public int[] dwDiskNumber = new int[MAX_DISKNUM];/*dwAlarmType为1,4,5时,表示哪个硬盘, dwDiskNumber[0]位对应第1个硬盘*/ |
|
2217 |
|
|
2218 |
|
|
2219 |
} |
|
2220 |
|
|
2221 |
public static class NET_DVR_ALARMINFO_EX extends HIKSDKStructure {//上传报警信息(杭州竞天定制 2006-07-28) |
|
2222 |
public int dwAlarmType;/*0-信号量报警,1-硬盘满,2-信号丢失,3-移动侦测,4-硬盘未格式化,5-读写硬盘出错,6-遮挡报警,7-制式不匹配, 8-非法访问*/ |
|
2223 |
public int dwAlarmInputNumber;/*报警输入端口*/ |
|
2224 |
public int[] dwAlarmOutputNumber = new int[MAX_ALARMOUT];/*报警输入端口对应的输出端口,哪一位为1表示对应哪一个输出*/ |
|
2225 |
public int[] dwAlarmRelateChannel = new int[MAX_CHANNUM];/*报警输入端口对应的录像通道,哪一位为1表示对应哪一路录像,dwAlarmRelateChannel[0]对应第1个通道*/ |
|
2226 |
public int[] dwChannel = new int[MAX_CHANNUM];/*dwAlarmType为2或3,6时,表示哪个通道,dwChannel[0]位对应第0个通道*/ |
|
2227 |
public int[] dwDiskNumber = new int[MAX_DISKNUM];/*dwAlarmType为1,4,5时,表示哪个硬盘*/ |
|
2228 |
public byte[] sSerialNumber = new byte[SERIALNO_LEN]; //序列号 |
|
2229 |
public byte[] sRemoteAlarmIP = new byte[16]; //远程报警IP地址; |
|
2230 |
|
|
2231 |
|
|
2232 |
} |
|
2233 |
|
|
2234 |
////////////////////////////////////////////////////////////////////////////////////// |
|
2235 |
//IPC接入参数配置 |
|
2236 |
public static class NET_DVR_IPDEVINFO extends HIKSDKStructure {/* IP设备结构 */ |
|
2237 |
public int dwEnable; /* 该IP设备是否启用 */ |
|
2238 |
public byte[] sUserName = new byte[NAME_LEN]; /* 用户名 */ |
|
2239 |
public byte[] sPassword = new byte[PASSWD_LEN]; /* 密码 */ |
|
2240 |
public NET_DVR_IPADDR struIP = new NET_DVR_IPADDR(); /* IP地址 */ |
|
2241 |
public short wDVRPort; /* 端口号 */ |
|
2242 |
public byte[] byres = new byte[34]; /* 保留 */ |
|
2243 |
|
|
2244 |
|
|
2245 |
} |
|
2246 |
|
|
2247 |
public static class NET_DVR_IPCHANINFO extends HIKSDKStructure {/* IP通道匹配参数 */ |
|
2248 |
public byte byEnable; /* 该通道是否启用 */ |
|
2249 |
public byte byIPID; /* IP设备ID 取值1- MAX_IP_DEVICE */ |
|
2250 |
public byte byChannel; /* 通道号 */ |
|
2251 |
public byte[] byres = new byte[33]; /* 保留 */ |
|
2252 |
|
|
2253 |
|
|
2254 |
} |
|
2255 |
|
|
2256 |
public static class NET_DVR_IPPARACFG extends HIKSDKStructure {/* IP接入配置结构 */ |
|
2257 |
public int dwSize; /* 结构大小 */ |
|
2258 |
public NET_DVR_IPDEVINFO[] struIPDevInfo = new NET_DVR_IPDEVINFO[MAX_IP_DEVICE]; /* IP设备 */ |
|
2259 |
public byte[] byAnalogChanEnable = new byte[MAX_ANALOG_CHANNUM]; /* 模拟通道是否启用,从低到高表示1-32通道,0表示无效 1有效 */ |
|
2260 |
public NET_DVR_IPCHANINFO[] struIPChanInfo = new NET_DVR_IPCHANINFO[MAX_IP_CHANNEL]; /* IP通道 */ |
|
2261 |
|
|
2262 |
|
|
2263 |
} |
|
2264 |
|
|
2265 |
public class NET_DVR_IPDEVINFO_V31 extends HIKSDKStructure { |
|
2266 |
public byte byEnable;/* 该通道是否启用 */ |
|
2267 |
public byte byProType;//协议类型(默认为私有协议),0- 私有协议,1- 松下协议,2- 索尼,更多协议通过NET_DVR_GetIPCProtoList获取。 |
|
2268 |
public byte byEnableQuickAdd;//0-不支持快速添加;1-使用快速添加 |
|
2269 |
public byte byRes1;//保留,置为0 |
|
2270 |
public byte[] sUserName = new byte[HCNetSDK.NAME_LEN];//用户名 |
|
2271 |
public byte[] sPassword = new byte[HCNetSDK.PASSWD_LEN];//密码 |
|
2272 |
public byte[] byDomain = new byte[HCNetSDK.MAX_DOMAIN_NAME];//设备域名 |
|
2273 |
public NET_DVR_IPADDR struIP = new NET_DVR_IPADDR();//IP地址 |
|
2274 |
public short wDVRPort;//端口号 |
|
2275 |
public byte[] szDeviceID = new byte[32]; |
|
2276 |
public byte[] byRes2 = new byte[2];//保留,置为0 |
|
2277 |
|
|
2278 |
|
|
2279 |
} |
|
2280 |
|
|
2281 |
public class NET_DVR_STREAM_MODE extends HIKSDKStructure { |
|
2282 |
|
|
2283 |
public byte byGetStreamType;//取流方式:0- 直接从设备取流;1- 从流媒体取流;2- 通过IPServer获得IP地址后取流; |
|
2284 |
//3- 通过IPServer找到设备,再通过流媒体取设备的流; 4- 通过流媒体由URL去取流;5- 通过hiDDNS域名连接设备然后从设备取流 |
|
2285 |
public byte[] byRes = new byte[3];//保留,置为0 |
|
2286 |
public NET_DVR_GET_STREAM_UNION uGetStream = new NET_DVR_GET_STREAM_UNION();//不同取流方式联合体 |
|
2287 |
|
|
2288 |
public void read() { |
|
2289 |
super.read(); |
|
2290 |
switch (byGetStreamType) { |
|
2291 |
case 0: |
|
2292 |
uGetStream.setType(NET_DVR_IPCHANINFO.class); |
|
2293 |
break; |
|
2294 |
case 6: |
|
2295 |
uGetStream.setType(NET_DVR_IPCHANINFO_V40.class); |
|
2296 |
break; |
|
2297 |
default: |
|
2298 |
break; |
|
2299 |
} |
|
2300 |
} |
|
2301 |
|
|
2302 |
|
|
2303 |
} |
|
2304 |
|
|
2305 |
public class NET_DVR_IPSERVER_STREAM extends HIKSDKStructure { |
|
2306 |
public byte byEnable; |
|
2307 |
public byte[] byRes = new byte[3]; |
|
2308 |
public NET_DVR_IPADDR struIPServer = new NET_DVR_IPADDR(); |
|
2309 |
public short wPort; |
|
2310 |
public short wDvrNameLen; |
|
2311 |
public byte[] byDVRName = new byte[HCNetSDK.NAME_LEN]; |
|
2312 |
public short wDVRSerialLen; |
|
2313 |
public short[] byRes1 = new short[2]; |
|
2314 |
public byte[] byDVRSerialNumber = new byte[HCNetSDK.SERIALNO_LEN]; |
|
2315 |
public byte[] byUserName = new byte[HCNetSDK.NAME_LEN]; |
|
2316 |
public byte[] byPassWord = new byte[HCNetSDK.PASSWD_LEN]; |
|
2317 |
public byte byChannel; |
|
2318 |
public byte[] byRes2 = new byte[11]; |
|
2319 |
|
|
2320 |
|
|
2321 |
} |
|
2322 |
|
|
2323 |
public class NET_DVR_STREAM_MEDIA_SERVER_CFG extends HIKSDKStructure { |
|
2324 |
|
|
2325 |
public byte byValid;//是否启用流媒体服务器取流:0-不启用,非0-启用 |
|
2326 |
public byte[] byRes1 = new byte[3];//保留,置为0 |
|
2327 |
public NET_DVR_IPADDR struDevIP = new NET_DVR_IPADDR();//流媒体服务器的IP地址 |
|
2328 |
public short wDevPort;//流媒体服务器端口 |
|
2329 |
public byte byTransmitType;//传输协议类型:0-TCP,1-UDP |
|
2330 |
public byte[] byRes2 = new byte[69]; |
|
2331 |
|
|
2332 |
|
|
2333 |
} |
|
2334 |
|
|
2335 |
public class NET_DVR_DEV_CHAN_INFO extends HIKSDKStructure { |
|
2336 |
public NET_DVR_IPADDR struIP = new NET_DVR_IPADDR();//设备IP地址 |
|
2337 |
public short wDVRPort;//设备端口号 |
|
2338 |
public byte byChannel;//通道号,目前设备的模拟通道号是从1开始的,对于9000等设备的IPC接入,数字通道号从33开始 |
|
2339 |
public byte byTransProtocol;//传输协议类型:0-TCP,1-UDP,2-多播方式,3-RTP |
|
2340 |
public byte byTransMode;//传输码流模式:0-主码流,1-子码流 |
|
2341 |
public byte byFactoryType;//前端设备厂家类型, 通过接口NET_DVR_GetIPCProtoList获取 |
|
2342 |
public byte byDeviceType;//设备类型(视频综合平台使用):1- IPC,2- ENCODER |
|
2343 |
public byte byDispChan;// 显示通道号(智能配置使用),根据能力集决定使用解码通道还是显示通道 |
|
2344 |
public byte bySubDispChan;//显示通道子通道号(智能配置时使用) |
|
2345 |
public byte byResolution;//分辨率:1- CIF,2- 4CIF,3- 720P,4- 1080P,5- 500W,用于多屏控制器,多屏控制器会根据该参数分配解码资源 |
|
2346 |
public byte[] byRes = new byte[2];//保留,置为0 |
|
2347 |
public byte[] byDomain = new byte[HCNetSDK.MAX_DOMAIN_NAME];//设备域名 |
|
2348 |
public byte[] sUserName = new byte[HCNetSDK.NAME_LEN];//设备登陆帐号 |
|
2349 |
public byte[] sPassword = new byte[HCNetSDK.PASSWD_LEN];//设备密码 |
|
2350 |
} |
|
2351 |
|
|
2352 |
public class NET_DVR_PU_STREAM_CFG extends HIKSDKStructure { |
|
2353 |
public int dwSize;//结构体大小 |
|
2354 |
public NET_DVR_STREAM_MEDIA_SERVER_CFG struStreamMediaSvrCfg = new NET_DVR_STREAM_MEDIA_SERVER_CFG(); |
|
2355 |
public NET_DVR_DEV_CHAN_INFO struDevChanInfo = new NET_DVR_DEV_CHAN_INFO(); |
|
2356 |
} |
|
2357 |
|
|
2358 |
public class NET_DVR_PU_STREAM_CFG_V41 extends HIKSDKStructure { |
|
2359 |
public int dwSize; |
|
2360 |
public byte byStreamMode;/*取流模式,0-无效,1-通过IP或域名取流,2-通过URL取流,3-通过动态域名解析向设备取流*/ |
|
2361 |
public byte byStreamEncrypt; //是否进行码流加密处理,0-不支持,1-支持 |
|
2362 |
public byte[] byRes1 = new byte[2]; |
|
2363 |
public NET_DVR_DEC_STREAM_MODE uDecStreamMode;//取流信息 |
|
2364 |
public int dwDecDelayTime;//解码延时时间,单位:毫秒 |
|
2365 |
public byte[] sStreamPassword = new byte[STREAM_PASSWD_LEN]; //码流加密密码,需敏感信息加密 |
|
2366 |
public byte[] byRes2 = new byte[48]; |
|
2367 |
} |
|
2368 |
|
|
2369 |
|
|
2370 |
public class NET_DVR_DDNS_STREAM_CFG extends HIKSDKStructure { |
|
2371 |
public byte byEnable; |
|
2372 |
public byte[] byRes1 = new byte[3]; |
|
2373 |
public NET_DVR_IPADDR struStreamServer = new NET_DVR_IPADDR(); |
|
2374 |
public short wStreamServerPort; |
|
2375 |
public byte byStreamServerTransmitType; |
|
2376 |
public byte byRes2; |
|
2377 |
public NET_DVR_IPADDR struIPServer = new NET_DVR_IPADDR(); |
|
2378 |
public short wIPServerPort; |
|
2379 |
public byte[] byRes3 = new byte[2]; |
|
2380 |
public byte[] sDVRName = new byte[HCNetSDK.NAME_LEN]; |
|
2381 |
public short wDVRNameLen; |
|
2382 |
public short wDVRSerialLen; |
|
2383 |
public byte[] sDVRSerialNumber = new byte[HCNetSDK.SERIALNO_LEN]; |
|
2384 |
public byte[] sUserName = new byte[HCNetSDK.NAME_LEN]; |
|
2385 |
public byte[] sPassWord = new byte[HCNetSDK.PASSWD_LEN]; |
|
2386 |
public short wDVRPort; |
|
2387 |
public byte[] byRes4 = new byte[2]; |
|
2388 |
public byte byChannel; |
|
2389 |
public byte byTransProtocol; |
|
2390 |
public byte byTransMode; |
|
2391 |
public byte byFactoryType; |
|
2392 |
|
|
2393 |
|
|
2394 |
} |
|
2395 |
|
|
2396 |
public class NET_DVR_PU_STREAM_URL extends HIKSDKStructure { |
|
2397 |
public byte byEnable;//是否启用:0- 禁用,1- 启用 |
|
2398 |
public byte[] strURL = new byte[240];//取流URL路径 |
|
2399 |
public byte byTransPortocol;//传输协议类型:0-TCP,1-UDP |
|
2400 |
public short wIPID;//设备ID号,wIPID = iDevInfoIndex + iGroupNO*64 +1 |
|
2401 |
public byte byChannel;//设备通道号 |
|
2402 |
public byte[] byRes = new byte[7];//保留,置为0 |
|
2403 |
|
|
2404 |
|
|
2405 |
} |
|
2406 |
|
|
2407 |
public class NET_DVR_HKDDNS_STREAM extends HIKSDKStructure { |
|
2408 |
public byte byEnable;//是否启用 |
|
2409 |
public byte[] byRes = new byte[3];//保留 |
|
2410 |
public byte[] byDDNSDomain = new byte[64];//hiDDNS服务器地址 |
|
2411 |
public short wPort;//hiDDNS端口,默认:80 |
|
2412 |
public short wAliasLen;//别名长度 |
|
2413 |
public byte[] byAlias = new byte[HCNetSDK.NAME_LEN];//别名 |
|
2414 |
public short wDVRSerialLen;//序列号长度 |
|
2415 |
public byte[] byRes1 = new byte[2];//保留 |
|
2416 |
public byte[] byDVRSerialNumber = new byte[HCNetSDK.SERIALNO_LEN];//设备序列号 |
|
2417 |
public byte[] byUserName = new byte[HCNetSDK.NAME_LEN];//设备登录用户名 |
|
2418 |
public byte[] byPassWord = new byte[HCNetSDK.PASSWD_LEN];//设备登录密码 |
|
2419 |
public byte byChannel;//设备通道号 |
|
2420 |
public byte[] byRes2 = new byte[11];//保留 |
|
2421 |
|
|
2422 |
|
|
2423 |
} |
|
2424 |
|
|
2425 |
public class NET_DVR_IPCHANINFO_V40 extends HIKSDKStructure { |
|
2426 |
|
|
2427 |
public byte byEnable;//IP通道在线状态,是一个只读的属性; |
|
2428 |
//0表示HDVR或者NVR设备的数字通道连接对应的IP设备失败,该通道不在线;1表示连接成功,该通道在线 |
|
2429 |
public byte byRes1;//保留,置为0 |
|
2430 |
public short wIPID;//IP设备ID |
|
2431 |
public int dwChannel;//IP设备的通道号,例如设备A(HDVR或者NVR设备)的IP通道01,对应的是设备B(DVS)里的通道04,则byChannel=4,如果前端接的是IPC则byChannel=1。 |
|
2432 |
public byte byTransProtocol;//传输协议类型:0- TCP,1- UDP,2- 多播,0xff- auto(自动) |
|
2433 |
public byte byTransMode;//传输码流模式:0- 主码流,1- 子码流 |
|
2434 |
public byte byFactoryType;//前端设备厂家类型 |
|
2435 |
public byte[] byRes = new byte[241];//保留,置为0 |
|
2436 |
|
|
2437 |
|
|
2438 |
} |
|
2439 |
|
|
2440 |
|
|
2441 |
public static class NET_DVR_GET_STREAM_UNION extends Union { |
|
2442 |
public NET_DVR_IPCHANINFO struChanInfo = new NET_DVR_IPCHANINFO(); /*IP通道信息*/ |
|
2443 |
public NET_DVR_IPCHANINFO_V40 struIPChan = new NET_DVR_IPCHANINFO_V40(); //直接从设备取流(扩展) |
|
2444 |
public byte[] byUnionLen = new byte[492]; //直接从设备取流(扩展) |
|
2445 |
|
|
2446 |
|
|
2447 |
} |
|
2448 |
|
|
2449 |
public static class NET_DVR_IPPARACFG_V40 extends HIKSDKStructure {/* IP接入配置结构V40 */ |
|
2450 |
public int dwSize; /* 结构大小 */ |
|
2451 |
public int dwGroupNum;//设备支持的总组数(只读)。 |
|
2452 |
public int dwAChanNum;//最大模拟通道个数(只读) |
|
2453 |
public int dwDChanNum;//数字通道个数(只读) |
|
2454 |
public int dwStartDChan;//起始数字通道(只读) |
|
2455 |
public byte[] byAnalogChanEnable = new byte[MAX_CHANNUM_V30]; //模拟通道资源是否启用,从低到高表示1-64通道:0-禁用,1-启用。 |
|
2456 |
public NET_DVR_IPDEVINFO_V31[] struIPDevInfo = new NET_DVR_IPDEVINFO_V31[MAX_IP_DEVICE_V40];//IP设备信息,下标0对应设备IP ID为1 |
|
2457 |
public NET_DVR_STREAM_MODE[] struStreamMode = new NET_DVR_STREAM_MODE[MAX_CHANNUM_V30];//取流模式 |
|
2458 |
public byte[] byRes2 = new byte[20];//保留,置为0 |
|
2459 |
|
|
2460 |
|
|
2461 |
} |
|
2462 |
|
|
2463 |
public static class NET_DVR_IPALARMOUTINFO extends HIKSDKStructure {/* 报警输出参数 */ |
|
2464 |
public byte byIPID; /* IP设备ID取值1- MAX_IP_DEVICE */ |
|
2465 |
public byte byAlarmOut; /* 报警输出号 */ |
|
2466 |
public byte[] byRes = new byte[18]; /* 保留 */ |
|
2467 |
|
|
2468 |
|
|
2469 |
} |
|
2470 |
|
|
2471 |
public static class NET_DVR_IPALARMOUTCFG extends HIKSDKStructure {/* IP报警输出配置结构 */ |
|
2472 |
public int dwSize; /* 结构大小 */ |
|
2473 |
public NET_DVR_IPALARMOUTINFO[] struIPAlarmOutInfo = new NET_DVR_IPALARMOUTINFO[MAX_IP_ALARMOUT];/* IP报警输出 */ |
|
2474 |
|
|
2475 |
|
|
2476 |
} |
|
2477 |
|
|
2478 |
public static class NET_DVR_IPALARMININFO extends HIKSDKStructure {/* 报警输入参数 */ |
|
2479 |
public byte byIPID; /* IP设备ID取值1- MAX_IP_DEVICE */ |
|
2480 |
public byte byAlarmIn; /* 报警输入号 */ |
|
2481 |
public byte[] byRes = new byte[18]; /* 保留 */ |
|
2482 |
|
|
2483 |
|
|
2484 |
} |
|
2485 |
|
|
2486 |
public static class NET_DVR_IPALARMINCFG extends HIKSDKStructure {/* IP报警输入配置结构 */ |
|
2487 |
public int dwSize; /* 结构大小 */ |
|
2488 |
public NET_DVR_IPALARMININFO[] struIPAlarmInInfo = new NET_DVR_IPALARMININFO[MAX_IP_ALARMIN];/* IP报警输入 */ |
|
2489 |
|
|
2490 |
|
|
2491 |
} |
|
2492 |
|
|
2493 |
public static class NET_DVR_IPALARMINFO extends HIKSDKStructure {//ipc alarm info |
|
2494 |
public NET_DVR_IPDEVINFO[] struIPDevInfo = new NET_DVR_IPDEVINFO[MAX_IP_DEVICE]; /* IP设备 */ |
|
2495 |
public byte[] byAnalogChanEnable = new byte[MAX_ANALOG_CHANNUM]; /* 模拟通道是否启用,0-未启用 1-启用 */ |
|
2496 |
public NET_DVR_IPCHANINFO[] struIPChanInfo = new NET_DVR_IPCHANINFO[MAX_IP_CHANNEL]; /* IP通道 */ |
|
2497 |
public NET_DVR_IPALARMININFO[] struIPAlarmInInfo = new NET_DVR_IPALARMININFO[MAX_IP_ALARMIN]; /* IP报警输入 */ |
|
2498 |
public NET_DVR_IPALARMOUTINFO[] struIPAlarmOutInfo = new NET_DVR_IPALARMOUTINFO[MAX_IP_ALARMOUT]; /* IP报警输出 */ |
|
2499 |
|
|
2500 |
|
|
2501 |
} |
|
2502 |
|
|
2503 |
public static class NET_DVR_SINGLE_HD extends HIKSDKStructure {//本地硬盘信息配置 |
|
2504 |
public int dwHDNo; /*硬盘号, 取值0~MAX_DISKNUM_V30-1*/ |
|
2505 |
public int dwCapacity; /*硬盘容量(不可设置)*/ |
|
2506 |
public int dwFreeSpace; /*硬盘剩余空间(不可设置)*/ |
|
2507 |
public int dwHdStatus; /*硬盘状态(不可设置) 0-正常, 1-未格式化, 2-错误, 3-SMART状态, 4-不匹配, 5-休眠*/ |
|
2508 |
public byte byHDAttr; /*0-默认, 1-冗余; 2-只读*/ |
|
2509 |
public byte[] byRes1 = new byte[3]; |
|
2510 |
public int dwHdGroup; /*属于哪个盘组 1-MAX_HD_GROUP*/ |
|
2511 |
public byte[] byRes2 = new byte[120]; |
|
2512 |
} |
|
2513 |
|
|
2514 |
public static class NET_DVR_HDCFG extends HIKSDKStructure { |
|
2515 |
public int dwSize; |
|
2516 |
public int dwHDCount; /*硬盘数(不可设置)*/ |
|
2517 |
public NET_DVR_SINGLE_HD[] struHDInfo = new NET_DVR_SINGLE_HD[MAX_DISKNUM_V30];//硬盘相关操作都需要重启才能生效; |
|
2518 |
} |
|
2519 |
|
|
2520 |
public static class NET_DVR_SINGLE_HDGROUP extends HIKSDKStructure {//本地盘组信息配置 |
|
2521 |
public int dwHDGroupNo; /*盘组号(不可设置) 1-MAX_HD_GROUP*/ |
|
2522 |
public byte[] byHDGroupChans = new byte[64]; /*盘组对应的录像通道, 0-表示该通道不录象到该盘组,1-表示录象到该盘组*/ |
|
2523 |
public byte[] byRes = new byte[8]; |
|
2524 |
} |
|
2525 |
|
|
2526 |
public static class NET_DVR_HDGROUP_CFG extends HIKSDKStructure { |
|
2527 |
public int dwSize; |
|
2528 |
public int dwHDGroupCount; /*盘组总数(不可设置)*/ |
|
2529 |
public NET_DVR_SINGLE_HDGROUP[] struHDGroupAttr = new NET_DVR_SINGLE_HDGROUP[MAX_HD_GROUP];//硬盘相关操作都需要重启才能生效; |
|
2530 |
} |
|
2531 |
|
|
2532 |
public static class NET_DVR_SCALECFG extends HIKSDKStructure {//配置缩放参数的结构 |
|
2533 |
public int dwSize; |
|
2534 |
public int dwMajorScale; /* 主显示 0-不缩放,1-缩放*/ |
|
2535 |
public int dwMinorScale; /* 辅显示 0-不缩放,1-缩放*/ |
|
2536 |
public int[] dwRes = new int[2]; |
|
2537 |
} |
|
2538 |
|
|
2539 |
public static class NET_DVR_ALARMOUTCFG_V30 extends HIKSDKStructure {//DVR报警输出(9000扩展) |
|
2540 |
public int dwSize; |
|
2541 |
public byte[] sAlarmOutName = new byte[NAME_LEN]; /* 名称 */ |
|
2542 |
public int dwAlarmOutDelay; /* 输出保持时间(-1为无限,手动关闭) */ |
|
2543 |
//0-5秒,1-10秒,2-30秒,3-1分钟,4-2分钟,5-5分钟,6-10分钟,7-手动 |
|
2544 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmOutTime = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS];/* 报警输出激活时间段 */ |
|
2545 |
public byte[] byRes = new byte[16]; |
|
2546 |
} |
|
2547 |
|
|
2548 |
public static class NET_DVR_ALARMOUTCFG extends HIKSDKStructure {//DVR报警输出 |
|
2549 |
public int dwSize; |
|
2550 |
public byte[] sAlarmOutName = new byte[NAME_LEN]; /* 名称 */ |
|
2551 |
public int dwAlarmOutDelay; /* 输出保持时间(-1为无限,手动关闭) */ |
|
2552 |
//0-5秒,1-10秒,2-30秒,3-1分钟,4-2分钟,5-5分钟,6-10分钟,7-手动 |
|
2553 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmOutTime = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS];/* 报警输出激活时间段 */ |
|
2554 |
} |
|
2555 |
|
|
2556 |
public static class NET_DVR_PREVIEWCFG_V30 extends HIKSDKStructure {//DVR本地预览参数(9000扩展) |
|
2557 |
public int dwSize; |
|
2558 |
public byte byPreviewNumber;//预览数目,0-1画面,1-4画面,2-9画面,3-16画面, 4-6画面, 5-8画面, 0xff:最大画面 |
|
2559 |
public byte byEnableAudio;//是否声音预览,0-不预览,1-预览 |
|
2560 |
public short wSwitchTime;//切换时间,0-不切换,1-5s,2-10s,3-20s,4-30s,5-60s,6-120s,7-300s |
|
2561 |
public byte[][] bySwitchSeq = new byte[MAX_PREVIEW_MODE][MAX_WINDOW_V30];//切换顺序,如果lSwitchSeq[i]为 0xff表示不用 |
|
2562 |
public byte[] byRes = new byte[24]; |
|
2563 |
} |
|
2564 |
|
|
2565 |
public static class NET_DVR_PREVIEWCFG extends HIKSDKStructure {//DVR本地预览参数 |
|
2566 |
public int dwSize; |
|
2567 |
public byte byPreviewNumber;//预览数目,0-1画面,1-4画面,2-9画面,3-16画面,0xff:最大画面 |
|
2568 |
public byte byEnableAudio;//是否声音预览,0-不预览,1-预览 |
|
2569 |
public short wSwitchTime;//切换时间,0-不切换,1-5s,2-10s,3-20s,4-30s,5-60s,6-120s,7-300s |
|
2570 |
public byte[] bySwitchSeq = new byte[MAX_WINDOW];//切换顺序,如果lSwitchSeq[i]为 0xff表示不用 |
|
2571 |
} |
|
2572 |
|
|
2573 |
public static class NET_DVR_VGAPARA extends HIKSDKStructure {//DVR视频输出 |
|
2574 |
public short wResolution; /* 分辨率 */ |
|
2575 |
public short wFreq; /* 刷新频率 */ |
|
2576 |
public int dwBrightness; /* 亮度 */ |
|
2577 |
} |
|
2578 |
|
|
2579 |
/* |
|
2580 |
* MATRIX输出参数结构 |
|
2581 |
*/ |
|
2582 |
public static class NET_DVR_MATRIXPARA_V30 extends HIKSDKStructure { |
|
2583 |
public short[] wOrder = new short[MAX_ANALOG_CHANNUM]; /* 预览顺序, 0xff表示相应的窗口不预览 */ |
|
2584 |
public short wSwitchTime; /* 预览切换时间 */ |
|
2585 |
public byte[] res = new byte[14]; |
|
2586 |
} |
|
2587 |
|
|
2588 |
public static class NET_DVR_MATRIXPARA extends HIKSDKStructure { |
|
2589 |
public short wDisplayLogo; /* 显示视频通道号(保留) */ |
|
2590 |
public short wDisplayOsd; /* 显示时间(保留) */ |
|
2591 |
} |
|
2592 |
|
|
2593 |
public static class NET_DVR_VOOUT extends HIKSDKStructure { |
|
2594 |
public byte byVideoFormat; /* 输出制式,0-PAL,1-NTSC */ |
|
2595 |
public byte byMenuAlphaValue; /* 菜单与背景图象对比度 */ |
|
2596 |
public short wScreenSaveTime; /* 屏幕保护时间 0-从不,1-1分钟,2-2分钟,3-5分钟,4-10分钟,5-20分钟,6-30分钟 */ |
|
2597 |
public short wVOffset; /* 视频输出偏移 */ |
|
2598 |
public short wBrightness; /* 视频输出亮度 */ |
|
2599 |
public byte byStartMode; /* 启动后视频输出模式(0:菜单,1:预览)*/ |
|
2600 |
public byte byEnableScaler; /* 是否启动缩放 (0-不启动, 1-启动)*/ |
|
2601 |
} |
|
2602 |
|
|
2603 |
public static class NET_DVR_VIDEOOUT_V30 extends HIKSDKStructure {//DVR视频输出(9000扩展) |
|
2604 |
public int dwSize; |
|
2605 |
public NET_DVR_VOOUT[] struVOOut = new NET_DVR_VOOUT[MAX_VIDEOOUT_V30]; |
|
2606 |
public NET_DVR_VGAPARA[] struVGAPara = new NET_DVR_VGAPARA[MAX_VGA_V30]; /* VGA参数 */ |
|
2607 |
public NET_DVR_MATRIXPARA_V30[] struMatrixPara = new NET_DVR_MATRIXPARA_V30[MAX_MATRIXOUT]; /* MATRIX参数 */ |
|
2608 |
public byte[] byRes = new byte[16]; |
|
2609 |
} |
|
2610 |
|
|
2611 |
public static class NET_DVR_VIDEOOUT extends HIKSDKStructure {//DVR视频输出 |
|
2612 |
public int dwSize; |
|
2613 |
public NET_DVR_VOOUT[] struVOOut = new NET_DVR_VOOUT[MAX_VIDEOOUT]; |
|
2614 |
public NET_DVR_VGAPARA[] struVGAPara = new NET_DVR_VGAPARA[MAX_VGA]; /* VGA参数 */ |
|
2615 |
public NET_DVR_MATRIXPARA struMatrixPara; /* MATRIX参数 */ |
|
2616 |
} |
|
2617 |
|
|
2618 |
public static class NET_DVR_USER_INFO_V30 extends HIKSDKStructure {//单用户参数(子结构)(9000扩展) |
|
2619 |
public byte[] sUserName = new byte[NAME_LEN]; /* 用户名 */ |
|
2620 |
public byte[] sPassword = new byte[PASSWD_LEN]; /* 密码 */ |
|
2621 |
public byte[] byLocalRight = new byte[MAX_RIGHT]; /* 本地权限 */ |
|
2622 |
/*数组0: 本地控制云台*/ |
|
2623 |
/*数组1: 本地手动录象*/ |
|
2624 |
/*数组2: 本地回放*/ |
|
2625 |
/*数组3: 本地设置参数*/ |
|
2626 |
/*数组4: 本地查看状态、日志*/ |
|
2627 |
/*数组5: 本地高级操作(升级,格式化,重启,关机)*/ |
|
2628 |
/*数组6: 本地查看参数 */ |
|
2629 |
/*数组7: 本地管理模拟和IP camera */ |
|
2630 |
/*数组8: 本地备份 */ |
|
2631 |
/*数组9: 本地关机/重启 */ |
|
2632 |
public byte[] byRemoteRight = new byte[MAX_RIGHT];/* 远程权限 */ |
|
2633 |
/*数组0: 远程控制云台*/ |
|
2634 |
/*数组1: 远程手动录象*/ |
|
2635 |
/*数组2: 远程回放 */ |
|
2636 |
/*数组3: 远程设置参数*/ |
|
2637 |
/*数组4: 远程查看状态、日志*/ |
|
2638 |
/*数组5: 远程高级操作(升级,格式化,重启,关机)*/ |
|
2639 |
/*数组6: 远程发起语音对讲*/ |
|
2640 |
/*数组7: 远程预览*/ |
|
2641 |
/*数组8: 远程请求报警上传、报警输出*/ |
|
2642 |
/*数组9: 远程控制,本地输出*/ |
|
2643 |
/*数组10: 远程控制串口*/ |
|
2644 |
/*数组11: 远程查看参数 */ |
|
2645 |
/*数组12: 远程管理模拟和IP camera */ |
|
2646 |
/*数组13: 远程关机/重启 */ |
|
2647 |
public byte[] byNetPreviewRight = new byte[MAX_CHANNUM_V30]; /* 远程可以预览的通道 0-有权限,1-无权限*/ |
|
2648 |
public byte[] byLocalPlaybackRight = new byte[MAX_CHANNUM_V30]; /* 本地可以回放的通道 0-有权限,1-无权限*/ |
|
2649 |
public byte[] byNetPlaybackRight = new byte[MAX_CHANNUM_V30]; /* 远程可以回放的通道 0-有权限,1-无权限*/ |
|
2650 |
public byte[] byLocalRecordRight = new byte[MAX_CHANNUM_V30]; /* 本地可以录像的通道 0-有权限,1-无权限*/ |
|
2651 |
public byte[] byNetRecordRight = new byte[MAX_CHANNUM_V30]; /* 远程可以录像的通道 0-有权限,1-无权限*/ |
|
2652 |
public byte[] byLocalPTZRight = new byte[MAX_CHANNUM_V30]; /* 本地可以PTZ的通道 0-有权限,1-无权限*/ |
|
2653 |
public byte[] byNetPTZRight = new byte[MAX_CHANNUM_V30]; /* 远程可以PTZ的通道 0-有权限,1-无权限*/ |
|
2654 |
public byte[] byLocalBackupRight = new byte[MAX_CHANNUM_V30]; /* 本地备份权限通道 0-有权限,1-无权限*/ |
|
2655 |
public NET_DVR_IPADDR struUserIP; /* 用户IP地址(为0时表示允许任何地址) */ |
|
2656 |
public byte[] byMACAddr = new byte[MACADDR_LEN]; /* 物理地址 */ |
|
2657 |
public byte byPriority; /* 优先级,0xff-无,0--低,1--中,2--高 */ |
|
2658 |
/* |
|
2659 |
无……表示不支持优先级的设置 |
|
2660 |
低……默认权限:包括本地和远程回放,本地和远程查看日志和状态,本地和远程关机/重启 |
|
2661 |
中……包括本地和远程控制云台,本地和远程手动录像,本地和远程回放,语音对讲和远程预览 |
|
2662 |
本地备份,本地/远程关机/重启 |
|
2663 |
高……管理员 |
|
2664 |
*/ |
|
2665 |
public byte[] byRes = new byte[17]; |
|
2666 |
} |
|
2667 |
|
|
2668 |
public static class NET_DVR_USER_INFO_EX extends HIKSDKStructure {//单用户参数(SDK_V15扩展)(子结构) |
|
2669 |
public byte[] sUserName = new byte[NAME_LEN]; /* 用户名 */ |
|
2670 |
public byte[] sPassword = new byte[PASSWD_LEN]; /* 密码 */ |
|
2671 |
public int[] dwLocalRight = new int[MAX_RIGHT]; /* 权限 */ |
|
2672 |
/*数组0: 本地控制云台*/ |
|
2673 |
/*数组1: 本地手动录象*/ |
|
2674 |
/*数组2: 本地回放*/ |
|
2675 |
/*数组3: 本地设置参数*/ |
|
2676 |
/*数组4: 本地查看状态、日志*/ |
|
2677 |
/*数组5: 本地高级操作(升级,格式化,重启,关机)*/ |
|
2678 |
public int dwLocalPlaybackRight; /* 本地可以回放的通道 bit0 -- channel 1*/ |
|
2679 |
public int[] dwRemoteRight = new int[MAX_RIGHT]; /* 权限 */ |
|
2680 |
/*数组0: 远程控制云台*/ |
|
2681 |
/*数组1: 远程手动录象*/ |
|
2682 |
/*数组2: 远程回放 */ |
|
2683 |
/*数组3: 远程设置参数*/ |
|
2684 |
/*数组4: 远程查看状态、日志*/ |
|
2685 |
/*数组5: 远程高级操作(升级,格式化,重启,关机)*/ |
|
2686 |
/*数组6: 远程发起语音对讲*/ |
|
2687 |
/*数组7: 远程预览*/ |
|
2688 |
/*数组8: 远程请求报警上传、报警输出*/ |
|
2689 |
/*数组9: 远程控制,本地输出*/ |
|
2690 |
/*数组10: 远程控制串口*/ |
|
2691 |
public int dwNetPreviewRight; /* 远程可以预览的通道 bit0 -- channel 1*/ |
|
2692 |
public int dwNetPlaybackRight; /* 远程可以回放的通道 bit0 -- channel 1*/ |
|
2693 |
public byte[] sUserIP = new byte[16]; /* 用户IP地址(为0时表示允许任何地址) */ |
|
2694 |
public byte[] byMACAddr = new byte[MACADDR_LEN]; /* 物理地址 */ |
|
2695 |
} |
|
2696 |
|
|
2697 |
public static class NET_DVR_USER_INFO extends HIKSDKStructure {//单用户参数(子结构) |
|
2698 |
public byte[] sUserName = new byte[NAME_LEN]; /* 用户名 */ |
|
2699 |
public byte[] sPassword = new byte[PASSWD_LEN]; /* 密码 */ |
|
2700 |
public int[] dwLocalRight = new int[MAX_RIGHT]; /* 权限 */ |
|
2701 |
/*数组0: 本地控制云台*/ |
|
2702 |
/*数组1: 本地手动录象*/ |
|
2703 |
/*数组2: 本地回放*/ |
|
2704 |
/*数组3: 本地设置参数*/ |
|
2705 |
/*数组4: 本地查看状态、日志*/ |
|
2706 |
/*数组5: 本地高级操作(升级,格式化,重启,关机)*/ |
|
2707 |
public int[] dwRemoteRight = new int[MAX_RIGHT]; /* 权限 */ |
|
2708 |
/*数组0: 远程控制云台*/ |
|
2709 |
/*数组1: 远程手动录象*/ |
|
2710 |
/*数组2: 远程回放 */ |
|
2711 |
/*数组3: 远程设置参数*/ |
|
2712 |
/*数组4: 远程查看状态、日志*/ |
|
2713 |
/*数组5: 远程高级操作(升级,格式化,重启,关机)*/ |
|
2714 |
/*数组6: 远程发起语音对讲*/ |
|
2715 |
/*数组7: 远程预览*/ |
|
2716 |
/*数组8: 远程请求报警上传、报警输出*/ |
|
2717 |
/*数组9: 远程控制,本地输出*/ |
|
2718 |
/*数组10: 远程控制串口*/ |
|
2719 |
public byte[] sUserIP = new byte[16]; /* 用户IP地址(为0时表示允许任何地址) */ |
|
2720 |
public byte[] byMACAddr = new byte[MACADDR_LEN]; /* 物理地址 */ |
|
2721 |
} |
|
2722 |
|
|
2723 |
public static class NET_DVR_USER_V30 extends HIKSDKStructure {//DVR用户参数(9000扩展) |
|
2724 |
public int dwSize; |
|
2725 |
public NET_DVR_USER_INFO_V30[] struUser = new NET_DVR_USER_INFO_V30[MAX_USERNUM_V30]; |
|
2726 |
} |
|
2727 |
|
|
2728 |
public static class NET_DVR_USER_EX extends HIKSDKStructure {//DVR用户参数(SDK_V15扩展) |
|
2729 |
public int dwSize; |
|
2730 |
public NET_DVR_USER_INFO_EX[] struUser = new NET_DVR_USER_INFO_EX[MAX_USERNUM]; |
|
2731 |
} |
|
2732 |
|
|
2733 |
public static class NET_DVR_USER extends HIKSDKStructure {//DVR用户参数 |
|
2734 |
public int dwSize; |
|
2735 |
public NET_DVR_USER_INFO[] struUser = new NET_DVR_USER_INFO[MAX_USERNUM]; |
|
2736 |
} |
|
2737 |
|
|
2738 |
public static class NET_DVR_EXCEPTION_V30 extends HIKSDKStructure {//DVR异常参数(9000扩展) |
|
2739 |
public int dwSize; |
|
2740 |
public NET_DVR_HANDLEEXCEPTION_V30[] struExceptionHandleType = new NET_DVR_HANDLEEXCEPTION_V30[MAX_EXCEPTIONNUM_V30]; |
|
2741 |
/*数组0-盘满,1- 硬盘出错,2-网线断,3-局域网内IP 地址冲突,4-非法访问, 5-输入/输出视频制式不匹配, 6-行车超速(车载专用), 7-视频信号异常(9000)*/ |
|
2742 |
} |
|
2743 |
|
|
2744 |
public static class NET_DVR_EXCEPTION extends HIKSDKStructure {//DVR异常参数 |
|
2745 |
public int dwSize; |
|
2746 |
public NET_DVR_HANDLEEXCEPTION[] struExceptionHandleType = new NET_DVR_HANDLEEXCEPTION[MAX_EXCEPTIONNUM]; |
|
2747 |
/*数组0-盘满,1- 硬盘出错,2-网线断,3-局域网内IP 地址冲突,4-非法访问, 5-输入/输出视频制式不匹配, 6-行车超速(车载专用)*/ |
|
2748 |
} |
|
2749 |
|
|
2750 |
public static class NET_DVR_CHANNELSTATE_V30 extends HIKSDKStructure {//通道状态(9000扩展) |
|
2751 |
public byte byRecordStatic; //通道是否在录像,0-不录像,1-录像 |
|
2752 |
public byte bySignalStatic; //连接的信号状态,0-正常,1-信号丢失 |
|
2753 |
public byte byHardwareStatic;//通道硬件状态,0-正常,1-异常,例如DSP死掉 |
|
2754 |
public byte byRes1; //保留 |
|
2755 |
public int dwBitRate;//实际码率 |
|
2756 |
public int dwLinkNum;//客户端连接的个数 |
|
2757 |
public NET_DVR_IPADDR[] struClientIP = new NET_DVR_IPADDR[MAX_LINK];//客户端的IP地址 |
|
2758 |
public int dwIPLinkNum;//如果该通道为IP接入,那么表示IP接入当前的连接数 |
|
2759 |
public byte byExceedMaxLink; // 是否超出了单路6路连接数 0 - 未超出, 1-超出 |
|
2760 |
public byte[] byRes = new byte[3]; // 保留字节 |
|
2761 |
public int dwAllBitRate; //所有实际码率之和 |
|
2762 |
public int dwChannelNo; //当前的通道号,0xffffffff表示无效 |
|
2763 |
} |
|
2764 |
|
|
2765 |
public static class NET_DVR_CHANNELSTATE extends HIKSDKStructure {//通道状态 |
|
2766 |
public byte byRecordStatic; //通道是否在录像,0-不录像,1-录像 |
|
2767 |
public byte bySignalStatic; //连接的信号状态,0-正常,1-信号丢失 |
|
2768 |
public byte byHardwareStatic;//通道硬件状态,0-正常,1-异常,例如DSP死掉 |
|
2769 |
public byte reservedData; //保留 |
|
2770 |
public int dwBitRate;//实际码率 |
|
2771 |
public int dwLinkNum;//客户端连接的个数 |
|
2772 |
public int[] dwClientIP = new int[MAX_LINK];//客户端的IP地址 |
|
2773 |
} |
|
2774 |
|
|
2775 |
public static class NET_DVR_DISKSTATE extends HIKSDKStructure {//硬盘状态 |
|
2776 |
public int dwVolume;//硬盘的容量 |
|
2777 |
public int dwFreeSpace;//硬盘的剩余空间 |
|
2778 |
public int dwHardDiskStatic; //硬盘的状态,按位:1-休眠,2-不正常,3-休眠硬盘出错 |
|
2779 |
} |
|
2780 |
|
|
2781 |
public static class NET_DVR_WORKSTATE_V30 extends HIKSDKStructure {//DVR工作状态(9000扩展) |
|
2782 |
public int dwDeviceStatic; //设备的状态,0-正常,1-CPU占用率太高,超过85%,2-硬件错误,例如串口死掉 |
|
2783 |
public NET_DVR_DISKSTATE[] struHardDiskStatic = new NET_DVR_DISKSTATE[MAX_DISKNUM_V30]; |
|
2784 |
public NET_DVR_CHANNELSTATE_V30[] struChanStatic = new NET_DVR_CHANNELSTATE_V30[MAX_CHANNUM_V30];//通道的状态 |
|
2785 |
public byte[] byAlarmInStatic = new byte[MAX_ALARMIN_V30]; //报警端口的状态,0-没有报警,1-有报警 |
|
2786 |
public byte[] byAlarmOutStatic = new byte[MAX_ALARMOUT_V30]; //报警输出端口的状态,0-没有输出,1-有报警输出 |
|
2787 |
public int dwLocalDisplay;//本地显示状态,0-正常,1-不正常 |
|
2788 |
public byte[] byAudioChanStatus = new byte[MAX_AUDIO_V30];//表示语音通道的状态 0-未使用,1-使用中, 0xff无效 |
|
2789 |
public byte[] byRes = new byte[10]; |
|
2790 |
} |
|
2791 |
|
|
2792 |
public static class NET_DVR_WORKSTATE extends HIKSDKStructure {//DVR工作状态 |
|
2793 |
public int dwDeviceStatic; //设备的状态,0-正常,1-CPU占用率太高,超过85%,2-硬件错误,例如串口死掉 |
|
2794 |
public NET_DVR_DISKSTATE[] struHardDiskStatic = new NET_DVR_DISKSTATE[MAX_DISKNUM]; |
|
2795 |
public NET_DVR_CHANNELSTATE[] struChanStatic = new NET_DVR_CHANNELSTATE[MAX_CHANNUM];//通道的状态 |
|
2796 |
public byte[] byAlarmInStatic = new byte[MAX_ALARMIN]; //报警端口的状态,0-没有报警,1-有报警 |
|
2797 |
public byte[] byAlarmOutStatic = new byte[MAX_ALARMOUT]; //报警输出端口的状态,0-没有输出,1-有报警输出 |
|
2798 |
public int dwLocalDisplay;//本地显示状态,0-正常,1-不正常 |
|
2799 |
} |
|
2800 |
|
|
2801 |
public static class NET_DVR_LOG_V30 extends HIKSDKStructure {//日志信息(9000扩展) |
|
2802 |
public NET_DVR_TIME strLogTime; |
|
2803 |
public int dwMajorType; //主类型 1-报警; 2-异常; 3-操作; 0xff-全部 |
|
2804 |
public int dwMinorType;//次类型 0-全部; |
|
2805 |
public byte[] sPanelUser = new byte[MAX_NAMELEN]; //操作面板的用户名 |
|
2806 |
public byte[] sNetUser = new byte[MAX_NAMELEN];//网络操作的用户名 |
|
2807 |
public NET_DVR_IPADDR struRemoteHostAddr;//??程主机地址 |
|
2808 |
public int dwParaType;//参数类型 |
|
2809 |
public int dwChannel;//通道号 |
|
2810 |
public int dwDiskNumber;//硬盘号 |
|
2811 |
public int dwAlarmInPort;//报警输入端口 |
|
2812 |
public int dwAlarmOutPort;//报警输出端口 |
|
2813 |
public int dwInfoLen; |
|
2814 |
public byte[] sInfo = new byte[LOG_INFO_LEN]; |
|
2815 |
} |
|
2816 |
|
|
2817 |
//日志信息 |
|
2818 |
public static class NET_DVR_LOG extends HIKSDKStructure { |
|
2819 |
public NET_DVR_TIME strLogTime; |
|
2820 |
public int dwMajorType; //主类型 1-报警; 2-异常; 3-操作; 0xff-全部 |
|
2821 |
public int dwMinorType;//次类型 0-全部; |
|
2822 |
public byte[] sPanelUser = new byte[MAX_NAMELEN]; //操作面板的用户名 |
|
2823 |
public byte[] sNetUser = new byte[MAX_NAMELEN];//网络操作的用户名 |
|
2824 |
public byte[] sRemoteHostAddr = new byte[16];//远程主机地址 |
|
2825 |
public int dwParaType;//参数类型 |
|
2826 |
public int dwChannel;//通道号 |
|
2827 |
public int dwDiskNumber;//硬盘号 |
|
2828 |
public int dwAlarmInPort;//报警输入端口 |
|
2829 |
public int dwAlarmOutPort;//报警输出端口 |
|
2830 |
} |
|
2831 |
|
|
2832 |
/************************ |
|
2833 |
* DVR日志 end |
|
2834 |
***************************/ |
|
2835 |
public static class NET_DVR_ALARMOUTSTATUS_V30 extends HIKSDKStructure {//报警输出状态(9000扩展) |
|
2836 |
public byte[] Output = new byte[MAX_ALARMOUT_V30]; |
|
2837 |
} |
|
2838 |
|
|
2839 |
public static class NET_DVR_ALARMOUTSTATUS extends HIKSDKStructure {//报警输出状态 |
|
2840 |
public byte[] Output = new byte[MAX_ALARMOUT]; |
|
2841 |
} |
|
2842 |
|
|
2843 |
public static class NET_DVR_TRADEINFO extends HIKSDKStructure {//交易信息 |
|
2844 |
public short m_Year; |
|
2845 |
public short m_Month; |
|
2846 |
public short m_Day; |
|
2847 |
public short m_Hour; |
|
2848 |
public short m_Minute; |
|
2849 |
public short m_Second; |
|
2850 |
public byte[] DeviceName = new byte[24]; //设备名称 |
|
2851 |
public int dwChannelNumer; //通道号 |
|
2852 |
public byte[] CardNumber = new byte[32]; //卡号 |
|
2853 |
public byte[] cTradeType = new byte[12]; //交易类型 |
|
2854 |
public int dwCash; //交易金额 |
|
2855 |
} |
|
2856 |
|
|
2857 |
public static class NET_DVR_FRAMETYPECODE extends HIKSDKStructure {/*帧格式*/ |
|
2858 |
public byte[] code = new byte[12]; /* 代码 */ |
|
2859 |
} |
|
2860 |
|
|
2861 |
public static class NET_DVR_FRAMEFORMAT_V30 extends HIKSDKStructure {//ATM参数(9000扩展) |
|
2862 |
public int dwSize; |
|
2863 |
public NET_DVR_IPADDR struATMIP; /* ATM IP地址 */ |
|
2864 |
public int dwATMType; /* ATM类型 */ |
|
2865 |
public int dwInputMode; /* 输入方式 0-网络侦听 1-网络接收 2-串口直接输入 3-串口ATM命令输入*/ |
|
2866 |
public int dwFrameSignBeginPos; /* 报文标志位的起始位置*/ |
|
2867 |
public int dwFrameSignLength; /* 报文标志位的长度 */ |
|
2868 |
public byte[] byFrameSignContent = new byte[12]; /* 报文标志位的内容 */ |
|
2869 |
public int dwCardLengthInfoBeginPos; /* 卡号长度信息的起始位置 */ |
|
2870 |
public int dwCardLengthInfoLength; /* 卡号长度信息的长度 */ |
|
2871 |
public int dwCardNumberInfoBeginPos; /* 卡号信息的起始位置 */ |
|
2872 |
public int dwCardNumberInfoLength; /* 卡号信息的长度 */ |
|
2873 |
public int dwBusinessTypeBeginPos; /* 交易类型的起始位置 */ |
|
2874 |
public int dwBusinessTypeLength; /* 交易类型的长度 */ |
|
2875 |
public NET_DVR_FRAMETYPECODE[] frameTypeCode = new NET_DVR_FRAMETYPECODE[10]; /* 类型 */ |
|
2876 |
public short wATMPort; /* 卡号捕捉端口号(网络协议方式) (保留)0xffff表示该值无效*/ |
|
2877 |
public short wProtocolType; /* 网络协议类型(保留) 0xffff表示该值无效*/ |
|
2878 |
public byte[] byRes = new byte[24]; |
|
2879 |
} |
|
2880 |
|
|
2881 |
public static class NET_DVR_FRAMEFORMAT extends HIKSDKStructure {//ATM参数 |
|
2882 |
public int dwSize; |
|
2883 |
public byte[] sATMIP = new byte[16]; /* ATM IP地址 */ |
|
2884 |
public int dwATMType; /* ATM类型 */ |
|
2885 |
public int dwInputMode; /* 输入方式 0-网络侦听 1-网络接收 2-串口直接输入 3-串口ATM命令输入*/ |
|
2886 |
public int dwFrameSignBeginPos; /* 报文标志位的起始位置*/ |
|
2887 |
public int dwFrameSignLength; /* 报文标志位的长度 */ |
|
2888 |
public byte[] byFrameSignContent = new byte[12]; /* 报文标志位的内容 */ |
|
2889 |
public int dwCardLengthInfoBeginPos; /* 卡号长度信息的起始位置 */ |
|
2890 |
public int dwCardLengthInfoLength; /* 卡号长度信息的长度 */ |
|
2891 |
public int dwCardNumberInfoBeginPos; /* 卡号信息的起始位置 */ |
|
2892 |
public int dwCardNumberInfoLength; /* 卡号信息的长度 */ |
|
2893 |
public int dwBusinessTypeBeginPos; /* 交易类型的起始位置 */ |
|
2894 |
public int dwBusinessTypeLength; /* 交易类型的长度 */ |
|
2895 |
public NET_DVR_FRAMETYPECODE[] frameTypeCode = new NET_DVR_FRAMETYPECODE[10];/* 类型 */ |
|
2896 |
} |
|
2897 |
|
|
2898 |
public static class NET_DVR_FTPTYPECODE extends HIKSDKStructure { |
|
2899 |
public byte[] sFtpType = new byte[32]; /*客户定义的操作类型*/ |
|
2900 |
public byte[] sFtpCode = new byte[8]; /*客户定义的操作类型的对应的码*/ |
|
2901 |
} |
|
2902 |
|
|
2903 |
public static class NET_DVR_FRAMEFORMAT_EX extends HIKSDKStructure {//ATM参数添加FTP上传参数, 俄罗斯银行定制, 2006-11-17 |
|
2904 |
public int dwSize; |
|
2905 |
public byte[] sATMIP = new byte[16]; /* ATM IP地址 */ |
|
2906 |
public int dwATMType; /* ATM类型 */ |
|
2907 |
public int dwInputMode; /* 输入方式 0-网络侦听 1-网络接收 2-串口直接输入 3-串口ATM命令输入*/ |
|
2908 |
public int dwFrameSignBeginPos; /* 报文标志位的起始位置*/ |
|
2909 |
public int dwFrameSignLength; /* 报文标志位的长度 */ |
|
2910 |
public byte[] byFrameSignContent = new byte[12]; /* 报文标志位的内容 */ |
|
2911 |
public int dwCardLengthInfoBeginPos; /* 卡号长度信息的起始位置 */ |
|
2912 |
public int dwCardLengthInfoLength; /* 卡号长度信息的长度 */ |
|
2913 |
public int dwCardNumberInfoBeginPos; /* 卡号信息的起始位置 */ |
|
2914 |
public int dwCardNumberInfoLength; /* 卡号信息的长度 */ |
|
2915 |
public int dwBusinessTypeBeginPos; /* 交易类型的起始位置 */ |
|
2916 |
public int dwBusinessTypeLength; /* 交易类型的长度 */ |
|
2917 |
public NET_DVR_FRAMETYPECODE[] frameTypeCode = new NET_DVR_FRAMETYPECODE[10];/* 类型 */ |
|
2918 |
public byte[] sFTPIP = new byte[16]; /* FTP IP */ |
|
2919 |
public byte[] byFtpUsername = new byte[NAME_LEN]; /* 用户名 */ |
|
2920 |
public byte[] byFtpPasswd = new byte[PASSWD_LEN]; /* 密码 */ |
|
2921 |
public byte[] sDirName = new byte[NAME_LEN]; /*服务器目录名*/ |
|
2922 |
public int dwATMSrvType; /*ATM服务器类型,0--wincor ,1--diebold*/ |
|
2923 |
public int dwTimeSpace; /*取值为1.2.3.4.5.10*/ |
|
2924 |
public NET_DVR_FTPTYPECODE[] sFtpTypeCodeOp = new NET_DVR_FTPTYPECODE[300]; /*新加的*/ |
|
2925 |
public int dwADPlay; /* 1 表示在播放广告,0 表示没有播放广告*/ |
|
2926 |
public int dwNewPort; //端口 |
|
2927 |
} |
|
2928 |
/****************************ATM(end)***************************/ |
|
2929 |
|
|
2930 |
/***************************** |
|
2931 |
* DS-6001D/F(begin) |
|
2932 |
***************************/ |
|
2933 |
//DS-6001D Decoder |
|
2934 |
public static class NET_DVR_DECODERINFO extends HIKSDKStructure { |
|
2935 |
public byte[] byEncoderIP = new byte[16]; //解码设备连接的服务器IP |
|
2936 |
public byte[] byEncoderUser = new byte[16]; //解码设备连接的服务器的用户名 |
|
2937 |
public byte[] byEncoderPasswd = new byte[16]; //解码设备连接的服务器的密码 |
|
2938 |
public byte bySendMode; //解码设备连接服务器的连接模式 |
|
2939 |
public byte byEncoderChannel; //解码设备连接的服务器的通道号 |
|
2940 |
public short wEncoderPort; //解码设备连接的服务器的端口号 |
|
2941 |
public byte[] reservedData = new byte[4]; //保留 |
|
2942 |
} |
|
2943 |
|
|
2944 |
public static class NET_DVR_DECODERSTATE extends HIKSDKStructure { |
|
2945 |
public byte[] byEncoderIP = new byte[16]; //解码设备连接的服务器IP |
|
2946 |
public byte[] byEncoderUser = new byte[16]; //解码设备连接的服务器的用户名 |
|
2947 |
public byte[] byEncoderPasswd = new byte[16]; //解码设备连接的服务器的密码 |
|
2948 |
public byte byEncoderChannel; //解码设备连接的服务器的通道号 |
|
2949 |
public byte bySendMode; //解码设备连接的服务器的连接模式 |
|
2950 |
public short wEncoderPort; //解码设备连接的服务器的端口号 |
|
2951 |
public int dwConnectState; //解码设备连接服务器的状态 |
|
2952 |
public byte[] reservedData = new byte[4]; //保留 |
|
2953 |
} |
|
2954 |
|
|
2955 |
public static class NET_DVR_DECCHANINFO extends HIKSDKStructure { |
|
2956 |
public byte[] sDVRIP = new byte[16]; /* DVR IP地址 */ |
|
2957 |
public short wDVRPort; /* 端口号 */ |
|
2958 |
public byte[] sUserName = new byte[NAME_LEN]; /* 用户名 */ |
|
2959 |
public byte[] sPassword = new byte[PASSWD_LEN]; /* 密码 */ |
|
2960 |
public byte byChannel; /* 通道号 */ |
|
2961 |
public byte byLinkMode; /* 连接模式 */ |
|
2962 |
public byte byLinkType; /* 连接类型 0-主码流 1-子码流 */ |
|
2963 |
} |
|
2964 |
|
|
2965 |
public static class NET_DVR_DECINFO extends HIKSDKStructure {/*每个解码通道的配置*/ |
|
2966 |
public byte byPoolChans; /*每路解码通道上的循环通道数量, 最多4通道 0表示没有解码*/ |
|
2967 |
public NET_DVR_DECCHANINFO[] struchanConInfo = new NET_DVR_DECCHANINFO[MAX_DECPOOLNUM]; |
|
2968 |
public byte byEnablePoll; /*是否轮巡 0-否 1-是*/ |
|
2969 |
public byte byPoolTime; /*轮巡时间 0-保留 1-10秒 2-15秒 3-20秒 4-30秒 5-45秒 6-1分钟 7-2分钟 8-5分钟 */ |
|
2970 |
} |
|
2971 |
|
|
2972 |
public static class NET_DVR_DECCFG extends HIKSDKStructure {/*整个设备解码配置*/ |
|
2973 |
public int dwSize; |
|
2974 |
public int dwDecChanNum; /*解码通道的数量*/ |
|
2975 |
public NET_DVR_DECINFO[] struDecInfo = new NET_DVR_DECINFO[MAX_DECNUM]; |
|
2976 |
} |
|
2977 |
|
|
2978 |
//2005-08-01 |
|
2979 |
public static class NET_DVR_PORTINFO extends HIKSDKStructure {/* 解码设备透明通道设置 */ |
|
2980 |
public int dwEnableTransPort; /* 是否启动透明通道 0-不启用 1-启用*/ |
|
2981 |
public byte[] sDecoderIP = new byte[16]; /* DVR IP地址 */ |
|
2982 |
public short wDecoderPort; /* 端口号 */ |
|
2983 |
public short wDVRTransPort; /* 配置前端DVR是从485/232输出,1表示232串口,2表示485串口 */ |
|
2984 |
public byte[] cReserve = new byte[4]; |
|
2985 |
} |
|
2986 |
|
|
2987 |
public static class NET_DVR_PORTCFG extends HIKSDKStructure { |
|
2988 |
public int dwSize; |
|
2989 |
public NET_DVR_PORTINFO[] struTransPortInfo = new NET_DVR_PORTINFO[MAX_TRANSPARENTNUM]; /* 数组0表示232 数组1表示485 */ |
|
2990 |
} |
|
2991 |
|
|
2992 |
/*https://jna.dev.java.net/javadoc/com/sun/jna/Union.html#setType(java.lang.Class) see how to use the JNA Union*/ |
|
2993 |
public static class NET_DVR_PLAYREMOTEFILE extends HIKSDKStructure {/* 控制网络文件回放 */ |
|
2994 |
public int dwSize; |
|
2995 |
public byte[] sDecoderIP = new byte[16]; /* DVR IP地址 */ |
|
2996 |
public short wDecoderPort; /* 端口号 */ |
|
2997 |
public short wLoadMode; /* 回放下载模式 1-按名字 2-按时间 */ |
|
2998 |
public byte[] byFile = new byte[100]; |
|
2999 |
|
|
3000 |
public static class mode_size extends Union { |
|
3001 |
public byte[] byFile = new byte[100]; // 回放的文件名 |
|
3002 |
|
|
3003 |
public static class bytime extends HIKSDKStructure { |
|
3004 |
public int dwChannel; |
|
3005 |
public byte[] sUserName = new byte[NAME_LEN]; //请求视频用户名 |
|
3006 |
public byte[] sPassword = new byte[PASSWD_LEN]; // 密码 |
|
3007 |
public NET_DVR_TIME struStartTime; //按时间回放的开始时间 |
|
3008 |
public NET_DVR_TIME struStopTime; // 按时间回放的结束时间 |
|
3009 |
} |
|
3010 |
} |
|
3011 |
} |
|
3012 |
|
|
3013 |
public static class NET_DVR_DECCHANSTATUS extends HIKSDKStructure {/*当前设备解码连接状态*/ |
|
3014 |
public int dwWorkType; /*工作方式:1:轮巡、2:动态连接解码、3:文件回放下载 4:按时间回放下载*/ |
|
3015 |
public byte[] sDVRIP = new byte[16]; /*连接的设备ip*/ |
|
3016 |
public short wDVRPort; /*连接端口号*/ |
|
3017 |
public byte byChannel; /* 通道号 */ |
|
3018 |
public byte byLinkMode; /* 连接模式 */ |
|
3019 |
public int dwLinkType; /*连接类型 0-主码流 1-子码流*/ |
|
3020 |
public byte[] sUserName = new byte[NAME_LEN]; /*请求视频用户名*/ |
|
3021 |
public byte[] sPassword = new byte[PASSWD_LEN]; /* 密码 */ |
|
3022 |
public byte[] cReserve = new byte[52]; |
|
3023 |
|
|
3024 |
public static class objectInfo extends Union { |
|
3025 |
public static class userInfo extends HIKSDKStructure { |
|
3026 |
public byte[] sUserName = new byte[NAME_LEN]; //请求视频用户名 |
|
3027 |
public byte[] sPassword = new byte[PASSWD_LEN]; // 密码 |
|
3028 |
public byte[] cReserve = new byte[52]; |
|
3029 |
} |
|
3030 |
|
|
3031 |
public static class fileInfo extends HIKSDKStructure { |
|
3032 |
public byte[] fileName = new byte[100]; |
|
3033 |
} |
|
3034 |
|
|
3035 |
public static class timeInfo extends HIKSDKStructure { |
|
3036 |
public int dwChannel; |
|
3037 |
public byte[] sUserName = new byte[NAME_LEN]; //请求视频用户名 |
|
3038 |
public byte[] sPassword = new byte[PASSWD_LEN]; // 密码 |
|
3039 |
public NET_DVR_TIME struStartTime; // 按时间回放的开始时间 |
|
3040 |
public NET_DVR_TIME struStopTime; //按时间回放的结束时间 |
|
3041 |
} |
|
3042 |
} |
|
3043 |
} |
|
3044 |
|
|
3045 |
public static class NET_DVR_DECSTATUS extends HIKSDKStructure { |
|
3046 |
public int dwSize; |
|
3047 |
public NET_DVR_DECCHANSTATUS[] struDecState = new NET_DVR_DECCHANSTATUS[MAX_DECNUM]; |
|
3048 |
} |
|
3049 |
|
|
3050 |
/***************************** |
|
3051 |
* DS-6001D/F(end) |
|
3052 |
***************************/ |
|
3053 |
|
|
3054 |
public static class NET_DVR_SHOWSTRINGINFO extends HIKSDKStructure {//单字符参数(子结构) |
|
3055 |
public short wShowString; // 预览的图象上是否显示字符,0-不显示,1-显示 区域大小704*576,单个字符的大小为32*32 |
|
3056 |
public short wStringSize; /* 该行字符的长度,不能大于44个字符 */ |
|
3057 |
public short wShowStringTopLeftX; /* 字符显示位置的x坐标 */ |
|
3058 |
public short wShowStringTopLeftY; /* 字符名称显示位置的y坐标 */ |
|
3059 |
public byte[] sString = new byte[44]; /* 要显示的字符内容 */ |
|
3060 |
} |
|
3061 |
|
|
3062 |
//叠加字符(9000扩展) |
|
3063 |
public static class NET_DVR_SHOWSTRING_V30 extends HIKSDKStructure { |
|
3064 |
public int dwSize; |
|
3065 |
public NET_DVR_SHOWSTRINGINFO[] struStringInfo = new NET_DVR_SHOWSTRINGINFO[MAX_STRINGNUM_V30]; /* 要显示的字符内容 */ |
|
3066 |
} |
|
3067 |
|
|
3068 |
//叠加字符扩展(8条字符) |
|
3069 |
public static class NET_DVR_SHOWSTRING_EX extends HIKSDKStructure { |
|
3070 |
public int dwSize; |
|
3071 |
public NET_DVR_SHOWSTRINGINFO[] struStringInfo = new NET_DVR_SHOWSTRINGINFO[MAX_STRINGNUM_EX]; /* 要显示的字符内容 */ |
|
3072 |
} |
|
3073 |
|
|
3074 |
//叠加字符 |
|
3075 |
public static class NET_DVR_SHOWSTRING extends HIKSDKStructure { |
|
3076 |
public int dwSize; |
|
3077 |
public NET_DVR_SHOWSTRINGINFO[] struStringInfo = new NET_DVR_SHOWSTRINGINFO[MAX_STRINGNUM]; /* 要显示的字符内容 */ |
|
3078 |
} |
|
3079 |
|
|
3080 |
/**************************** |
|
3081 |
* DS9000新增结构(begin) |
|
3082 |
******************************/ |
|
3083 |
|
|
3084 |
/* |
|
3085 |
EMAIL参数结构 |
|
3086 |
*/ |
|
3087 |
public static class NET_DVR_SENDER extends HIKSDKStructure { |
|
3088 |
public byte[] sName = new byte[NAME_LEN]; /* 发件人姓名 */ |
|
3089 |
public byte[] sAddress = new byte[MAX_EMAIL_ADDR_LEN]; /* 发件人地址 */ |
|
3090 |
} |
|
3091 |
|
|
3092 |
public static class NET_DVRRECEIVER extends HIKSDKStructure { |
|
3093 |
public byte[] sName = new byte[NAME_LEN]; /* 收件人姓名 */ |
|
3094 |
public byte[] sAddress = new byte[MAX_EMAIL_ADDR_LEN]; /* 收件人地址 */ |
|
3095 |
} |
|
3096 |
|
|
3097 |
public static class NET_DVR_EMAILCFG_V30 extends HIKSDKStructure { |
|
3098 |
public int dwSize; |
|
3099 |
public byte[] sAccount = new byte[NAME_LEN]; /* 账号*/ |
|
3100 |
public byte[] sPassword = new byte[MAX_EMAIL_PWD_LEN]; /*密码 */ |
|
3101 |
public NET_DVR_SENDER struSender; |
|
3102 |
public byte[] sSmtpServer = new byte[MAX_EMAIL_ADDR_LEN]; /* smtp服务器 */ |
|
3103 |
public byte[] sPop3Server = new byte[MAX_EMAIL_ADDR_LEN]; /* pop3服务器 */ |
|
3104 |
public NET_DVRRECEIVER[] struReceiver = new NET_DVRRECEIVER[3]; /* 最多可以设置3个收件人 */ |
|
3105 |
public byte byAttachment; /* 是否带附件 */ |
|
3106 |
public byte bySmtpServerVerify; /* 发送服务器要求身份验证 */ |
|
3107 |
public byte byMailInterval; /* mail interval */ |
|
3108 |
public byte[] res = new byte[77]; |
|
3109 |
} |
|
3110 |
|
|
3111 |
/* |
|
3112 |
DVR实现巡航数据结构 |
|
3113 |
*/ |
|
3114 |
public static class NET_DVR_CRUISE_PARA extends HIKSDKStructure { |
|
3115 |
public int dwSize; |
|
3116 |
public byte[] byPresetNo = new byte[CRUISE_MAX_PRESET_NUMS]; /* 预置点号 */ |
|
3117 |
public byte[] byCruiseSpeed = new byte[CRUISE_MAX_PRESET_NUMS]; /* 巡航速度 */ |
|
3118 |
public short[] wDwellTime = new short[CRUISE_MAX_PRESET_NUMS]; /* 停留时间 */ |
|
3119 |
public byte[] byEnableThisCruise; /* 是否启用 */ |
|
3120 |
public byte[] res = new byte[15]; |
|
3121 |
} |
|
3122 |
|
|
3123 |
/**************************** |
|
3124 |
* DS9000新增结构(end) |
|
3125 |
******************************/ |
|
3126 |
|
|
3127 |
//时间点 |
|
3128 |
public static class NET_DVR_TIMEPOINT extends HIKSDKStructure { |
|
3129 |
public int dwMonth; //月 0-11表示1-12个月 |
|
3130 |
public int dwWeekNo; //第几周 0-第1周 1-第2周 2-第3周 3-第4周 4-最后一周 |
|
3131 |
public int dwWeekDate; //星期几 0-星期日 1-星期一 2-星期二 3-星期三 4-星期四 5-星期五 6-星期六 |
|
3132 |
public int dwHour; //小时 开始时间0-23 结束时间1-23 |
|
3133 |
public int dwMin; //分 0-59 |
|
3134 |
} |
|
3135 |
|
|
3136 |
//夏令时参数 |
|
3137 |
public static class NET_DVR_ZONEANDDST extends HIKSDKStructure { |
|
3138 |
public int dwSize; |
|
3139 |
public byte[] byRes1 = new byte[16]; //保留 |
|
3140 |
public int dwEnableDST; //是否启用夏时制 0-不启用 1-启用 |
|
3141 |
public byte byDSTBias; //夏令时偏移值,30min, 60min, 90min, 120min, 以分钟计,传递原始数值 |
|
3142 |
public byte[] byRes2 = new byte[3]; |
|
3143 |
public NET_DVR_TIMEPOINT struBeginPoint; //夏时制开始时间 |
|
3144 |
public NET_DVR_TIMEPOINT struEndPoint; //夏时制停止时间 |
|
3145 |
} |
|
3146 |
|
|
3147 |
//图片质量 |
|
3148 |
public static class NET_DVR_JPEGPARA extends HIKSDKStructure { |
|
3149 |
/*注意:当图像压缩分辨率为VGA时,支持0=CIF, 1=QCIF, 2=D1抓图, |
|
3150 |
当分辨率为3=UXGA(1600x1200), 4=SVGA(800x600), 5=HD720p(1280x720),6=VGA,7=XVGA, 8=HD900p |
|
3151 |
仅支持当前分辨率的抓图*/ |
|
3152 |
public short wPicSize; /* 0=CIF, 1=QCIF, 2=D1 3=UXGA(1600x1200), 4=SVGA(800x600), 5=HD720p(1280x720),6=VGA*/ |
|
3153 |
public short wPicQuality; /* 图片质量系数 0-最好 1-较好 2-一般 */ |
|
3154 |
} |
|
3155 |
|
|
3156 |
/* aux video out parameter */ |
|
3157 |
//辅助输出参数配置 |
|
3158 |
public static class NET_DVR_AUXOUTCFG extends HIKSDKStructure { |
|
3159 |
public int dwSize; |
|
3160 |
public int dwAlarmOutChan; /* 选择报警弹出大报警通道切换时间:1画面的输出通道: 0:主输出/1:辅1/2:辅2/3:辅3/4:辅4 */ |
|
3161 |
public int dwAlarmChanSwitchTime; /* :1秒 - 10:10秒 */ |
|
3162 |
public int[] dwAuxSwitchTime = new int[MAX_AUXOUT]; /* 辅助输出切换时间: 0-不切换,1-5s,2-10s,3-20s,4-30s,5-60s,6-120s,7-300s */ |
|
3163 |
public byte[][] byAuxOrder = new byte[MAX_AUXOUT][MAX_WINDOW]; /* 辅助输出预览顺序, 0xff表示相应的窗口不预览 */ |
|
3164 |
} |
|
3165 |
|
|
3166 |
//ntp |
|
3167 |
public static class NET_DVR_NTPPARA extends HIKSDKStructure { |
|
3168 |
public byte[] sNTPServer = new byte[64]; /* Domain Name or IP addr of NTP server */ |
|
3169 |
public short wInterval; /* adjust time interval(hours) */ |
|
3170 |
public byte byEnableNTP; /* enable NPT client 0-no,1-yes*/ |
|
3171 |
public byte cTimeDifferenceH; /* 与国际标准时间的 小时偏移-12 ... +13 */ |
|
3172 |
public byte cTimeDifferenceM;/* 与国际标准时间的 分钟偏移0, 30, 45*/ |
|
3173 |
public byte res1; |
|
3174 |
public short wNtpPort; /* ntp server port 9000新增 设备默认为123*/ |
|
3175 |
public byte[] res2 = new byte[8]; |
|
3176 |
} |
|
3177 |
|
|
3178 |
//ddns |
|
3179 |
public static class NET_DVR_DDNSPARA extends HIKSDKStructure { |
|
3180 |
public byte[] sUsername = new byte[NAME_LEN]; /* DDNS账号用户名/密码 */ |
|
3181 |
public byte[] sPassword = new byte[PASSWD_LEN]; |
|
3182 |
public byte[] sDomainName = new byte[64]; /* 域名 */ |
|
3183 |
public byte byEnableDDNS; /*是否应用 0-否,1-是*/ |
|
3184 |
public byte[] res = new byte[15]; |
|
3185 |
} |
|
3186 |
|
|
3187 |
public static class NET_DVR_DDNSPARA_EX extends HIKSDKStructure { |
|
3188 |
public byte byHostIndex; /* 0-Hikvision DNS 1-Dyndns 2-PeanutHull(花生壳), 3-希网3322*/ |
|
3189 |
public byte byEnableDDNS; /*是否应用DDNS 0-否,1-是*/ |
|
3190 |
public short wDDNSPort; /* DDNS端口号 */ |
|
3191 |
public byte[] sUsername = new byte[NAME_LEN]; /* DDNS用户名*/ |
|
3192 |
public byte[] sPassword = new byte[PASSWD_LEN]; /* DDNS密码 */ |
|
3193 |
public byte[] sDomainName = new byte[MAX_DOMAIN_NAME]; /* 设备配备的域名地址 */ |
|
3194 |
public byte[] sServerName = new byte[MAX_DOMAIN_NAME]; /* DDNS 对应的服务器地址,可以是IP地址或域名 */ |
|
3195 |
public byte[] byRes = new byte[16]; |
|
3196 |
} |
|
3197 |
|
|
3198 |
public static class NET_DVR_DDNS extends HIKSDKStructure { |
|
3199 |
public byte[] sUsername = new byte[NAME_LEN]; /* DDNS账号用户名*/ |
|
3200 |
public byte[] sPassword = new byte[PASSWD_LEN]; /* 密码 */ |
|
3201 |
public byte[] sDomainName = new byte[MAX_DOMAIN_NAME]; /* 设备配备的域名地址 */ |
|
3202 |
public byte[] sServerName = new byte[MAX_DOMAIN_NAME]; /* DDNS协议对应的服务器地址,可以是IP地址或域名 */ |
|
3203 |
public short wDDNSPort; /* 端口号 */ |
|
3204 |
public byte[] byRes = new byte[10]; |
|
3205 |
} |
|
3206 |
|
|
3207 |
//9000扩展 |
|
3208 |
public static class NET_DVR_DDNSPARA_V30 extends HIKSDKStructure { |
|
3209 |
public byte byEnableDDNS; |
|
3210 |
public byte byHostIndex;/* 0-Hikvision DNS(保留) 1-Dyndns 2-PeanutHull(花生壳) 3-希网3322 */ |
|
3211 |
public byte[] byRes1 = new byte[2]; |
|
3212 |
public NET_DVR_DDNS[] struDDNS = new NET_DVR_DDNS[MAX_DDNS_NUMS];//9000目前只支持前3个配置,其他配置保留 |
|
3213 |
public byte[] byRes2 = new byte[16]; |
|
3214 |
} |
|
3215 |
|
|
3216 |
//email |
|
3217 |
public static class NET_DVR_EMAILPARA extends HIKSDKStructure { |
|
3218 |
public byte[] sUsername = new byte[64]; /* 邮件账号/密码 */ |
|
3219 |
public byte[] sPassword = new byte[64]; |
|
3220 |
public byte[] sSmtpServer = new byte[64]; |
|
3221 |
public byte[] sPop3Server = new byte[64]; |
|
3222 |
public byte[] sMailAddr = new byte[64]; /* email */ |
|
3223 |
public byte[] sEventMailAddr1 = new byte[64]; /* 上传报警/异常等的email */ |
|
3224 |
public byte[] sEventMailAddr2 = new byte[64]; |
|
3225 |
public byte[] res = new byte[16]; |
|
3226 |
} |
|
3227 |
|
|
3228 |
public static class NET_DVR_NETAPPCFG extends HIKSDKStructure {//网络参数配置 |
|
3229 |
public int dwSize; |
|
3230 |
public byte[] sDNSIp = new byte[16]; /* DNS服务器地址 */ |
|
3231 |
public NET_DVR_NTPPARA struNtpClientParam; /* NTP参数 */ |
|
3232 |
public NET_DVR_DDNSPARA struDDNSClientParam; /* DDNS参数 */ |
|
3233 |
//NET_DVR_EMAILPARA struEmailParam; /* EMAIL参数 */ |
|
3234 |
public byte[] res = new byte[464]; /* 保留 */ |
|
3235 |
} |
|
3236 |
|
|
3237 |
public static class NET_DVR_SINGLE_NFS extends HIKSDKStructure {//nfs结构配置 |
|
3238 |
public byte[] sNfsHostIPAddr = new byte[16]; |
|
3239 |
public byte[] sNfsDirectory = new byte[PATHNAME_LEN]; // PATHNAME_LEN = 128 |
|
3240 |
} |
|
3241 |
|
|
3242 |
public static class NET_DVR_NFSCFG extends HIKSDKStructure { |
|
3243 |
public int dwSize; |
|
3244 |
public NET_DVR_SINGLE_NFS[] struNfsDiskParam = new NET_DVR_SINGLE_NFS[MAX_NFS_DISK]; |
|
3245 |
} |
|
3246 |
|
|
3247 |
//巡航点配置(HIK IP快球专用) |
|
3248 |
public static class NET_DVR_CRUISE_POINT extends HIKSDKStructure { |
|
3249 |
public byte PresetNum; //预置点 |
|
3250 |
public byte Dwell; //停留时间 |
|
3251 |
public byte Speed; //速度 |
|
3252 |
public byte Reserve; //保留 |
|
3253 |
} |
|
3254 |
|
|
3255 |
public static class NET_DVR_CRUISE_RET extends HIKSDKStructure { |
|
3256 |
public NET_DVR_CRUISE_POINT[] struCruisePoint = new NET_DVR_CRUISE_POINT[32]; //最大支持32个巡航点 |
|
3257 |
} |
|
3258 |
|
|
3259 |
/************************************ |
|
3260 |
* 多路解码器(begin) |
|
3261 |
***************************************/ |
|
3262 |
//多路解码器扩展 added by zxy 2007-05-23 |
|
3263 |
public static class NET_DVR_NETCFG_OTHER extends HIKSDKStructure { |
|
3264 |
public int dwSize; |
|
3265 |
public byte[] sFirstDNSIP = new byte[16]; |
|
3266 |
public byte[] sSecondDNSIP = new byte[16]; |
|
3267 |
public byte[] sRes = new byte[32]; |
|
3268 |
} |
|
3269 |
|
|
3270 |
public static class NET_DVR_MATRIX_DECINFO extends HIKSDKStructure { |
|
3271 |
public byte[] sDVRIP = new byte[16]; /* DVR IP地址 */ |
|
3272 |
public short wDVRPort; /* 端口号 */ |
|
3273 |
public byte byChannel; /* 通道号 */ |
|
3274 |
public byte byTransProtocol; /* 传输协议类型 0-TCP 1-UDP */ |
|
3275 |
public byte byTransMode; /* 传输码流模式 0-主码流 1-子码流*/ |
|
3276 |
public byte[] byRes = new byte[3]; |
|
3277 |
public byte[] sUserName = new byte[NAME_LEN]; /* 监控主机登陆帐号 */ |
|
3278 |
public byte[] sPassword = new byte[PASSWD_LEN]; /* 监控主机密码 */ |
|
3279 |
} |
|
3280 |
|
|
3281 |
public static class NET_DVR_MATRIX_DYNAMIC_DEC extends HIKSDKStructure {//启动/停止动态解码 |
|
3282 |
public int dwSize; |
|
3283 |
public NET_DVR_MATRIX_DECINFO struDecChanInfo; /* 动态解码通道信息 */ |
|
3284 |
} |
|
3285 |
|
|
3286 |
public static class NET_DVR_MATRIX_DEC_CHAN_STATUS extends HIKSDKStructure {//2007-12-13 modified by zxy 修改多路解码器的NET_DVR_MATRIX_DEC_CHAN_STATUS结构 |
|
3287 |
public int dwSize;//2008-1-16 modified by zxy dwIsLinked的状态由原来的0-未链接 1-连接修改成以下三种状态。 |
|
3288 |
public int dwIsLinked; /* 解码通道状态 0-休眠 1-正在连接 2-已连接 3-正在解码 */ |
|
3289 |
public int dwStreamCpRate; /* Stream copy rate, X kbits/second */ |
|
3290 |
public byte[] cRes = new byte[64]; /* 保留 */ |
|
3291 |
} |
|
3292 |
//end 2007-12-13 modified by zxy |
|
3293 |
|
|
3294 |
public static class NET_DVR_MATRIX_DEC_CHAN_INFO extends HIKSDKStructure { |
|
3295 |
public int dwSize; |
|
3296 |
public NET_DVR_MATRIX_DECINFO struDecChanInfo; /* 解码通道信息 */ |
|
3297 |
public int dwDecState; /* 0-动态解码 1-循环解码 2-按时间回放 3-按文件回放 */ |
|
3298 |
public NET_DVR_TIME StartTime; /* 按时间回放开始时间 */ |
|
3299 |
public NET_DVR_TIME StopTime; /* 按时间回放停止时间 */ |
|
3300 |
public byte[] sFileName = new byte[128]; /* 按文件回放文件名 */ |
|
3301 |
} |
|
3302 |
|
|
3303 |
//连接的通道配置 2007-11-05 |
|
3304 |
public static class NET_DVR_MATRIX_DECCHANINFO extends HIKSDKStructure { |
|
3305 |
public int dwEnable; /* 是否启用 0-否 1-启用*/ |
|
3306 |
public NET_DVR_MATRIX_DECINFO struDecChanInfo; /* 轮循解码通道信息 */ |
|
3307 |
} |
|
3308 |
|
|
3309 |
//2007-11-05 新增每个解码通道的配置 |
|
3310 |
public static class NET_DVR_MATRIX_LOOP_DECINFO extends HIKSDKStructure { |
|
3311 |
public int dwSize; |
|
3312 |
public int dwPoolTime; /*轮巡时间 */ |
|
3313 |
public NET_DVR_MATRIX_DECCHANINFO[] struchanConInfo = new NET_DVR_MATRIX_DECCHANINFO[MAX_CYCLE_CHAN]; |
|
3314 |
} |
|
3315 |
|
|
3316 |
//2007-05-25 多路解码器数字矩阵配置 |
|
3317 |
//矩阵行信息 2007-12-28 |
|
3318 |
public static class NET_DVR_MATRIX_ROW_ELEMENT extends HIKSDKStructure { |
|
3319 |
public byte[] sSurvChanName = new byte[128]; /* 监控通道名称,支持中文 */ |
|
3320 |
public int dwRowNum; /* 行号 */ |
|
3321 |
public NET_DVR_MATRIX_DECINFO struDecChanInfo; /* 矩阵行信息 */ |
|
3322 |
} |
|
3323 |
|
|
3324 |
public static class NET_DVR_MATRIX_ROW_INDEX extends HIKSDKStructure { |
|
3325 |
public byte[] sSurvChanName = new byte[128]; /* 监控通道名称,支持中文 */ |
|
3326 |
public int dwRowNum; /* 行号 */ |
|
3327 |
} |
|
3328 |
|
|
3329 |
//矩阵列信息 2007-12-28 |
|
3330 |
public static class NET_DVR_MATRIX_COLUMN_ELEMENT extends HIKSDKStructure { |
|
3331 |
public int dwLocalDispChanNum; /* 本地显示通道号 */ |
|
3332 |
public int dwGlobalDispChanNum; /* 全局显示通道号 */ |
|
3333 |
public int dwRes; /* 保留 */ |
|
3334 |
} |
|
3335 |
|
|
3336 |
public static class NET_DVR_MATRIX_GLOBAL_COLUMN_ELEMENT extends HIKSDKStructure { |
|
3337 |
public int dwConflictTag; /* 冲突标记,0:无冲突,1:冲突 */ |
|
3338 |
public int dwConflictGloDispChan; /* 与之冲突的全局通道号 */ |
|
3339 |
public NET_DVR_MATRIX_COLUMN_ELEMENT struColumnInfo;/* 矩阵列元素结构体 */ |
|
3340 |
} |
|
3341 |
|
|
3342 |
//手动查看 2007-12-28 |
|
3343 |
public static class NET_DVR_MATRIX_ROW_COLUMN_LINK extends HIKSDKStructure { |
|
3344 |
public int dwSize; |
|
3345 |
/* |
|
3346 |
* 以下三个参数只需要指定其中一个便可指定数字矩阵里的某一行 |
|
3347 |
* 所代表的远程监控通道。 |
|
3348 |
* 如果指定了多个域并有冲突,设备将按照域的先后顺序为准取最先定义者。 |
|
3349 |
*/ |
|
3350 |
public int dwRowNum; /* -1代表无效域,大于0者方为有效的矩阵行号 */ |
|
3351 |
public byte[] sSurvChanName = new byte[128]; /* 监控通道名,是否无效按字符串的有效性判断 */ |
|
3352 |
public int dwSurvNum; /* 监控通道号,按矩阵行列表的顺序指定,一般情况下与行号一致 */ |
|
3353 |
/* |
|
3354 |
* 以下两项只需要指定其中一项便可,如果两项都有效默认选择第一项 |
|
3355 |
*/ |
|
3356 |
public int dwGlobalDispChanNum; /* 电视墙上的电视机编号 */ |
|
3357 |
public int dwLocalDispChanNum; |
|
3358 |
/* |
|
3359 |
* 0代表播放即时码流, |
|
3360 |
* 1表示按时间回访远程监控设备的文件 |
|
3361 |
* 2表示按文件名回访 |
|
3362 |
*/ |
|
3363 |
public int dwTimeSel; |
|
3364 |
public NET_DVR_TIME StartTime; |
|
3365 |
public NET_DVR_TIME StopTime; |
|
3366 |
public byte[] sFileName = new byte[128]; |
|
3367 |
} |
|
3368 |
|
|
3369 |
public static class NET_DVR_MATRIX_PREVIEW_DISP_CHAN extends HIKSDKStructure { |
|
3370 |
public int dwSize; |
|
3371 |
public int dwGlobalDispChanNum; /* 电视墙上的电视机编号 */ |
|
3372 |
public int dwLocalDispChanNum; /* 解码通道 */ |
|
3373 |
} |
|
3374 |
|
|
3375 |
public static class NET_DVR_MATRIX_LOOP_PLAY_SET extends HIKSDKStructure {//轮循功能 2007-12-28 |
|
3376 |
public int dwSize; |
|
3377 |
/* 任意指定一个,-1为无效,如果都指定则以LocalDispChanNum为准 */ |
|
3378 |
public int dwLocalDispChanNum; /* 解码通道 */ |
|
3379 |
public int dwGlobalDispChanNum; /* 电视墙上的电视机编号 */ |
|
3380 |
public int dwCycTimeInterval; /* 轮循时间间隔 */ |
|
3381 |
} |
|
3382 |
|
|
3383 |
public static class NET_DVR_MATRIX_LOCAL_HOST_INFO extends HIKSDKStructure {//矩阵中心配置 2007-12-28 |
|
3384 |
public int dwSize; |
|
3385 |
public int dwLocalHostProperty; /* 本地主机类型 0-服务器 1-客户端*/ |
|
3386 |
public int dwIsIsolated; /* 本地主机是否独立于系统,0:联网,1:独立 */ |
|
3387 |
public int dwLocalMatrixHostPort; /* 本地主机访问端口 */ |
|
3388 |
public byte[] byLocalMatrixHostUsrName = new byte[NAME_LEN]; /* 本地主机登录用户名 */ |
|
3389 |
public byte[] byLocalMatrixHostPasswd = new byte[PASSWD_LEN]; /* 本地主机登录密码 */ |
|
3390 |
public int dwLocalMatrixCtrlMedia; /* 控制方式 0x1串口键盘控制 0x2网络键盘控制 0x4矩阵中心控制 0x8PC客户端控制*/ |
|
3391 |
public byte[] sMatrixCenterIP = new byte[16]; /* 矩阵中心IP地址 */ |
|
3392 |
public int dwMatrixCenterPort; /* 矩阵中心端口号 */ |
|
3393 |
public byte[] byMatrixCenterUsrName = new byte[NAME_LEN]; /* 矩阵中心登录用户名 */ |
|
3394 |
public byte[] byMatrixCenterPasswd = new byte[PASSWD_LEN]; /* 矩阵中心登录密码 */ |
|
3395 |
} |
|
3396 |
|
|
3397 |
//2007-12-22 |
|
3398 |
public static class TTY_CONFIG extends HIKSDKStructure { |
|
3399 |
public byte baudrate; /* 波特率 */ |
|
3400 |
public byte databits; /* 数据位 */ |
|
3401 |
public byte stopbits; /* 停止位 */ |
|
3402 |
public byte parity; /* 奇偶校验位 */ |
|
3403 |
public byte flowcontrol; /* 流控 */ |
|
3404 |
public byte[] res = new byte[3]; |
|
3405 |
} |
|
3406 |
|
|
3407 |
public static class NET_DVR_MATRIX_TRAN_CHAN_INFO extends HIKSDKStructure { |
|
3408 |
public byte byTranChanEnable; /* 当前透明通道是否打开 0:关闭 1:打开 */ |
|
3409 |
/* |
|
3410 |
* 多路解码器本地有1个485串口,1个232串口都可以作为透明通道,设备号分配如下: |
|
3411 |
* 0 RS485 |
|
3412 |
* 1 RS232 Console |
|
3413 |
*/ |
|
3414 |
public byte byLocalSerialDevice; /* Local serial device */ |
|
3415 |
/* |
|
3416 |
* 远程串口输出还是两个,一个RS232,一个RS485 |
|
3417 |
* 1表示232串口 |
|
3418 |
* 2表示485串口 |
|
3419 |
*/ |
|
3420 |
public byte byRemoteSerialDevice; /* Remote output serial device */ |
|
3421 |
public byte res1; /* 保留 */ |
|
3422 |
public byte[] sRemoteDevIP = new byte[16]; /* Remote Device IP */ |
|
3423 |
public short wRemoteDevPort; /* Remote Net Communication Port */ |
|
3424 |
public byte[] res2 = new byte[2]; /* 保留 */ |
|
3425 |
public TTY_CONFIG RemoteSerialDevCfg; |
|
3426 |
} |
|
3427 |
|
|
3428 |
public static class NET_DVR_MATRIX_TRAN_CHAN_CONFIG extends HIKSDKStructure { |
|
3429 |
public int dwSize; |
|
3430 |
public byte by232IsDualChan; /* 设置哪路232透明通道是全双工的 取值1到MAX_SERIAL_NUM */ |
|
3431 |
public byte by485IsDualChan; /* 设置哪路485透明通道是全双工的 取值1到MAX_SERIAL_NUM */ |
|
3432 |
public byte[] res = new byte[2]; /* 保留 */ |
|
3433 |
public NET_DVR_MATRIX_TRAN_CHAN_INFO[] struTranInfo = new NET_DVR_MATRIX_TRAN_CHAN_INFO[MAX_SERIAL_NUM];/*同时支持建立MAX_SERIAL_NUM个透明通道*/ |
|
3434 |
} |
|
3435 |
|
|
3436 |
//2007-12-24 Merry Christmas Eve... |
|
3437 |
public static class NET_DVR_MATRIX_DEC_REMOTE_PLAY extends HIKSDKStructure { |
|
3438 |
public int dwSize; |
|
3439 |
public byte[] sDVRIP = new byte[16]; /* DVR IP地址 */ |
|
3440 |
public short wDVRPort; /* 端口号 */ |
|
3441 |
public byte byChannel; /* 通道号 */ |
|
3442 |
public byte byReserve; |
|
3443 |
public byte[] sUserName = new byte[NAME_LEN]; /* 用户名 */ |
|
3444 |
public byte[] sPassword = new byte[PASSWD_LEN]; /* 密码 */ |
|
3445 |
public int dwPlayMode; /* 0-按文件 1-按时间*/ |
|
3446 |
public NET_DVR_TIME StartTime; |
|
3447 |
public NET_DVR_TIME StopTime; |
|
3448 |
public byte[] sFileName = new byte[128]; |
|
3449 |
} |
|
3450 |
|
|
3451 |
|
|
3452 |
public static class NET_DVR_MATRIX_DEC_REMOTE_PLAY_CONTROL extends HIKSDKStructure { |
|
3453 |
public int dwSize; |
|
3454 |
public int dwPlayCmd; /* 播放命令 见文件播放命令*/ |
|
3455 |
public int dwCmdParam; /* 播放命令参数 */ |
|
3456 |
} |
|
3457 |
|
|
3458 |
public static class NET_DVR_MATRIX_DEC_REMOTE_PLAY_STATUS extends HIKSDKStructure { |
|
3459 |
public int dwSize; |
|
3460 |
public int dwCurMediaFileLen; /* 当前播放的媒体文件长度 */ |
|
3461 |
public int dwCurMediaFilePosition; /* 当前播放文件的播放位置 */ |
|
3462 |
public int dwCurMediaFileDuration; /* 当前播放文件的总时间 */ |
|
3463 |
public int dwCurPlayTime; /* ½前已经播放的时间 */ |
|
3464 |
public int dwCurMediaFIleFrames; /* 当前播放文件的总帧数 */ |
|
3465 |
public int dwCurDataType; /* 当前传输的数据类型,19-文件头,20-流数据, 21-播放结束标志 */ |
|
3466 |
public byte[] res = new byte[72]; |
|
3467 |
} |
|
3468 |
|
|
3469 |
public static class NET_DVR_MATRIX_PASSIVEMODE extends HIKSDKStructure { |
|
3470 |
public short wTransProtol; //传输协议,0-TCP, 1-UDP, 2-MCAST |
|
3471 |
public short wPassivePort; //TCP,UDP时为TCP,UDP端口, MCAST时为MCAST端口 |
|
3472 |
public NET_DVR_IPADDR struMcastIP; //TCP,UDP时无效, MCAST时为多播地址 |
|
3473 |
public byte byStreamType; //数据播放模式:1- 实时流,2- 文件流 |
|
3474 |
public byte[] res = new byte[7]; |
|
3475 |
} |
|
3476 |
/************************************多路解码器(end)***************************************/ |
|
3477 |
|
|
3478 |
|
|
3479 |
/************************************ |
|
3480 |
* 拼控(Start) |
|
3481 |
***************************************/ |
|
3482 |
|
|
3483 |
|
|
3484 |
public static final int NET_DVR_GET_SUBWND_DECODE_OSD = 9183; //获取子窗口解码OSD信息 |
|
3485 |
public static final int NET_DVR_GET_SUBWND_DECODE_OSD_ALL = 9184; //获取所有子窗口解码OSD信息 |
|
3486 |
public static final int NET_DVR_SET_SUBWND_DECODE_OSD = 9185; //设置子窗口解码OSD信息 |
|
3487 |
public static final int NET_DVR_GET_SUBWND_DECODE_OSD_CAP = 9186; //获取子窗口解码OSD信息能力集 |
|
3488 |
public static final int NET_DVR_GET_DECODE_CHANNEL_OSD = 9187; //获取解码通道OSD信息 |
|
3489 |
public static final int NET_DVR_SET_DECODE_CHANNEL_OSD = 9188; //设置解码通道OSD信息 |
|
3490 |
|
|
3491 |
public static final int MAX_PLAN_ACTION_NUM = 32; //预案动作个数 |
|
3492 |
public static final int DAYS_A_WEEK = 7; //一周7天 |
|
3493 |
public static final int MAX_PLAN_COUNT = 16; //预案个数 |
|
3494 |
public static final int MAX_LEN_OSD_CONTENT = 256; //OSD信息最大长度 |
|
3495 |
public static final int MAX_NUM_OSD_ONE_SUBWND = 8; //单个子窗口支持的最大OSD数量 |
|
3496 |
public static final int MAX_NUM_SPLIT_WND = 64; //单个窗口支持的最大分屏窗口数量(即子窗口数量) |
|
3497 |
public static final int MAX_NUM_OSD = 8; |
|
3498 |
public static final int MAX_CYCLE_CHAN_V30 = 64; //最大轮巡通道数(扩展) |
|
3499 |
public static final int STREAM_PASSWD_LEN = 12; //码流加密密钥最大长度 |
|
3500 |
|
|
3501 |
public static class NET_DVR_VIDEO_WALL_INFO extends HIKSDKStructure { |
|
3502 |
public int dwSize; |
|
3503 |
//窗口号:1字节墙号+1字节保留+2字节窗口号 |
|
3504 |
public int dwWindowNo; |
|
3505 |
public int dwSceneNo;//场景号 |
|
3506 |
public int dwDestWallNo; //目的墙号 |
|
3507 |
public int dwDestSceneNo;//目的场景号 |
|
3508 |
public byte[] byRes = new byte[12]; |
|
3509 |
} |
|
3510 |
|
|
3511 |
public static class NET_DVR_SCENE_CONTROL_INFO extends HIKSDKStructure { |
|
3512 |
public int dwSize; |
|
3513 |
public NET_DVR_VIDEO_WALL_INFO struVideoWallInfo; //电视墙信息 |
|
3514 |
public int dwCmd; //场景控制命令,1-场景模式切换(如果要切换的是当前场景,则不进行切换),2-初始化场景(将此场景的配置清空,如果是当前场景,则同时对当前场景进行清屏操作),3-强制切换(无论是否是当前场景,强制切换),4-保存当前模式到某场景 5-删除场景 ,6-场景复制 |
|
3515 |
public byte[] byRes = new byte[4]; |
|
3516 |
} |
|
3517 |
|
|
3518 |
public static class NET_DVR_BUF_INFO extends HIKSDKStructure { |
|
3519 |
public Pointer pBuf; |
|
3520 |
public int nLen; |
|
3521 |
} |
|
3522 |
|
|
3523 |
public static class NET_DVR_IN_PARAM extends HIKSDKStructure { |
|
3524 |
public NET_DVR_BUF_INFO struCondBuf; |
|
3525 |
public NET_DVR_BUF_INFO struInParamBuf; |
|
3526 |
public int dwRecvTimeout; //接收数据超时时间,单位:ms,置0采用接口默认超时 |
|
3527 |
public byte[] byRes = new byte[32]; |
|
3528 |
} |
|
3529 |
|
|
3530 |
public static class NET_DVR_OUT_PARAM extends HIKSDKStructure { |
|
3531 |
public NET_DVR_BUF_INFO struOutBuf; |
|
3532 |
public Pointer lpStatusList; |
|
3533 |
public byte[] byRes = new byte[32]; |
|
3534 |
} |
|
3535 |
|
|
3536 |
public static class NET_DVR_RECTCFG_EX extends HIKSDKStructure { |
|
3537 |
public int dwXCoordinate; /*矩形左上角起始点X坐标*/ |
|
3538 |
public int dwYCoordinate; /*矩形左上角Y坐标*/ |
|
3539 |
public int dwWidth; /*矩形宽度*/ |
|
3540 |
public int dwHeight; /*矩形高度*/ |
|
3541 |
public byte[] byRes = new byte[4]; |
|
3542 |
|
|
3543 |
} |
|
3544 |
|
|
3545 |
public static class NET_DVR_VIDEOWALLWINDOWPOSITION extends HIKSDKStructure { |
|
3546 |
public int dwSize; |
|
3547 |
public byte byEnable; //窗口使能,0-不使能,1-使能 |
|
3548 |
public byte byWndOperateMode; //窗口操作模式,0-统一坐标,1-分辨率坐标 |
|
3549 |
public byte[] byRes1 = new byte[6]; |
|
3550 |
public int dwWindowNo;//窗口号 |
|
3551 |
public int dwLayerIndex;//窗口相对应的图层号,图层号到最大即置顶,置顶操作 |
|
3552 |
public NET_DVR_RECTCFG_EX struRect; //目的窗口统一坐标(相对显示墙),获取或按统一坐标设置时有效 |
|
3553 |
public NET_DVR_RECTCFG_EX struResolution; //目的窗口分辨率坐标,获取或按分辨率坐标设置有效 |
|
3554 |
public int dwXCoordinate; //LED区域左上角X坐标(统一坐标),获取或按分辨率坐标设置有效 |
|
3555 |
public int dwYCoordinate; //LED区域左上角Y坐标(统一坐标),获取或按分辨率坐标设置有效 |
|
3556 |
public byte[] byRes2 = new byte[36]; |
|
3557 |
} |
|
3558 |
|
|
3559 |
public static class VIDEOWALLWINDOWPOSITION_ARRAY extends HIKSDKStructure { |
|
3560 |
public NET_DVR_VIDEOWALLWINDOWPOSITION[] strVideoWinPostion; |
|
3561 |
|
|
3562 |
public VIDEOWALLWINDOWPOSITION_ARRAY(int iLen) { |
|
3563 |
strVideoWinPostion = new NET_DVR_VIDEOWALLWINDOWPOSITION[iLen]; |
|
3564 |
} |
|
3565 |
|
|
3566 |
|
|
3567 |
} |
|
3568 |
|
|
3569 |
|
|
3570 |
public static class NET_DVR_WALLWINPARAM extends HIKSDKStructure { |
|
3571 |
public int dwSize; |
|
3572 |
public byte byTransparency; //使能透明度,0-关,非0-开 |
|
3573 |
public byte byWinMode;//窗口分屏模式,能力集获取 |
|
3574 |
public byte byEnableSpartan;//畅显使能,0-关,1-开 |
|
3575 |
public byte byDecResource; //为窗口分配的解码资源,1-D1,2-720P,3-1080P |
|
3576 |
public byte byWndShowMode; //窗口显示模式,0-此字段不用,1-子窗口模式,2-子窗口全屏模式 |
|
3577 |
public byte byEnabledFeature; //是否启用场景特写,0-不启用,!0-启用 |
|
3578 |
public byte byFeatureMode; //特写模式,启用场景特写时有效,0-无效,1-“1+5”模式 |
|
3579 |
public byte byRes1; |
|
3580 |
public int dwAmplifyingSubWndNo; //全屏子窗口号(1字节墙号+1字节子窗口号+2字节窗口号) |
|
3581 |
//当byWndShowMode为2时有效,表示当前全屏显示的子窗口 |
|
3582 |
public byte byWndTopKeep; //窗口置顶保持,0-不保持,1-保持 |
|
3583 |
public byte byWndOpenKeep; //窗口打开保持,0-不保持,1-保持 |
|
3584 |
public byte[] byRes = new byte[22]; |
|
3585 |
} |
|
3586 |
|
|
3587 |
public static class NET_DVR_PLAN_LIST extends HIKSDKStructure { |
|
3588 |
public int dwSize; |
|
3589 |
public int dwPlanNums; //设备输入信号源数量 |
|
3590 |
public Pointer pBuffer; //指向dwInputSignalNums个NET_DVR_PLAN_CFG结构大小的缓冲区 |
|
3591 |
public byte byWallNo; //墙号,从1开始 |
|
3592 |
public byte[] byRes1 = new byte[2]; |
|
3593 |
public int dwBufLen; //所分配缓冲区长度,输入参数(大于等于dwInputSignalNums个NET_DVR_PLAN_CFG结构大小) |
|
3594 |
public byte[] byRes2 = new byte[64]; |
|
3595 |
} |
|
3596 |
|
|
3597 |
/*预案项信息*/ |
|
3598 |
public static class NET_DVR_PLAN_INFO extends HIKSDKStructure { |
|
3599 |
public byte byValid; // 该项是否有效 |
|
3600 |
public byte byType; // 见定义NET_DVR_PLAN_OPERATE_TYPE |
|
3601 |
public short wLayoutNo; // 布局号 |
|
3602 |
public byte byScreenStyle; //屏幕型号,开关机所用,1是低亮,2是高亮 |
|
3603 |
public byte byBaseMapType; //底图类型,1-图片底图,2-超高清输入底图,底图切换时有效 |
|
3604 |
public byte[] byRes1 = new byte[2]; |
|
3605 |
public int dwDelayTime; // 一个项的运行时间, 单位秒 |
|
3606 |
public int dwSerialNo; //串口号,屏幕控制时使用 |
|
3607 |
public int dwBaseMapWndNo; //底图窗口号,底图切换时有效 |
|
3608 |
public int dwBaseMapNo; //底图号,底图切换时有效;底图类型为1时,此参数为图片序号,底图类型为2时此参数为超高清输入子系统输入号(1字节设备号+1字节子板号+2字节显示输入序号) |
|
3609 |
public byte[] byRes2 = new byte[20]; |
|
3610 |
} |
|
3611 |
|
|
3612 |
public static class NET_DVR_CYCLE_TIME extends HIKSDKStructure { |
|
3613 |
public byte byValid; |
|
3614 |
public byte[] byRes = new byte[3]; |
|
3615 |
public NET_DVR_TIME_EX struTime = new NET_DVR_TIME_EX(); |
|
3616 |
} |
|
3617 |
|
|
3618 |
/*预案管理*/ |
|
3619 |
public static class NET_DVR_PLAN_CFG extends HIKSDKStructure { |
|
3620 |
public int dwSize; |
|
3621 |
public byte byValid; // 该预案是否有效 |
|
3622 |
public byte byWorkMode; // 预案工作模式 1表示手动,2自动,3预案循环 |
|
3623 |
public byte byWallNo; //电视墙号,从1开始 |
|
3624 |
public byte byPlanNo; //预案号,获取预案列表时有效,0-无效或不支持 |
|
3625 |
public byte[] byPlanName = new byte[NAME_LEN/*32*/]; //预案名称 |
|
3626 |
public NET_DVR_TIME_EX struTime; // 工作模式为自动时使用 |
|
3627 |
public NET_DVR_CYCLE_TIME[] struTimeCycle = new NET_DVR_CYCLE_TIME[DAYS_A_WEEK/*7*/]; /*循环时间,周期为一个星期,年、月、日三个参数不使用。如:struTimeCycle[0]中的byValid的值是1,表示星期天执行该预案。星期取值区间为[0,6],其中0代表星期天,1代表星期一,以此类推*/ |
|
3628 |
public int dwWorkCount; // 预案内容执行次数 |
|
3629 |
public NET_DVR_PLAN_INFO[] strPlanEntry = new NET_DVR_PLAN_INFO[MAX_PLAN_ACTION_NUM/*32*/]; // 预案执行的内容 |
|
3630 |
public int dwPlanNo; //4字节预案号,客户端统一使用4字节的预案号,单字节的预案号不再使用 |
|
3631 |
public byte[] byRes2 = new byte[60]; |
|
3632 |
} |
|
3633 |
|
|
3634 |
public static class NET_DVR_WALLSCENECFG extends HIKSDKStructure { |
|
3635 |
public int dwSize; |
|
3636 |
public byte[] sSceneName = new byte[NAME_LEN]; //场景名称 |
|
3637 |
public byte byEnable; //场景是否有效,0-无效,1-有效 |
|
3638 |
public byte bySceneIndex; //场景号,只能获取。获取所有场景时使用该参数 |
|
3639 |
public byte[] byRes = new byte[78]; |
|
3640 |
} |
|
3641 |
|
|
3642 |
public static class NET_DVR_SUBWND_DECODE_OSD extends HIKSDKStructure { |
|
3643 |
public int dwSize = 0; |
|
3644 |
public int dwSubWndNo = 0; //子窗口号(4字节组合方式) |
|
3645 |
public int dwOSDNums = 0; //该子窗口配置的OSD信息的个数 |
|
3646 |
public NET_DVR_OSD_INFO[] struOSDList = new NET_DVR_OSD_INFO[MAX_NUM_OSD_ONE_SUBWND]; //OSD信息列表 |
|
3647 |
public byte[] byRes = new byte[32]; |
|
3648 |
} |
|
3649 |
|
|
3650 |
public static class NET_DVR_OSD_INFO extends HIKSDKStructure { |
|
3651 |
public byte byEnabled = 1; //是否使能,零-不使能,非零-使能 |
|
3652 |
public byte byEnabledFlash = 0; //是否闪烁,零-不闪烁,非零-闪烁 |
|
3653 |
public byte byFontSize = 1; //字体大小,1-大,2-中,3-小 |
|
3654 |
public byte byTransparent = 0; //透明度,取值范围0-100 |
|
3655 |
public NET_DVR_RGB_COLOR struColor = new NET_DVR_RGB_COLOR(); //字体颜色 |
|
3656 |
public short wCoordinateX = 0; //OSD左上角X坐标 |
|
3657 |
public short wCoordinateY = 0; //OSD左上角Y坐标 |
|
3658 |
public byte[] byContent = new byte[MAX_LEN_OSD_CONTENT]; //OSD信息 |
|
3659 |
public byte[] byRes = new byte[32]; |
|
3660 |
} |
|
3661 |
|
|
3662 |
public static class NET_DVR_DEV_CHAN_INFO_EX extends HIKSDKStructure { |
|
3663 |
public byte byChanType; //通道类型,0-普通通道,1-零通道,2-流ID,3-本地输入源,4-虚拟屏服务器通道,5-拼接通道,6-屏幕服务器,7-分布式网络源,8-多相机融合通道,9-网络输入源 |
|
3664 |
public byte[] byStreamId = new byte[STREAM_ID_LEN]; //流ID,当byChanType=2、9时,该字段用于指定流或者网络ipc的ID号 |
|
3665 |
public byte[] byRes1 = new byte[3]; |
|
3666 |
public int dwChannel; //通道号,通道类型为普通通道,零通道,本地输入源,虚拟屏服务器通道,拼接通道,屏幕服务器,分布式网络源时填此字段 |
|
3667 |
public byte[] byRes2 = new byte[24]; |
|
3668 |
public byte[] byAddress = new byte[MAX_DOMAIN_NAME]; //设备域名 |
|
3669 |
public short wDVRPort; //端口号 |
|
3670 |
public byte byChannel; //通道号,dwChannel不为0时此字段无效 |
|
3671 |
public byte byTransProtocol; //传输协议类型0-TCP,1-UDP |
|
3672 |
public byte byTransMode; //传输码流模式 0-主码流 1-子码流 |
|
3673 |
public byte byFactoryType; /*前端设备厂家类型,通过接口获取*/ |
|
3674 |
public byte byDeviceType; //设备类型(视频综合平台智能板使用),1-解码器(此时根据视频综合平台能力集中byVcaSupportChanMode字段来决定是使用解码通道还是显示通道),2-编码器 |
|
3675 |
public byte byDispChan;//显示通道号,智能配置使用 |
|
3676 |
public byte bySubDispChan;//显示通道子通道号,智能配置时使用 |
|
3677 |
public byte byResolution; //; 1-CIF 2-4CIF 3-720P 4-1080P 5-500w大屏控制器使用,大屏控制器会根据该参数分配解码资源 |
|
3678 |
public byte[] byRes = new byte[2]; |
|
3679 |
public byte[] sUserName = new byte[NAME_LEN]; //监控主机登陆帐号 |
|
3680 |
public byte[] sPassword = new byte[PASSWD_LEN]; //监控主机密码 |
|
3681 |
} |
|
3682 |
|
|
3683 |
public static class NET_DVR_STREAM_MEDIA_SERVER extends HIKSDKStructure { |
|
3684 |
public byte byValid; //是否启用,0-否,1-是 |
|
3685 |
public byte[] byRes1 = new byte[3]; |
|
3686 |
public byte[] byAddress = new byte[MAX_DOMAIN_NAME]; //IP或者域名 |
|
3687 |
public short wDevPort; /*流媒体服务器端口*/ |
|
3688 |
public byte byTransmitType; /*传输协议类型 0-TCP,1-UDP*/ |
|
3689 |
public byte[] byRes2 = new byte[5]; |
|
3690 |
} |
|
3691 |
|
|
3692 |
public static class NET_DVR_DEV_DDNS_INFO extends HIKSDKStructure { |
|
3693 |
public byte[] byDevAddress = new byte[MAX_DOMAIN_NAME]; //域名(IPServer或hiDDNS时可填序列号或者别名) |
|
3694 |
public byte byTransProtocol; //传输协议类型0-TCP,1-UDP, 2-MCAST |
|
3695 |
public byte byTransMode; //传输码流模式 0-主码流 1-子码流 |
|
3696 |
public byte byDdnsType; //域名服务器类型,0-IPServer 1-Dyndns 2-PeanutHull(花生壳),3- NO-IP, 4- hiDDNS |
|
3697 |
public byte byRes1; |
|
3698 |
public byte[] byDdnsAddress = new byte[MAX_DOMAIN_NAME]; //DDNS服务器地址 |
|
3699 |
public short wDdnsPort; //DDNS服务器端口号 |
|
3700 |
public byte byChanType; //0-普通通道,1-零通道,2-流ID |
|
3701 |
public byte byFactoryType; //前端设备厂家类型,通过接口获取 |
|
3702 |
public int dwChannel; //通道号 |
|
3703 |
public byte[] byStreamId = new byte[STREAM_ID_LEN]; //流ID |
|
3704 |
public byte[] sUserName = new byte[NAME_LEN]; //监控主机登陆帐号 |
|
3705 |
public byte[] sPassword = new byte[PASSWD_LEN]; //监控主机密码 |
|
3706 |
public short wDevPort; //前端设备通信端口 |
|
3707 |
public byte[] byRes2 = new byte[2]; |
|
3708 |
} |
|
3709 |
|
|
3710 |
public static class NET_DVR_DEC_STREAM_DEV_EX extends HIKSDKStructure { |
|
3711 |
public NET_DVR_STREAM_MEDIA_SERVER struStreamMediaSvrCfg = new NET_DVR_STREAM_MEDIA_SERVER(); |
|
3712 |
public NET_DVR_DEV_CHAN_INFO_EX struDevChanInfo = new NET_DVR_DEV_CHAN_INFO_EX(); |
|
3713 |
} |
|
3714 |
|
|
3715 |
//DDNS方式取流 |
|
3716 |
public static class NET_DVR_DEC_DDNS_DEV extends HIKSDKStructure { |
|
3717 |
public NET_DVR_DEV_DDNS_INFO struDdnsInfo; |
|
3718 |
public NET_DVR_STREAM_MEDIA_SERVER struMediaServer; |
|
3719 |
} |
|
3720 |
|
|
3721 |
public static class NET_DVR_DEC_STREAM_MODE extends Union { |
|
3722 |
public NET_DVR_DEC_STREAM_DEV_EX struDecStreamDev = new NET_DVR_DEC_STREAM_DEV_EX(); |
|
3723 |
public NET_DVR_PU_STREAM_URL struUrlInfo = new NET_DVR_PU_STREAM_URL(); |
|
3724 |
public NET_DVR_DEC_DDNS_DEV struDdnsDecInfo = new NET_DVR_DEC_DDNS_DEV(); |
|
3725 |
public byte[] byRes = new byte[300]; |
|
3726 |
} |
|
3727 |
|
|
3728 |
public static class NET_DVR_MATRIX_CHAN_INFO_V41 extends HIKSDKStructure { |
|
3729 |
public byte byEnable; //是否启用,0-否,1-是 |
|
3730 |
public byte byStreamMode;/*取流模式,0-无效,1-通过IP或域名取流,2-通过URL取流,3-通过动态域名解析向设备取流*/ |
|
3731 |
public byte[] byRes = new byte[2]; |
|
3732 |
public NET_DVR_DEC_STREAM_MODE uDecStreamMode = new NET_DVR_DEC_STREAM_MODE();//取流信息 |
|
3733 |
} |
|
3734 |
|
|
3735 |
public static class NET_DVR_MATRIX_LOOP_DECINFO_V41 extends HIKSDKStructure { |
|
3736 |
public int dwSize; |
|
3737 |
public int dwPoolTime; /*轮巡间隔*/ |
|
3738 |
public NET_DVR_MATRIX_CHAN_INFO_V41[] struchanConInfo = new NET_DVR_MATRIX_CHAN_INFO_V41[MAX_CYCLE_CHAN_V30]; |
|
3739 |
public byte byStreamEncrypt; //是否进行码流加密处理,0-不支持,1-支持 |
|
3740 |
public byte[] byRes = new byte[3]; |
|
3741 |
public byte[] sStreamPassword = new byte[STREAM_PASSWD_LEN]; //码流加密密码,需敏感信息加密 |
|
3742 |
} |
|
3743 |
|
|
3744 |
/************************************ |
|
3745 |
* 拼控(End) |
|
3746 |
***************************************/ |
|
3747 |
|
|
3748 |
public static class NET_DVR_EMAILCFG extends HIKSDKStructure { /* 12 bytes */ |
|
3749 |
public int dwSize; |
|
3750 |
public byte[] sUserName = new byte[32]; |
|
3751 |
public byte[] sPassWord = new byte[32]; |
|
3752 |
public byte[] sFromName = new byte[32]; /* Sender *///字符串中的第一个字符和最后一个字符不能是"@",并且字符串中要有"@"字符 |
|
3753 |
public byte[] sFromAddr = new byte[48]; /* Sender address */ |
|
3754 |
public byte[] sToName1 = new byte[32]; /* Receiver1 */ |
|
3755 |
public byte[] sToName2 = new byte[32]; /* Receiver2 */ |
|
3756 |
public byte[] sToAddr1 = new byte[48]; /* Receiver address1 */ |
|
3757 |
public byte[] sToAddr2 = new byte[48]; /* Receiver address2 */ |
|
3758 |
public byte[] sEmailServer = new byte[32]; /* Email server address */ |
|
3759 |
public byte byServerType; /* Email server type: 0-SMTP, 1-POP, 2-IMTP…*/ |
|
3760 |
public byte byUseAuthen; /* Email server authentication method: 1-enable, 0-disable */ |
|
3761 |
public byte byAttachment; /* enable attachment */ |
|
3762 |
public byte byMailinterval; /* mail interval 0-2s, 1-3s, 2-4s. 3-5s*/ |
|
3763 |
} |
|
3764 |
|
|
3765 |
public static class NET_DVR_COMPRESSIONCFG_NEW extends HIKSDKStructure { |
|
3766 |
public int dwSize; |
|
3767 |
public NET_DVR_COMPRESSION_INFO_EX struLowCompression; //定时录像 |
|
3768 |
public NET_DVR_COMPRESSION_INFO_EX struEventCompression; //事件触发录像 |
|
3769 |
} |
|
3770 |
|
|
3771 |
//球机位置信息 |
|
3772 |
public static class NET_DVR_PTZPOS extends HIKSDKStructure { |
|
3773 |
public short wAction;//获取时该字段无效 |
|
3774 |
public short wPanPos;//水平参数 |
|
3775 |
public short wTiltPos;//垂直参数 |
|
3776 |
public short wZoomPos;//变倍参数 |
|
3777 |
} |
|
3778 |
|
|
3779 |
//球机范围信息 |
|
3780 |
public static class NET_DVR_PTZSCOPE extends HIKSDKStructure { |
|
3781 |
public short wPanPosMin;//水平参数min |
|
3782 |
public short wPanPosMax;//水平参数max |
|
3783 |
public short wTiltPosMin;//垂直参数min |
|
3784 |
public short wTiltPosMax;//垂直参数max |
|
3785 |
public short wZoomPosMin;//变倍参数min |
|
3786 |
public short wZoomPosMax;//变倍参数max |
|
3787 |
} |
|
3788 |
|
|
3789 |
public static class NET_DVR_PTZABSOLUTEEX_CFG extends HIKSDKStructure { |
|
3790 |
public int dwSize;//结构体大小 |
|
3791 |
public NET_PTZ_INFO struPTZCtrl = new NET_PTZ_INFO();//设备PTZF信息 |
|
3792 |
public int dwFocalLen;//焦距范围:0-100000MM |
|
3793 |
public float fHorizontalSpeed;//水平转动速度:0.01-1000.00度/S |
|
3794 |
public float fVerticalSpeed;//垂直转动速度:0.01-1000.00度/S |
|
3795 |
/*镜头变倍配置类型;absoluteZoom:通过变倍参数进行配置,选择为该类型时struPTZCtrl中的fZoom参数生效。focalLen:通过焦距参数进行配置,选择为该类型时,dwFocalLen参数生效。*/ |
|
3796 |
public byte byZoomType;// 镜头变倍配置类型0~ absoluteZoom,1~ focalLen |
|
3797 |
public byte[] byRes = new byte[123]; |
|
3798 |
} |
|
3799 |
|
|
3800 |
//rtsp配置 ipcamera专用 |
|
3801 |
public static class NET_DVR_RTSPCFG extends HIKSDKStructure { |
|
3802 |
public int dwSize; //长度 |
|
3803 |
public short wPort; //rtsp服务器侦听端口 |
|
3804 |
public byte[] byReserve = new byte[54]; //预留 |
|
3805 |
} |
|
3806 |
|
|
3807 |
/******************************** |
|
3808 |
* 接口参数结构(begin) |
|
3809 |
*********************************/ |
|
3810 |
|
|
3811 |
//NET_DVR_Login()参数结构 |
|
3812 |
public static class NET_DVR_DEVICEINFO extends HIKSDKStructure { |
|
3813 |
public byte[] sSerialNumber = new byte[SERIALNO_LEN]; //序列号 |
|
3814 |
public byte byAlarmInPortNum; //DVR报警输入个数 |
|
3815 |
public byte byAlarmOutPortNum; //DVR报警输出个数 |
|
3816 |
public byte byDiskNum; //DVR硬盘个数 |
|
3817 |
public byte byDVRType; //DVR类型, 1:DVR 2:ATM DVR 3:DVS ...... |
|
3818 |
public byte byChanNum; //DVR 通道个数 |
|
3819 |
public byte byStartChan; //起始通道号,例如DVS-1,DVR - 1 |
|
3820 |
} |
|
3821 |
|
|
3822 |
//NET_DVR_Login_V30()参数结构 |
|
3823 |
public static class NET_DVR_DEVICEINFO_V30 extends HIKSDKStructure { |
|
3824 |
public byte[] sSerialNumber = new byte[SERIALNO_LEN]; //序列号 |
|
3825 |
public byte byAlarmInPortNum; //报警输入个数 |
|
3826 |
public byte byAlarmOutPortNum; //报警输出个数 |
|
3827 |
public byte byDiskNum; //硬盘个数 |
|
3828 |
public byte byDVRType; //设备类型, 1:DVR 2:ATM DVR 3:DVS ...... |
|
3829 |
public byte byChanNum; //模拟通道个数 |
|
3830 |
public byte byStartChan; //起始通道号,例如DVS-1,DVR - 1 |
|
3831 |
public byte byAudioChanNum; //语音通道数 |
|
3832 |
public byte byIPChanNum; //最大数字通道个数,低位 |
|
3833 |
public byte byZeroChanNum; //零通道编码个数 //2010-01-16 |
|
3834 |
public byte byMainProto; //主码流传输协议类型 0-private, 1-rtsp,2-同时支持private和rtsp |
|
3835 |
public byte bySubProto; //子码流传输协议类型0-private, 1-rtsp,2-同时支持private和rtsp |
|
3836 |
public byte bySupport; //能力,位与结果为0表示不支持,1表示支持, |
|
3837 |
public byte bySupport1; // 能力集扩充,位与结果为0表示不支持,1表示支持 |
|
3838 |
public byte bySupport2; /*能力*/ |
|
3839 |
public short wDevType; //设备型号 |
|
3840 |
public byte bySupport3; //能力集扩展 |
|
3841 |
public byte byMultiStreamProto;//是否支持多码流,按位表示,0-不支持,1-支持,bit1-码流3,bit2-码流4,bit7-主码流,bit-8子码流 |
|
3842 |
public byte byStartDChan; //起始数字通道号,0表示无效 |
|
3843 |
public byte byStartDTalkChan; //起始数字对讲通道号,区别于模拟对讲通道号,0表示无效 |
|
3844 |
public byte byHighDChanNum; //数字通道个数,高位 |
|
3845 |
public byte bySupport4; //能力集扩展 |
|
3846 |
public byte byLanguageType;// 支持语种能力,按位表示,每一位0-不支持,1-支持 |
|
3847 |
// byLanguageType 等于0 表示 老设备 |
|
3848 |
// byLanguageType & 0x1表示支持中文 |
|
3849 |
// byLanguageType & 0x2表示支持英文 |
|
3850 |
public byte byVoiceInChanNum; //音频输入通道数 |
|
3851 |
public byte byStartVoiceInChanNo; //音频输入起始通道号 0表示无效 |
|
3852 |
public byte bySupport5; |
|
3853 |
public byte bySupport6; //能力 |
|
3854 |
public byte byMirrorChanNum; //镜像通道个数,<录播主机中用于表示导播通道> |
|
3855 |
public short wStartMirrorChanNo; //起始镜像通道号 |
|
3856 |
public byte bySupport7; //能力 |
|
3857 |
public byte byRes2; //保留 |
|
3858 |
} |
|
3859 |
|
|
3860 |
public static final int NET_DVR_DEV_ADDRESS_MAX_LEN = 129; |
|
3861 |
public static final int NET_DVR_LOGIN_USERNAME_MAX_LEN = 64; |
|
3862 |
public static final int NET_DVR_LOGIN_PASSWD_MAX_LEN = 64; |
|
3863 |
|
|
3864 |
public static interface FLoginResultCallBack extends Callback { |
|
3865 |
public int invoke(int lUserID, int dwResult, NET_DVR_DEVICEINFO_V30 lpDeviceinfo, Pointer pUser); |
|
3866 |
} |
|
3867 |
|
|
3868 |
//NET_DVR_Login_V40()参数 |
|
3869 |
public static class NET_DVR_USER_LOGIN_INFO extends HIKSDKStructure { |
|
3870 |
public byte[] sDeviceAddress = new byte[NET_DVR_DEV_ADDRESS_MAX_LEN]; |
|
3871 |
public byte byUseTransport; |
|
3872 |
public short wPort; |
|
3873 |
public byte[] sUserName = new byte[NET_DVR_LOGIN_USERNAME_MAX_LEN]; |
|
3874 |
public byte[] sPassword = new byte[NET_DVR_LOGIN_PASSWD_MAX_LEN]; |
|
3875 |
public FLoginResultCallBack cbLoginResult; |
|
3876 |
public Pointer pUser; |
|
3877 |
public boolean bUseAsynLogin; |
|
3878 |
public byte byProxyType; //0:不使用代理,1:使用标准代理,2:使用EHome代理 |
|
3879 |
public byte byUseUTCTime; //0-不进行转换,默认,1-接口上输入输出全部使用UTC时间,SDK完成UTC时间与设备时区的转换,2-接口上输入输出全部使用平台本地时间,SDK完成平台本地时间与设备时区的转换 |
|
3880 |
public byte byLoginMode; //0-Private 1-ISAPI 2-自适应 |
|
3881 |
public byte byHttps; //0-不适用tls,1-使用tls 2-自适应 |
|
3882 |
public int iProxyID; //代理服务器序号,添加代理服务器信息时,相对应的服务器数组下表值 |
|
3883 |
public byte byVerifyMode; //认证方式,0-不认证,1-双向认证,2-单向认证;认证仅在使用TLS的时候生效; |
|
3884 |
public byte[] byRes2 = new byte[119]; |
|
3885 |
} |
|
3886 |
|
|
3887 |
//NET_DVR_Login_V40()参数 |
|
3888 |
public static class NET_DVR_DEVICEINFO_V40 extends HIKSDKStructure { |
|
3889 |
public NET_DVR_DEVICEINFO_V30 struDeviceV30 = new NET_DVR_DEVICEINFO_V30(); |
|
3890 |
public byte bySupportLock; |
|
3891 |
public byte byRetryLoginTime; |
|
3892 |
public byte byPasswordLevel; |
|
3893 |
public byte byRes1; |
|
3894 |
public int dwSurplusLockTime; |
|
3895 |
public byte byCharEncodeType;//字符编码类型:0- 无字符编码信息(老设备),1- GB2312(简体中文),2- GBK,3- BIG5(繁体中文),4- Shift_JIS(日文),5- EUC-KR(韩文),6- UTF-8,7- ISO8859-1,8- ISO8859-2,9- ISO8859-3,…,依次类推,21- ISO8859-15(西欧) |
|
3896 |
public byte bySupportDev5; //支持v50版本的设备参数获取,设备名称和设备类型名称长度扩展为64字节 |
|
3897 |
public byte bySupport; //能力集扩展,位与结果:0- 不支持,1- 支持 |
|
3898 |
public byte byLoginMode; //登录模式 0-Private登录 1-ISAPI登录 |
|
3899 |
public int dwOEMCode; |
|
3900 |
public int iResidualValidity; //该用户密码剩余有效天数,单位:天,返回负值,表示密码已经超期使用,例如“-3表示密码已经超期使用3天” |
|
3901 |
public byte byResidualValidity; // iResidualValidity字段是否有效,0-无效,1-有效 |
|
3902 |
public byte bySingleStartDTalkChan; //独立音轨接入的设备,起始接入通道号,0-为保留字节,无实际含义,音轨通道号不能从0开始 |
|
3903 |
public byte bySingleDTalkChanNums; //独立音轨接入的设备的通道总数,0-表示不支持 |
|
3904 |
public byte byPassWordResetLevel; //0-无效,1-管理员创建一个非管理员用户为其设置密码,该非管理员用户正确登录设备后要提示“请修改初始登录密码”,未修改的情况下,用户每次登入都会进行提醒;2-当非管理员用户的密码被管理员修改,该非管理员用户再次正确登录设备后,需要提示“请重新设置登录密码”,未修改的情况下,用户每次登入都会进行提醒。 |
|
3905 |
public byte bySupportStreamEncrypt; //能力集扩展,位与结果:0- 不支持,1- 支持 bySupportStreamEncrypt & 0x1:表示是否支持RTP/TLS取流 bySupportStreamEncrypt & 0x2: 表示是否支持SRTP/UDP取流 bySupportStreamEncrypt & 0x4: 表示是否支持SRTP/MULTICAST取流 |
|
3906 |
public byte byMarketType;//0-无效(未知类型),1-经销型,2-行业型 |
|
3907 |
public byte[] byRes2 = new byte[238]; |
|
3908 |
} |
|
3909 |
|
|
3910 |
//sdk网络环境枚举变量,用于远程升级 |
|
3911 |
enum _SDK_NET_ENV { |
|
3912 |
LOCAL_AREA_NETWORK, |
|
3913 |
WIDE_AREA_NETWORK |
|
3914 |
} |
|
3915 |
|
|
3916 |
//显示模式 |
|
3917 |
enum DISPLAY_MODE { |
|
3918 |
NORMALMODE, |
|
3919 |
OVERLAYMODE |
|
3920 |
} |
|
3921 |
|
|
3922 |
//发送模式 |
|
3923 |
enum SEND_MODE { |
|
3924 |
PTOPTCPMODE, |
|
3925 |
PTOPUDPMODE, |
|
3926 |
MULTIMODE, |
|
3927 |
RTPMODE, |
|
3928 |
RESERVEDMODE |
|
3929 |
} |
|
3930 |
|
|
3931 |
; |
|
3932 |
|
|
3933 |
//抓图模式 |
|
3934 |
enum CAPTURE_MODE { |
|
3935 |
BMP_MODE, //BMP模式 |
|
3936 |
JPEG_MODE //JPEG模式 |
|
3937 |
} |
|
3938 |
|
|
3939 |
; |
|
3940 |
|
|
3941 |
//实时声音模式 |
|
3942 |
enum REALSOUND_MODE { |
|
3943 |
NONE, //SDK中无此模式,只是为了填补0这个位置 |
|
3944 |
MONOPOLIZE_MODE, //独占模式 1 |
|
3945 |
SHARE_MODE //共享模式 2 |
|
3946 |
} |
|
3947 |
|
|
3948 |
; |
|
3949 |
|
|
3950 |
//软解码预览参数 |
|
3951 |
public static class NET_DVR_CLIENTINFO extends HIKSDKStructure { |
|
3952 |
public int lChannel; |
|
3953 |
public int lLinkMode; |
|
3954 |
public HWND hPlayWnd; |
|
3955 |
public String sMultiCastIP; |
|
3956 |
} |
|
3957 |
|
|
3958 |
//预览V40接口 |
|
3959 |
public static class NET_DVR_PREVIEWINFO extends HIKSDKStructure { |
|
3960 |
public int lChannel;//通道号 |
|
3961 |
public int dwStreamType; // 码流类型,0-主码流,1-子码流,2-码流3,3-码流4, 4-码流5,5-码流6,7-码流7,8-码流8,9-码流9,10-码流10 |
|
3962 |
public int dwLinkMode;// 0:TCP方式,1:UDP方式,2:多播方式,3 - RTP方式,4-RTP/RTSP,5-RSTP/HTTP ,6- HRUDP(可靠传输) ,7-RTSP/HTTPS |
|
3963 |
public HWND hPlayWnd;//播放窗口的句柄,为NULL表示不播放图象 |
|
3964 |
public int bBlocked; //0-非阻塞取流, 1-阻塞取流, 如果阻塞SDK内部connect失败将会有5s的超时才能够返回,不适合于轮询取流操作. |
|
3965 |
public int bPassbackRecord; //0-不启用录像回传,1启用录像回传 |
|
3966 |
public byte byPreviewMode;//预览模式,0-正常预览,1-延迟预览 |
|
3967 |
public byte[] byStreamID = new byte[32];//流ID,lChannel为0xffffffff时启用此参数 |
|
3968 |
public byte byProtoType; //应用层取流协议,0-私有协议,1-RTSP协议 |
|
3969 |
public byte byRes1; |
|
3970 |
public byte byVideoCodingType; //码流数据编解码类型 0-通用编码数据 1-热成像探测器产生的原始数据(温度数据的加密信息,通过去加密运算,将原始数据算出真实的温度值) |
|
3971 |
public int dwDisplayBufNum; //播放库播放缓冲区最大缓冲帧数,范围1-50,置0时默认为1 |
|
3972 |
public byte byNPQMode; //NPQ是直连模式,还是过流媒体 0-直连 1-过流媒体 |
|
3973 |
public byte[] byRes = new byte[215]; |
|
3974 |
} |
|
3975 |
|
|
3976 |
public static class NET_DVR_STREAM_INFO extends HIKSDKStructure { |
|
3977 |
public int dwSize; |
|
3978 |
public byte[] byID = new byte[32]; |
|
3979 |
public int dwChannel; |
|
3980 |
public byte[] byRes = new byte[32]; |
|
3981 |
} |
|
3982 |
|
|
3983 |
//配置条件 |
|
3984 |
public static class NET_DVR_CLOUDSTORAGE_COND extends HIKSDKStructure { |
|
3985 |
public int dwSize; |
|
3986 |
public int dwChannel; |
|
3987 |
public byte[] byRes1 = new byte[64]; |
|
3988 |
} |
|
3989 |
|
|
3990 |
public static class NET_DVR_STREAM_RECORD_STATUS extends HIKSDKStructure { |
|
3991 |
public int dwSize; |
|
3992 |
public byte byRecord; |
|
3993 |
public byte byOffLineRecord; |
|
3994 |
public byte[] byRes1 = new byte[2]; |
|
3995 |
public int dwRelatedHD; |
|
3996 |
public byte[] byRes2 = new byte[8]; |
|
3997 |
} |
|
3998 |
|
|
3999 |
//SDK状态信息(9000新增) |
|
4000 |
public static class NET_DVR_SDKSTATE extends HIKSDKStructure { |
|
4001 |
public int dwTotalLoginNum; //当前login用户数 |
|
4002 |
public int dwTotalRealPlayNum; //当前realplay路数 |
|
4003 |
public int dwTotalPlayBackNum; //当前回放或下载路数 |
|
4004 |
public int dwTotalAlarmChanNum; //当前建立报警通道路数 |
|
4005 |
public int dwTotalFormatNum; //当前硬盘格式化路数 |
|
4006 |
public int dwTotalFileSearchNum; //当前日志或文件搜索路数 |
|
4007 |
public int dwTotalLogSearchNum; //当前日志或文件搜索路数 |
|
4008 |
public int dwTotalSerialNum; //当前透明通道路数 |
|
4009 |
public int dwTotalUpgradeNum; //当前升级路数 |
|
4010 |
public int dwTotalVoiceComNum; //当前语音转发路数 |
|
4011 |
public int dwTotalBroadCastNum; //当前语音广播路数 |
|
4012 |
public int[] dwRes = new int[10]; |
|
4013 |
} |
|
4014 |
|
|
4015 |
//SDK功能支持信息(9000新增) |
|
4016 |
public static class NET_DVR_SDKABL extends HIKSDKStructure { |
|
4017 |
public int dwMaxLoginNum; //最大login用户数 MAX_LOGIN_USERS |
|
4018 |
public int dwMaxRealPlayNum; //最大realplay路数 WATCH_NUM |
|
4019 |
public int dwMaxPlayBackNum; //最大回放或下载路数 WATCH_NUM |
|
4020 |
public int dwMaxAlarmChanNum; //最大建立报警通道路数 ALARM_NUM |
|
4021 |
public int dwMaxFormatNum; //最大硬盘格式化路数 SERVER_NUM |
|
4022 |
public int dwMaxFileSearchNum; //最大文件搜索路数 SERVER_NUM |
|
4023 |
public int dwMaxLogSearchNum; //最大日志搜索路数 SERVER_NUM |
|
4024 |
public int dwMaxSerialNum; //最大透明通道路数 SERVER_NUM |
|
4025 |
public int dwMaxUpgradeNum; //最大升级路数 SERVER_NUM |
|
4026 |
public int dwMaxVoiceComNum; //最大语音转发路数 SERVER_NUM |
|
4027 |
public int dwMaxBroadCastNum; //最大语音广播路数 MAX_CASTNUM |
|
4028 |
public int[] dwRes = new int[10]; |
|
4029 |
} |
|
4030 |
|
|
4031 |
//报警设备信息 |
|
4032 |
public static class NET_DVR_ALARMER extends HIKSDKStructure { |
|
4033 |
public byte byUserIDValid; /* userid是否有效 0-无效,1-有效 */ |
|
4034 |
public byte bySerialValid; /* 序列号是否有效 0-无效,1-有效 */ |
|
4035 |
public byte byVersionValid; /* 版本号是否有效 0-无效,1-有效 */ |
|
4036 |
public byte byDeviceNameValid; /* 设备名字是否有效 0-无效,1-有效 */ |
|
4037 |
public byte byMacAddrValid; /* MAC地址是否有效 0-无效,1-有效 */ |
|
4038 |
public byte byLinkPortValid; /* login端口是否有效 0-无效,1-有效 */ |
|
4039 |
public byte byDeviceIPValid; /* 设备IP是否有效 0-无效,1-有效 */ |
|
4040 |
public byte bySocketIPValid; /* socket ip是否有效 0-无效,1-有效 */ |
|
4041 |
public int lUserID; /* NET_DVR_Login()返回值, 布防时有效 */ |
|
4042 |
public byte[] sSerialNumber = new byte[SERIALNO_LEN]; /* 序列号 */ |
|
4043 |
public int dwDeviceVersion; /* 版本信息 高16位表示主版本,低16位表示次版本*/ |
|
4044 |
public byte[] sDeviceName = new byte[NAME_LEN]; /* 设备名字 */ |
|
4045 |
public byte[] byMacAddr = new byte[MACADDR_LEN]; /* MAC地址 */ |
|
4046 |
public short wLinkPort; /* link port */ |
|
4047 |
public byte[] sDeviceIP = new byte[128]; /* IP地址 */ |
|
4048 |
public byte[] sSocketIP = new byte[128]; /* 报警主动上传时的socket IP地址 */ |
|
4049 |
public byte byIpProtocol; /* Ip协议 0-IPV4, 1-IPV6 */ |
|
4050 |
public byte[] byRes2 = new byte[11]; |
|
4051 |
|
|
4052 |
|
|
4053 |
} |
|
4054 |
|
|
4055 |
//硬解码显示区域参数(子结构) |
|
4056 |
public static class NET_DVR_DISPLAY_PARA extends HIKSDKStructure { |
|
4057 |
public int bToScreen; |
|
4058 |
public int bToVideoOut; |
|
4059 |
public int nLeft; |
|
4060 |
public int nTop; |
|
4061 |
public int nWidth; |
|
4062 |
public int nHeight; |
|
4063 |
public int nReserved; |
|
4064 |
} |
|
4065 |
|
|
4066 |
//硬解码预览参数 |
|
4067 |
public static class NET_DVR_CARDINFO extends HIKSDKStructure { |
|
4068 |
public int lChannel;//通道号 |
|
4069 |
public int lLinkMode; //最高位(31)为0表示主码流,为1表示子,0-30位表示码流连接方式:0:TCP方式,1:UDP方式,2:多播方式,3 - RTP方式,4-电话线,5-128k宽带,6-256k宽带,7-384k宽带,8-512k宽带; |
|
4070 |
public String sMultiCastIP; |
|
4071 |
public NET_DVR_DISPLAY_PARA struDisplayPara; |
|
4072 |
} |
|
4073 |
|
|
4074 |
//录象文件参数 |
|
4075 |
public static class NET_DVR_FIND_DATA extends HIKSDKStructure { |
|
4076 |
public byte[] sFileName = new byte[100];//文件名 |
|
4077 |
public NET_DVR_TIME struStartTime;//文件的开始时间 |
|
4078 |
public NET_DVR_TIME struStopTime;//文件的结束时间 |
|
4079 |
public int dwFileSize;//文件的大小 |
|
4080 |
} |
|
4081 |
|
|
4082 |
//录象文件参数(9000) |
|
4083 |
public static class NET_DVR_FINDDATA_V30 extends HIKSDKStructure { |
|
4084 |
public byte[] sFileName = new byte[100];//文件名 |
|
4085 |
public NET_DVR_TIME struStartTime;//文件的开始时间 |
|
4086 |
public NET_DVR_TIME struStopTime;//文件的结束时间 |
|
4087 |
public int dwFileSize;//文件的大小 |
|
4088 |
public byte[] sCardNum = new byte[32]; |
|
4089 |
public byte byLocked;//9000设备支持,1表示此文件已经被锁定,0表示正常的文件 |
|
4090 |
public byte[] byRes = new byte[3]; |
|
4091 |
} |
|
4092 |
|
|
4093 |
//录象文件参数(带卡号) |
|
4094 |
public static class NET_DVR_FINDDATA_CARD extends HIKSDKStructure { |
|
4095 |
public byte[] sFileName = new byte[100];//文件名 |
|
4096 |
public NET_DVR_TIME struStartTime;//文件的开始时间 |
|
4097 |
public NET_DVR_TIME struStopTime;//文件的结束时间 |
|
4098 |
public int dwFileSize;//文件的大小 |
|
4099 |
public byte[] sCardNum = new byte[32]; |
|
4100 |
} |
|
4101 |
|
|
4102 |
public static class NET_DVR_FILECOND_V40 extends HIKSDKStructure { |
|
4103 |
public int lChannel; |
|
4104 |
public int dwFileType; |
|
4105 |
public int dwIsLocked; |
|
4106 |
public int dwUseCardNo;//是否带ATM信息进行查询:0-不带ATM信息,1-按交易卡号查询,2-按交易类型查询,3-按交易金额查询,4-按卡号、交易类型及交易金额的组合查询 5-按课程名称查找,此时卡号表示课程名称 |
|
4107 |
public byte[] sCardNumber = new byte[CARDNUM_LEN_OUT]; |
|
4108 |
public NET_DVR_TIME struStartTime = new NET_DVR_TIME(); |
|
4109 |
public NET_DVR_TIME struStopTime = new NET_DVR_TIME(); |
|
4110 |
public byte byDrawFrame; //0:不抽帧,1:抽帧 |
|
4111 |
public byte byFindType; //0:查询普通卷,1:查询存档卷 |
|
4112 |
public byte byQuickSearch; //0:普通查询,1:快速(日历)查询 |
|
4113 |
public byte bySpecialFindInfoType; //专有查询条件类型 0-无效, 1-带ATM查询条件 |
|
4114 |
public int dwVolumeNum; //存档卷号 |
|
4115 |
public byte[] byWorkingDeviceGUID = new byte[GUID_LEN]; //工作机GUID,通过获取N+1得到 |
|
4116 |
public NET_DVR_SPECIAL_FINDINFO_UNION uSpecialFindInfo = new NET_DVR_SPECIAL_FINDINFO_UNION(); //专有查询条件 |
|
4117 |
public byte byStreamType; //0-同一个时间段只返回一种录像,优先级顺序为:主码流、子码流、三码流,1-子码流,2-三码流,3-主码流,254-双码流搜索(优先返回主码流录像,没有主码流录像时返回子码流录像) |
|
4118 |
public byte byAudioFile; //音频文件 0-非音频文件,1-音频文件 |
|
4119 |
public byte[] byRes2 = new byte[30]; //保留 |
|
4120 |
} |
|
4121 |
|
|
4122 |
public static class NET_DVR_SPECIAL_FINDINFO_UNION extends Union { |
|
4123 |
public byte[] byLenth = new byte[8]; |
|
4124 |
public NET_DVR_ATMFINDINFO struATMFindInfo = new NET_DVR_ATMFINDINFO(); //ATM查询 |
|
4125 |
} |
|
4126 |
|
|
4127 |
public static class NET_DVR_ATMFINDINFO extends HIKSDKStructure { |
|
4128 |
public byte byTransactionType; //交易类型 0-全部,1-查询, 2-取款, 3-存款, 4-修改密码,5-转账, 6-无卡查询 7-无卡存款, 8-吞钞 9-吞卡 10-自定义 |
|
4129 |
public byte[] byRes = new byte[3]; //保留 |
|
4130 |
public int dwTransationAmount; //交易金额 ; |
|
4131 |
} |
|
4132 |
|
|
4133 |
//录像文件查找条件结构V50 |
|
4134 |
public static class NET_DVR_FILECOND_V50 extends HIKSDKStructure { |
|
4135 |
public NET_DVR_STREAM_INFO struStreamID; //流ID或通道号 |
|
4136 |
public NET_DVR_TIME_SEARCH_COND struStartTime = new NET_DVR_TIME_SEARCH_COND(); //开始时间 |
|
4137 |
public NET_DVR_TIME_SEARCH_COND struStopTime = new NET_DVR_TIME_SEARCH_COND(); //结束时间 |
|
4138 |
public byte byFindType; //0-查询普通卷,1-查询存档卷 2-查询N+1录像文件 |
|
4139 |
public byte byDrawFrame; //是否抽帧 0-不抽帧 1-抽帧 |
|
4140 |
public byte byQuickSearch; //0-普通查询,1-快速(日历)查询 |
|
4141 |
public byte byStreamType; //0-主码流,1-子码流,2-3码流,0xff-全部 |
|
4142 |
public int dwFileType; // 文件类型 |
|
4143 |
public int dwVolumeNum; //存档卷号,byFindType为1时有效 |
|
4144 |
public byte byIsLocked; //是否锁定 0-正常文件,1-锁定文件, 0xff表示所有文件 |
|
4145 |
public byte byNeedCard; //是否需要查询卡,0-不需要 1-需要 |
|
4146 |
public byte byOnlyAudioFile; //音频文件 0-视频文件 1-音频文件 |
|
4147 |
public byte bySpecialFindInfoType; //0-无效, 1-带ATM查询条件 |
|
4148 |
public byte[] szCardNum = new byte[32]; //卡号,byNeedCard为1时有效 |
|
4149 |
public byte[] szWorkingDeviceGUID = new byte[16]; //工作机GUID,通过获取N+1得到,byFindType为2时有效 |
|
4150 |
public NET_DVR_SPECIAL_FINDINFO_UNION uSpecialFindInfo = new NET_DVR_SPECIAL_FINDINFO_UNION(); //专有查询条件联合体 |
|
4151 |
public int dwTimeout; //查找超时时间(指定NET_DVR_FindNextFile_V30/NET_DVR_FindNextFile_V40/NET_DVR_FindNextFile_V50接口的超时时间返回);单位:毫秒,不填写(默认为0时),接口行为跟以前一样 ;有效值:0, [5000 – 15000] |
|
4152 |
public byte[] byRes = new byte[252]; |
|
4153 |
} |
|
4154 |
|
|
4155 |
public static class NET_DVR_FINDDATA_V40 extends HIKSDKStructure { |
|
4156 |
public byte[] sFileName = new byte[100];//文件名 |
|
4157 |
public NET_DVR_TIME struStartTime = new NET_DVR_TIME();//文件的开始时间 |
|
4158 |
public NET_DVR_TIME struStopTime = new NET_DVR_TIME();//文件的结束时间 |
|
4159 |
public int dwFileSize;//文件的大小 |
|
4160 |
public byte[] sCardNum = new byte[32]; |
|
4161 |
public byte byLocked;//9000设备支持,1表示此文件已经被锁定,0表示正常的文件 |
|
4162 |
public byte byFileType; //文件类型:0-定时录像,1-移动侦测 ,2-报警触发, |
|
4163 |
//3-报警|移动侦测 4-报警&移动侦测 5-命令触发 6-手动录像,7-震动报警,8-环境报警,9-智能报警,10-PIR报警,11-无线报警,12-呼救报警,14-智能交通事件 |
|
4164 |
public byte byQuickSearch; //0:普通查询结果,1:快速(日历)查询结果 |
|
4165 |
public byte byRes; |
|
4166 |
public int dwFileIndex; //文件索引号 |
|
4167 |
public byte byStreamType; |
|
4168 |
public byte[] byRes1 = new byte[127]; |
|
4169 |
} |
|
4170 |
|
|
4171 |
public static class NET_DVR_TIME_SEARCH extends HIKSDKStructure { |
|
4172 |
public short wYear; //年,设备OSD时间 |
|
4173 |
public byte byMonth; //月,设备OSD时间 |
|
4174 |
public byte byDay; //日,设备OSD时间 |
|
4175 |
public byte byHour; //时,设备OSD时间 |
|
4176 |
public byte byMinute; //分,设备OSD时间 |
|
4177 |
public byte bySecond; //秒,设备OSD时间 |
|
4178 |
public byte cTimeDifferenceH; //与国际标准时间的时差(小时),-12 ... +14 |
|
4179 |
public byte cTimeDifferenceM; //与国际标准时间的时差(分钟),-30, 0, 30, 45 |
|
4180 |
public byte byLocalOrUTC; //0-时差无效,设备本地时间,即设备OSD时间 1-时差有效 |
|
4181 |
public short wMillisecond; //毫秒,精度不够,默认为0 |
|
4182 |
} |
|
4183 |
|
|
4184 |
public static class NET_DVR_ADDRESS extends HIKSDKStructure { |
|
4185 |
public NET_DVR_IPADDR struIP = new NET_DVR_IPADDR(); //IP地址 |
|
4186 |
public short wPort; //端口号 |
|
4187 |
public byte[] byRes = new byte[2]; |
|
4188 |
} |
|
4189 |
|
|
4190 |
public static class NET_DVR_FINDDATA_V50 extends HIKSDKStructure { |
|
4191 |
public byte[] sFileName = new byte[100]; |
|
4192 |
public NET_DVR_TIME_SEARCH struStartTime = new NET_DVR_TIME_SEARCH(); |
|
4193 |
public NET_DVR_TIME_SEARCH struStopTime = new NET_DVR_TIME_SEARCH(); |
|
4194 |
public NET_DVR_ADDRESS struAddr = new NET_DVR_ADDRESS(); //片段所在的地址信息,集群回放时用到 |
|
4195 |
public int dwFileSize; //文件大小 |
|
4196 |
public byte byLocked; //文件是否被锁定,1-文件已锁定;0-文件未锁定 |
|
4197 |
public byte byFileType; //文件类型,与V40相同 |
|
4198 |
public byte byQuickSearch; //0- 普通查询结果,1- 快速(日历)查询结果 |
|
4199 |
public byte byStreamType; //码流类型:0- 主码流,1- 子码流,2- 码流三 |
|
4200 |
public int dwFileIndex; //文件索引号 |
|
4201 |
public byte[] sCardNum = new byte[32]; //卡号 |
|
4202 |
public int dwTotalLenH; // 对于大文件搜索,时间段内数据总长度,高32字节 |
|
4203 |
public int dwTotalLenL; // 对于大文件搜索,时间段内数据总长度,低32字节 |
|
4204 |
public byte byBigFileType; // 0为普通片段搜索,1为大文件搜索 |
|
4205 |
public byte[] byRes = new byte[247]; |
|
4206 |
} |
|
4207 |
|
|
4208 |
public static class NET_DVR_FILECOND extends HIKSDKStructure //录象文件查找条件结构 |
|
4209 |
{ |
|
4210 |
public int lChannel;//通道号 |
|
4211 |
public int dwFileType;//录象文件类型0xff-全部,0-定时录像,1-移动侦测 ,2-报警触发,3-报警|移动侦测 4-报警&移动侦测 5-命令触发 6-手动录像 |
|
4212 |
public int dwIsLocked;//是否锁定 0-正常文件,1-锁定文件, 0xff表示所有文件 |
|
4213 |
public int dwUseCardNo;//是否使用卡号 |
|
4214 |
public byte[] sCardNumber = new byte[32];//卡号 |
|
4215 |
public NET_DVR_TIME struStartTime;//开始时间 |
|
4216 |
public NET_DVR_TIME struStopTime;//结束时间 |
|
4217 |
} |
|
4218 |
|
|
4219 |
public static class NET_DVR_PLAYCOND extends HIKSDKStructure //回放或者下载信息结构体 |
|
4220 |
{ |
|
4221 |
public int dwChannel;//通道号 |
|
4222 |
public NET_DVR_TIME struStartTime; |
|
4223 |
public NET_DVR_TIME struStopTime; |
|
4224 |
public byte byDrawFrame; //0:不抽帧,1:抽帧 |
|
4225 |
public byte byStreamType; //码流类型,0-主码流 1-子码流 2-码流三 |
|
4226 |
public byte[] byStreamID = new byte[STREAM_ID_LEN]; |
|
4227 |
public byte[] byRes = new byte[30];//保留 |
|
4228 |
} |
|
4229 |
|
|
4230 |
public static class NET_DVR_VOD_PARA extends HIKSDKStructure //回放或者下载信息结构体 |
|
4231 |
{ |
|
4232 |
public int dwSize; |
|
4233 |
public NET_DVR_STREAM_INFO struIDInfo; |
|
4234 |
public NET_DVR_TIME struBeginTime; |
|
4235 |
public NET_DVR_TIME struEndTime; |
|
4236 |
public HWND hWnd; |
|
4237 |
public byte byDrawFrame; //0:不抽帧,1:抽帧 |
|
4238 |
public byte byVolumeType; //0-普通录像卷 1-存档卷 |
|
4239 |
public byte byVolumeNum; //卷号,目前指存档卷号 |
|
4240 |
public byte byStreamType; //码流类型 0-主码流, 1-子码流,2-码流三 |
|
4241 |
public int dwFileIndex; //存档卷上的录像文件索引,搜索存档卷录像时返回的值 |
|
4242 |
public byte byAudioFile; //音频文件0-否,1-是 |
|
4243 |
public byte byCourseFile; //课程文件0-否,1-是 |
|
4244 |
public byte byDownload; //是否下载 0-否,1-是 |
|
4245 |
public byte byOptimalStreamType; //是否按最优码流类型回放 0-否,1-是(对于双码流设备,某一段时间内的录像文件与指定码流类型不同,则返回实际码流类型的录像) |
|
4246 |
public byte[] byRes2 = new byte[20]; |
|
4247 |
} |
|
4248 |
|
|
4249 |
//图片查找条件 |
|
4250 |
public static class NET_DVR_FIND_PICTURE_PARAM extends HIKSDKStructure { |
|
4251 |
public int dwSize; // 结构体大小 |
|
4252 |
public int lChannel; // 通道号 |
|
4253 |
public byte byFileType; //图片查找类型 |
|
4254 |
public byte byNeedCard; // 是否需要卡号 |
|
4255 |
/* |
|
4256 |
0-保留,1-澳,2-京,3-渝,4-闽,5-甘,6-粤,7-桂, |
|
4257 |
8-贵,9-琼,10-冀,11-豫,12-黑,13-鄂,14-湘, |
|
4258 |
15-吉,16-苏,17-赣,18-辽,19-蒙,20-宁,21-青, |
|
4259 |
22-鲁,23-晋,24-陕,25-沪,26-川,27-台,28-津, |
|
4260 |
29-藏,30-港,31-新,32-云,33-浙,34-皖,0xff-全部 |
|
4261 |
*/ |
|
4262 |
public byte byProvince; //省份索引值 |
|
4263 |
public byte byEventType; // 事件类型:0保留,1-交通事件;2-违章取证;3-其他事件 |
|
4264 |
public byte[] sCardNum = new byte[CARDNUM_LEN_V30]; // 卡号 |
|
4265 |
public NET_DVR_TIME struStartTime = new NET_DVR_TIME();//查找图片的开始时间 |
|
4266 |
public NET_DVR_TIME struStopTime = new NET_DVR_TIME();// 查找图片的结束时间 |
|
4267 |
//ITC3.7 新增 |
|
4268 |
public int dwTrafficType; //图片检索生效项 参考 VCA_OPERATE _TYPE |
|
4269 |
public int dwVehicleType; //车辆类型 参考 VCA_VEHICLE_TYPE |
|
4270 |
//违规检测类型参考 VCA_ILLEGAL_TYPE 当前不支持复选 |
|
4271 |
public int dwIllegalType; |
|
4272 |
public byte byLaneNo; //车道号(1~99) |
|
4273 |
public byte bySubHvtType;//0-保留,1-机动车(机动车子类型中支持车牌检索,省份检索),2-非机动车,3-行人 |
|
4274 |
public byte[] byRes2 = new byte[2]; |
|
4275 |
public byte[] sLicense = new byte[MAX_LICENSE_LEN/*16*/]; //车牌号码 |
|
4276 |
public byte byRegion; // 区域索引值 0-保留,1-欧洲(Europe Region),2-俄语区域(Russian Region),3-欧洲&俄罗斯(EU&CIS), 4-中东(Middle East),0xff-所有 |
|
4277 |
public byte byCountry; // 国家索引值,参照:COUNTRY_INDEX |
|
4278 |
public byte byArea; //地区 |
|
4279 |
public byte byISO8601; //是否是8601的时间格式,即时差字段是否有效0-时差无效,年月日时分秒为设备本地时间 1-时差有效 |
|
4280 |
public byte cStartTimeDifferenceH; //开始时间与UTC的时差(小时),-12 ... +14, 正数表示东时区 |
|
4281 |
public byte cStartTimeDifferenceM; //开始时间与UTC的时差(分钟),-30, 0, 30, 45,正数表示东时区 |
|
4282 |
public byte cStopTimeDifferenceH; //结束时间与UTC的时差(小时),-12 ... +14,正数表示东时区 |
|
4283 |
public byte cStopTimeDifferenceM; //结束时间与UTC的时差(分钟),-30, 0, 30, 45,正数表示东时区 |
|
4284 |
} |
|
4285 |
|
|
4286 |
public static class NET_DVR_FIND_PICTURE extends HIKSDKStructure { |
|
4287 |
public byte[] sFileName = new byte[PICTURE_NAME_LEN];//图片名 |
|
4288 |
public NET_DVR_TIME struTime;//图片的时间 |
|
4289 |
public int dwFileSize;//图片的大小 |
|
4290 |
public byte[] sCardNum = new byte[CARDNUM_LEN_V30]; //卡号 |
|
4291 |
public byte byPlateColor;//参考结构 VCA_PLATE_COLOR |
|
4292 |
public byte byVehicleLogo;//参考结构 VLR_VEHICLE_CLASS |
|
4293 |
public byte byEventSearchStatus; //连续图片表示同一查找结果的时候,0-表示后面没有图片信息,1-表示后面还有图片信息。总共图片信息包括最后一张状态为0的图片。 |
|
4294 |
public byte byRecogResult;//识别结果参考结构VTR_RESULT |
|
4295 |
public byte[] sLicense = new byte[MAX_LICENSE_LEN/*16*/]; //车牌号码 |
|
4296 |
public byte[] byRes = new byte[12]; |
|
4297 |
} |
|
4298 |
|
|
4299 |
|
|
4300 |
public class NET_DVR_FIND_PICTURE_V50 extends HIKSDKStructure { |
|
4301 |
public byte[] sFileName = new byte[PICTURE_NAME_LEN];//图片名 |
|
4302 |
public NET_DVR_TIME struTime = new NET_DVR_TIME();//图片的时间 |
|
4303 |
public int dwFileSize;//图片的大小 |
|
4304 |
public byte[] sCardNum = new byte[CARDNUM_LEN_V30]; //卡号 |
|
4305 |
public byte byPlateColor;//参考结构 VCA_PLATE_COLOR |
|
4306 |
public byte byVehicleLogo;//参考结构 VLR_VEHICLE_CLASS |
|
4307 |
public byte byFileType; //文件类型, :0定时抓图1 移动侦测抓图 2 报警抓图3 报警 | 移动侦测抓图 4 报警 & 移动侦测抓图 6 手动抓图 ,9-智能图片,10- PIR报警,11- 无线报警,12- 呼救报警, 0xa 预览时截图,0xd 人脸侦测, 0xe 越界侦测,0xf 入侵区域侦测,0x10 场景变更侦测, 0x11-设备本地回放时截图, 0x12-智能侦测 |
|
4308 |
public byte byRecogResult;//识别结果参考结构VTR_RESULT |
|
4309 |
public byte[] sLicense = new byte[MAX_LICENSE_LEN/*16*/]; //车牌号码 |
|
4310 |
public byte byEventSearchStatus; //连续图片表示同一查找结果的时候,0-表示后面没有图片信息,1-表示后面还有图片信息。总共图片信息包括最后一张状态为0的图片。 |
|
4311 |
public NET_DVR_ADDRESS struAddr; //图片所在的地址信息,图片下载时用到 |
|
4312 |
public byte[] byRes = new byte[256]; // 保留字节 |
|
4313 |
public NET_DVR_PIC_EXTRA_INFO_UNION uPicExtraInfo; //图片附件信息 |
|
4314 |
} |
|
4315 |
|
|
4316 |
|
|
4317 |
public class NET_DVR_PIC_PARAM extends HIKSDKStructure { |
|
4318 |
public Pointer pDVRFileName; |
|
4319 |
public Pointer pSavedFileBuf; |
|
4320 |
public int dwBufLen; |
|
4321 |
public IntByReference lpdwRetLen; |
|
4322 |
public NET_DVR_ADDRESS struAddr; |
|
4323 |
public byte[] byRes = new byte[256]; |
|
4324 |
} |
|
4325 |
|
|
4326 |
|
|
4327 |
//查找结果结构体 |
|
4328 |
public static class NET_DVR_FIND_PICTURE_V40 extends HIKSDKStructure { |
|
4329 |
public byte[] sFileName = new byte[PICTURE_NAME_LEN];//图片名 |
|
4330 |
public NET_DVR_TIME struTime = new NET_DVR_TIME();//图片的时间 |
|
4331 |
public int dwFileSize;//图片的大小 |
|
4332 |
public byte[] sCardNum = new byte[CARDNUM_LEN_V30]; //卡号 |
|
4333 |
public byte byPlateColor;//参考结构 VCA_PLATE_COLOR |
|
4334 |
public byte byVehicleLogo;//参考结构 VLR_VEHICLE_CLASS |
|
4335 |
public byte byFileType; //文件类型, :0定时抓图1 移动侦测抓图 2 报警抓图3 报警 | 移动侦测抓图 4 报警 & 移动侦测抓图 6 手动抓图 ,9-智能图片,10- PIR报警,11- 无线报警,12- 呼救报警, 0xa 预览时截图,0xd 人脸侦测, 0xe 越界侦测,0xf 入侵区域侦测,0x10 场景变更侦测, 0x11-设备本地回放时截图, 0x12-智能侦测, 0x32-防区报警, 0x33-紧急求助, 0x34-业务咨询 |
|
4336 |
public byte byRecogResult;//识别结果参考结构VTR_RESULT |
|
4337 |
public byte[] sLicense = new byte[MAX_LICENSE_LEN/*16*/]; //车牌号码 |
|
4338 |
public byte byEventSearchStatus; //连续图片表示同一查找结果的时候,0-表示后面没有图片信息,1-表示后面还有图片信息。总共图片信息包括最后一张状态为0的图片。 |
|
4339 |
public byte[] byRes = new byte[75]; // 保留字节 |
|
4340 |
public NET_DVR_PIC_EXTRA_INFO_UNION uPicExtraInfo; //图片附件信息 |
|
4341 |
} |
|
4342 |
|
|
4343 |
public static class NET_DVR_FACE_EXTRA_INFO extends Union { |
|
4344 |
public NET_VCA_RECT[] struVcaRect = new NET_VCA_RECT[MAX_FACE_PIC_NUM]; //人脸子图坐标信息 |
|
4345 |
public byte[] byRes = new byte[64]; |
|
4346 |
} |
|
4347 |
|
|
4348 |
//图片附件信息联合体 |
|
4349 |
public static class NET_DVR_PIC_EXTRA_INFO_UNION extends Union { |
|
4350 |
public byte[] byUnionLen = new byte[544]; //联合体长度,无实际意义 |
|
4351 |
public NET_DVR_FACE_EXTRA_INFO struFaceExtraInfo; //人脸侦测信息 |
|
4352 |
} |
|
4353 |
|
|
4354 |
public static class NET_DVR_PACKET_INFO_EX extends Union { |
|
4355 |
public short wWidth; //width |
|
4356 |
public short wHeight; //height |
|
4357 |
public int dwTimeStamp; //lower time stamp |
|
4358 |
public int dwTimeStampHigh;//higher time stamp |
|
4359 |
public int dwYear; //year |
|
4360 |
public int dwMonth; //month |
|
4361 |
public int dwDay; //day |
|
4362 |
public int dwHour; //hour |
|
4363 |
public int dwMinute; //minute |
|
4364 |
public int dwSecond; //second |
|
4365 |
public int dwMillisecond; //millisecond |
|
4366 |
public int dwFrameNum; //frame num |
|
4367 |
public int dwFrameRate; //frame rate,当帧率小于0时,0x80000002:表示1/2帧率,同理可推0x80000010为1/16帧率 |
|
4368 |
public int dwFlag; //flag E帧标记 |
|
4369 |
public int dwFilePos; //file pos |
|
4370 |
public int dwPacketType; //Packet type:0 -file head,1 -video I frame,2- video B frame, 3- video P frame, 10- audio packet, 11- private packet |
|
4371 |
public int dwPacketSize; //packet size |
|
4372 |
public Pointer pPacketBuffer; //packet buffer |
|
4373 |
public byte[] byRes1 = new byte[4]; |
|
4374 |
public int dwPacketMode; //打包方式:0-保留,1-FU_A打包方式 |
|
4375 |
public byte[] byRes2 = new byte[16]; |
|
4376 |
public int[] dwReserved = new int[6]; //reserved[0] 表示私有数据类型 |
|
4377 |
} |
|
4378 |
|
|
4379 |
//云台区域选择放大缩小(HIK 快球专用) |
|
4380 |
public static class NET_DVR_POINT_FRAME extends HIKSDKStructure { |
|
4381 |
public int xTop; //方框起始点的x坐标 |
|
4382 |
public int yTop; //方框结束点的y坐标 |
|
4383 |
public int xBottom; //方框结束点的x坐标 |
|
4384 |
public int yBottom; //方框结束点的y坐标 |
|
4385 |
public int bCounter; //保留 |
|
4386 |
} |
|
4387 |
|
|
4388 |
//语音对讲参数 |
|
4389 |
public static class NET_DVR_COMPRESSION_AUDIO extends HIKSDKStructure { |
|
4390 |
public byte byAudioEncType; //音频编码类型 0-G722; 1-G711 |
|
4391 |
public byte[] byres = new byte[7];//这里保留音频的压缩参数 |
|
4392 |
} |
|
4393 |
|
|
4394 |
public static class NET_DVR_AUDIODEC_INFO extends HIKSDKStructure { |
|
4395 |
public int nchans; /* 声道数 */ |
|
4396 |
public int sample_rate; /* 采样率 */ |
|
4397 |
public int aacdec_profile; /* 编码用的框架 */ |
|
4398 |
public int[] reserved = new int[16]; /* 保留 */ |
|
4399 |
} |
|
4400 |
|
|
4401 |
//音频解码 |
|
4402 |
public static class NET_DVR_AUDIODEC_PROCESS_PARAM extends HIKSDKStructure { |
|
4403 |
public Pointer in_buf; /* 输入数据buf */ |
|
4404 |
public Pointer out_buf; /* 输出数据buf */ |
|
4405 |
public int in_data_size; /* 输入in_buf内数据byte数 */ |
|
4406 |
public int proc_data_size; /* 输出解码库处理in_buf中数据大小bytes */ |
|
4407 |
public int out_frame_size; /* 解码一帧后数据BYTE数 */ |
|
4408 |
public NET_DVR_AUDIODEC_INFO dec_info = new NET_DVR_AUDIODEC_INFO(); /* 输出解码信息 */ |
|
4409 |
public int g726dec_reset; /* 重置开关 */ |
|
4410 |
public int g711_type; /* g711编码类型,0 - U law, 1- A law */ |
|
4411 |
public int[] reserved = new int[16]; /* 保留 */ |
|
4412 |
} |
|
4413 |
|
|
4414 |
public static class NET_DVR_AUDIOENC_INFO extends HIKSDKStructure { |
|
4415 |
public int in_frame_size; /* 输入一帧数据大小(BYTES),由GetInfoParam函数返回 */ |
|
4416 |
public int[] reserved = new int[16]; /* 保留 */ |
|
4417 |
} |
|
4418 |
|
|
4419 |
//音频编码 |
|
4420 |
public static class NET_DVR_AUDIOENC_PROCESS_PARAM extends HIKSDKStructure { |
|
4421 |
public Pointer in_buf; /* 输入buf */ |
|
4422 |
public Pointer out_buf; /* 输出buf */ |
|
4423 |
public int out_frame_size; /* 编码一帧后的BYTE数 */ |
|
4424 |
public int g726enc_reset; /* 重置开关 */ |
|
4425 |
public int g711_type; /* g711编码类型,0 - U law, 1- A law */ |
|
4426 |
public int enc_mode; /* 音频编码模式,AMR编码配置 */ |
|
4427 |
public int[] reserved = new int[16]; /* 保留 */ |
|
4428 |
} |
|
4429 |
|
|
4430 |
//用于接收报警信息的缓存区 |
|
4431 |
public static class RECV_ALARM extends HIKSDKStructure { |
|
4432 |
public byte[] RecvBuffer = new byte[4000];//此处的400应不小于最大报警报文长度 |
|
4433 |
} |
|
4434 |
|
|
4435 |
//布防参数 |
|
4436 |
public static class NET_DVR_SETUPALARM_PARAM extends HIKSDKStructure { |
|
4437 |
public int dwSize; |
|
4438 |
public byte byLevel; //布防优先级,0-一等级(高),1-二等级(中),2-三等级(低) |
|
4439 |
public byte byAlarmInfoType; //上传报警信息类型(抓拍机支持),0-老报警信息(NET_DVR_PLATE_RESULT),1-新报警信息(NET_ITS_PLATE_RESULT)2012-9-28 |
|
4440 |
public byte byRetAlarmTypeV40; //0--返回NET_DVR_ALARMINFO_V30或NET_DVR_ALARMINFO, 1--设备支持NET_DVR_ALARMINFO_V40则返回NET_DVR_ALARMINFO_V40,不支持则返回NET_DVR_ALARMINFO_V30或NET_DVR_ALARMINFO |
|
4441 |
public byte byRetDevInfoVersion; //CVR上传报警信息回调结构体版本号 0-COMM_ALARM_DEVICE, 1-COMM_ALARM_DEVICE_V40 |
|
4442 |
public byte byRetVQDAlarmType; //VQD报警上传类型,0-上传报报警NET_DVR_VQD_DIAGNOSE_INFO,1-上传报警NET_DVR_VQD_ALARM |
|
4443 |
public byte byFaceAlarmDetection; |
|
4444 |
public byte bySupport; |
|
4445 |
public byte byBrokenNetHttp; |
|
4446 |
public short wTaskNo; //任务处理号 和 (上传数据NET_DVR_VEHICLE_RECOG_RESULT中的字段dwTaskNo对应 同时 下发任务结构 NET_DVR_VEHICLE_RECOG_COND中的字段dwTaskNo对应) |
|
4447 |
public byte byDeployType; //布防类型:0-客户端布防,1-实时布防 |
|
4448 |
public byte[] byRes1 = new byte[3]; |
|
4449 |
public byte byAlarmTypeURL;//bit0-表示人脸抓拍报警上传(INTER_FACESNAP_RESULT);0-表示二进制传输,1-表示URL传输(设备支持的情况下,设备支持能力根据具体报警能力集判断,同时设备需要支持URL的相关服务,当前是”云存储“) |
|
4450 |
public byte byCustomCtrl;//Bit0- 表示支持副驾驶人脸子图上传: 0-不上传,1-上传,(注:只在公司内部8600/8200等平台开放) |
|
4451 |
|
|
4452 |
|
|
4453 |
} |
|
4454 |
|
|
4455 |
public static class NET_DVR_SETUPALARM_PARAM_V50 extends HIKSDKStructure { |
|
4456 |
public int dwSize; |
|
4457 |
public byte byLevel; //布防优先级,0-一等级(高),1-二等级(中),2-三等级(低) |
|
4458 |
public byte byAlarmInfoType; //上传报警信息类型(抓拍机支持),0-老报警信息(NET_DVR_PLATE_RESULT),1-新报警信息(NET_ITS_PLATE_RESULT)2012-9-28 |
|
4459 |
public byte byRetAlarmTypeV40; //0--返回NET_DVR_ALARMINFO_V30或NET_DVR_ALARMINFO, 1--设备支持NET_DVR_ALARMINFO_V40则返回NET_DVR_ALARMINFO_V40,不支持则返回NET_DVR_ALARMINFO_V30或NET_DVR_ALARMINFO |
|
4460 |
public byte byRetDevInfoVersion; //CVR上传报警信息回调结构体版本号 0-COMM_ALARM_DEVICE, 1-COMM_ALARM_DEVICE_V40 |
|
4461 |
public byte byRetVQDAlarmType; //VQD报警上传类型,0-上传报报警NET_DVR_VQD_DIAGNOSE_INFO,1-上传报警NET_DVR_VQD_ALARM |
|
4462 |
//1-表示人脸侦测报警扩展(INTER_FACE_DETECTION),0-表示原先支持结构(INTER_FACESNAP_RESULT) |
|
4463 |
public byte byFaceAlarmDetection; |
|
4464 |
//Bit0- 表示二级布防是否上传图片: 0-上传,1-不上传 |
|
4465 |
//Bit1- 表示开启数据上传确认机制;0-不开启,1-开启 |
|
4466 |
//Bit6- 表示雷达检测报警(eventType:radarDetection)是否开启实时上传;0-不开启,1-开启(用于web插件实时显示雷达目标轨迹) |
|
4467 |
public byte bySupport; |
|
4468 |
//断网续传类型 |
|
4469 |
//bit0-车牌检测(IPC) (0-不续传,1-续传) |
|
4470 |
//bit1-客流统计(IPC) (0-不续传,1-续传) |
|
4471 |
//bit2-热度图统计(IPC) (0-不续传,1-续传) |
|
4472 |
//bit3-人脸抓拍(IPC) (0-不续传,1-续传) |
|
4473 |
//bit4-人脸对比(IPC) (0-不续传,1-续传) |
|
4474 |
//bit5-JSON报警透传(IPC) (0-不续传,1-续传) |
|
4475 |
//bit6-热度图按人员停留时间统计数据上传事件(0-不续传,1-续传) |
|
4476 |
//bit7-热度图按人数统计数据上传事件的确认机制(0-不续传,1-续传) |
|
4477 |
public byte byBrokenNetHttp; |
|
4478 |
public short wTaskNo; //任务处理号 和 (上传数据NET_DVR_VEHICLE_RECOG_RESULT中的字段dwTaskNo对应 同时 下发任务结构 NET_DVR_VEHICLE_RECOG_COND中的字段dwTaskNo对应) |
|
4479 |
public byte byDeployType; //布防类型:0-客户端布防,1-实时布防 |
|
4480 |
public byte bySubScription; //订阅,按位表示,未开启订阅不上报 //占位 |
|
4481 |
//Bit7-移动侦测人车分类是否传图;0-不传图(V30上报),1-传图(V40上报) |
|
4482 |
public byte[] byRes1 = new byte[2]; |
|
4483 |
public byte byAlarmTypeURL;//bit0-表示人脸抓拍报警上传(INTER_FACESNAP_RESULT);0-表示二进制传输,1-表示URL传输(设备支持的情况下,设备支持能力根据具体报警能力集判断,同时设备需要支持URL的相关服务,当前是”云存储“) |
|
4484 |
//bit1-表示EVENT_JSON中图片数据长传类型;0-表示二进制传输,1-表示URL传输(设备支持的情况下,设备支持能力根据具体报警能力集判断) |
|
4485 |
//bit2 - 人脸比对(报警类型为COMM_SNAP_MATCH_ALARM)中图片数据上传类型:0 - 二进制传输,1 - URL传输 |
|
4486 |
//bit3 - 行为分析(报警类型为COMM_ALARM_RULE)中图片数据上传类型:0 - 二进制传输,1 - URL传输,本字段设备是否支持,对应软硬件能力集中<isSupportBehaviorUploadByCloudStorageURL>节点是否返回且为true |
|
4487 |
public byte byCustomCtrl;//Bit0- 表示支持副驾驶人脸子图上传: 0-不上传,1-上传 |
|
4488 |
public byte[] byRes4 = new byte[128]; |
|
4489 |
} |
|
4490 |
|
|
4491 |
|
|
4492 |
//区域框参数 |
|
4493 |
public static class NET_VCA_RECT extends HIKSDKStructure { |
|
4494 |
public float fX; |
|
4495 |
public float fY; |
|
4496 |
public float fWidth; |
|
4497 |
public float fHeight; |
|
4498 |
} |
|
4499 |
|
|
4500 |
//报警目标信息 |
|
4501 |
public static class NET_VCA_TARGET_INFO extends HIKSDKStructure { |
|
4502 |
public int dwID; |
|
4503 |
public NET_VCA_RECT struRect; |
|
4504 |
public byte[] byRes = new byte[4]; |
|
4505 |
} |
|
4506 |
|
|
4507 |
//前端设备信息 |
|
4508 |
public static class NET_VCA_DEV_INFO extends HIKSDKStructure { |
|
4509 |
public NET_DVR_IPADDR struDevIP; |
|
4510 |
public short wPort; |
|
4511 |
public byte byChannel; |
|
4512 |
public byte byIvmsChannel; |
|
4513 |
} |
|
4514 |
|
|
4515 |
//事件规则信息 |
|
4516 |
public static class NET_VCA_RULE_INFO extends HIKSDKStructure { |
|
4517 |
public byte byRuleID; |
|
4518 |
public byte byRes; |
|
4519 |
public short wEventTypeEx; |
|
4520 |
public byte[] byRuleName = new byte[NAME_LEN]; |
|
4521 |
public int dwEventType; |
|
4522 |
public NET_VCA_EVENT_UNION uEventParam; |
|
4523 |
|
|
4524 |
public void read() { |
|
4525 |
super.read(); |
|
4526 |
switch (wEventTypeEx) { |
|
4527 |
case 1: |
|
4528 |
uEventParam.setType(NET_VCA_TRAVERSE_PLANE.class); |
|
4529 |
break; |
|
4530 |
case 2: |
|
4531 |
case 3: |
|
4532 |
uEventParam.setType(NET_VCA_AREA.class); |
|
4533 |
break; |
|
4534 |
default: |
|
4535 |
break; |
|
4536 |
} |
|
4537 |
uEventParam.read(); |
|
4538 |
} |
|
4539 |
|
|
4540 |
public void write() { |
|
4541 |
super.write(); |
|
4542 |
uEventParam.write(); |
|
4543 |
} |
|
4544 |
|
|
4545 |
} |
|
4546 |
|
|
4547 |
//警戒规则参数联合体 |
|
4548 |
public static class NET_VCA_EVENT_UNION extends Union { |
|
4549 |
public int[] uLen = new int[23]; |
|
4550 |
public NET_VCA_TRAVERSE_PLANE struTraversePlane; |
|
4551 |
public NET_VCA_AREA struArea; |
|
4552 |
} |
|
4553 |
|
|
4554 |
//穿越警戒面参数 |
|
4555 |
public static class NET_VCA_TRAVERSE_PLANE extends HIKSDKStructure { |
|
4556 |
public NET_VCA_LINE struPlaneBottom; |
|
4557 |
public int dwCrossDirection; |
|
4558 |
public byte bySensitivity; |
|
4559 |
public byte byPlaneHeight; |
|
4560 |
public byte byDetectionTarget;/*检测目标:0- 所有目标,1- 人,2- 车 */ |
|
4561 |
public byte[] byRes2 = new byte[37]; |
|
4562 |
} |
|
4563 |
|
|
4564 |
public static class NET_DVR_HANDLEEXCEPTION_V40 extends HIKSDKStructure { |
|
4565 |
public int dwHandleType;/*处理方式,各种异常处理方式的"或"结果,异常处理方式: |
|
4566 |
0x00: 无响应 0x01: 监视器上警告 0x02: 声音警告 0x04: 上传中心 |
|
4567 |
0x08: 触发报警输出 0x10: Jpeg抓图并上传EMail |
|
4568 |
0x20: 无线声光报警器联动 0x40: 联动电子地图(目前仅PCNVR支持) |
|
4569 |
0x200:抓图并上传ftp 0x400: 虚焦侦测联动聚焦 |
|
4570 |
0x800: PTZ联动跟踪(球机跟踪目标) |
|
4571 |
E.g. dwHandleType==0x01|0x04 表示配置报警发生时联动监视器上警告并且将报警信息上传中心。 */ |
|
4572 |
public int dwMaxRelAlarmOutChanNum;/*设备最大支持的触发报警输出通道数(只读) */ |
|
4573 |
public int dwRelAlarmOutChanNum;/*已配置的触发的报警输出通道个数,决定dwRelAlarmOut取前多少个数组下标 */ |
|
4574 |
public int[] dwRelAlarmOut = new int[MAX_CHANNUM_V30];/*触发报警输出通道,取数组前dwRelAlarmOutChanNum个值, |
|
4575 |
其值表示报警输出通道号(从1开始),初始值是0xfffffffff(不关联通道)。 |
|
4576 |
例如,dwRelAlarmOutChanNum=5,则可以配置触发报警输出通道dwRelAlarmOut[0]~dwRelAlarmOut[4]。 */ |
|
4577 |
public byte[] byRes = new byte[64]; /*保留,置为0 */ |
|
4578 |
} |
|
4579 |
|
|
4580 |
public static final int MAX_ALERTLINE_NUM = 8; |
|
4581 |
|
|
4582 |
public static class NET_VCA_TRAVERSE_PLANE_DETECTION extends HIKSDKStructure { |
|
4583 |
public int dwSize; |
|
4584 |
public byte byEnable;//使能 |
|
4585 |
public byte byEnableDualVca;// 启用支持智能后检索 0-不启用,1-启用 |
|
4586 |
public byte[] byRes1 = new byte[2]; |
|
4587 |
public NET_VCA_TRAVERSE_PLANE[] struAlertParam = new NET_VCA_TRAVERSE_PLANE[MAX_ALERTLINE_NUM]; //警戒线参数 |
|
4588 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmSched = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS]; |
|
4589 |
public NET_DVR_HANDLEEXCEPTION_V40 struHandleException; //异常处理方式 |
|
4590 |
public int dwMaxRelRecordChanNum; //报警触发的录象通道 数(只读)最大支持数量 |
|
4591 |
public int dwRelRecordChanNum; //报警触发的录象通道 数 实际支持的数量 |
|
4592 |
public int[] byRelRecordChan = new int[MAX_CHANNUM_V30];//触发录像的通道号 |
|
4593 |
public NET_DVR_SCHEDTIME[] struHolidayTime = new NET_DVR_SCHEDTIME[MAX_TIMESEGMENT_V30]; //假日布防时间 |
|
4594 |
public byte[] byRes2 = new byte[100]; |
|
4595 |
} |
|
4596 |
|
|
4597 |
public static class NET_VCA_INTRUSION extends HIKSDKStructure { |
|
4598 |
public NET_VCA_POLYGON struRegion;//区域范围 |
|
4599 |
public short wDuration; //行为事件触发时间阈值: 1-120秒,建议5秒,判断是有效报警的时间 在ATM系统中触发文件阈值为 1-1000秒 |
|
4600 |
public byte bySensitivity; //灵敏度参数,范围[1-100] |
|
4601 |
public byte byRate; //占比:区域内所有未报警目标尺寸目标占区域面积的比重,归一化为-; |
|
4602 |
/* |
|
4603 |
检测目标,可支持多选,具体定义为: |
|
4604 |
0~所有目标(表示不锁定检测目标,所有目标都将进行检测) |
|
4605 |
0x01 ~ 人, |
|
4606 |
0x02 ~ 车, |
|
4607 |
0x04 ~ 其他 |
|
4608 |
*/ |
|
4609 |
public byte byDetectionTarget; |
|
4610 |
public byte byPriority;//优先级,0~低,1~中,2~高 |
|
4611 |
public byte[] byRes = new byte[2]; //保留 |
|
4612 |
} |
|
4613 |
|
|
4614 |
|
|
4615 |
//快速移动参数 |
|
4616 |
public static class NET_VCA_RUN extends HIKSDKStructure { |
|
4617 |
public NET_VCA_POLYGON struRegion;//区域范围 |
|
4618 |
public float fRunDistance; //人快速移动最大距离, 范围: [0.1, 1.00] 像素模式 实际模式(1,20)m/s |
|
4619 |
public byte bySensitivity; //灵敏度参数,范围[1,5] |
|
4620 |
public byte byMode; // 0 像素模式 1 实际模式 |
|
4621 |
/* |
|
4622 |
检测目标,可支持多选,具体定义为: |
|
4623 |
0~所有目标(表示不锁定检测目标,所有目标都将进行检测) |
|
4624 |
0x01 ~ 人, |
|
4625 |
0x02 ~ 车,, |
|
4626 |
0x04 ~ 其他, |
|
4627 |
该字段支持多选,按位取值,例如3表示1+2. |
|
4628 |
*/ |
|
4629 |
public byte byDetectionTarget; |
|
4630 |
public byte byRes; |
|
4631 |
} |
|
4632 |
|
|
4633 |
|
|
4634 |
//奔跑检测 |
|
4635 |
public static class NET_VCA_RUNNING extends HIKSDKStructure { |
|
4636 |
public NET_VCA_POLYGON struRegion; //区域范围 |
|
4637 |
public int dwSpeed; //奔跑速度,范围[1,10] |
|
4638 |
public short wDuration; // 触发报警时间阈值 |
|
4639 |
public byte byRunMode; //奔跑模式,0-保留,1:单人奔跑,2:多人奔跑 |
|
4640 |
public byte byRes; |
|
4641 |
} |
|
4642 |
|
|
4643 |
//倒地参数 |
|
4644 |
public static class NET_VCA_FALL_DOWN extends HIKSDKStructure { |
|
4645 |
public NET_VCA_POLYGON struRegion;//区域范围 |
|
4646 |
public short wDuration; /* 触发事件阈值 1-60s*/ |
|
4647 |
public short bySensitivity; /* 灵敏度参数,范围[1,5] */ |
|
4648 |
public short byHeightThreshold; //高度阈值,范围[0,250],默认90,单位:厘米 |
|
4649 |
public byte[] byRes = new byte[4]; |
|
4650 |
} |
|
4651 |
|
|
4652 |
public static final int MAX_INTRUSIONREGION_NUM = 8; //最大区域数数 |
|
4653 |
|
|
4654 |
public static class NET_VCA_FIELDDETECION extends HIKSDKStructure { |
|
4655 |
public int dwSize; |
|
4656 |
public byte byEnable; //使能,是否开启 |
|
4657 |
public byte byEnableDualVca;// 启用支持智能后检索 0-不启用,1-启用 |
|
4658 |
public byte byEnableHumanMisinfoFilter;// 启用人体去误报 0-不启用,1-启用 |
|
4659 |
public byte byEnableVehicleMisinfoFilter;// 启用车辆去误报 0-不启用,1-启用 |
|
4660 |
public NET_VCA_INTRUSION[] struIntrusion = new NET_VCA_INTRUSION[MAX_INTRUSIONREGION_NUM];//每个区域的参数设置 |
|
4661 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmSched = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS]; //布防时间 |
|
4662 |
public NET_DVR_HANDLEEXCEPTION_V40 struHandleException; //异常处理方式 |
|
4663 |
public int dwMaxRelRecordChanNum; //报警触发的录象通道 数(只读)最大支持数量 |
|
4664 |
public int dwRelRecordChanNum; //报警触发的录象通道 数 实际支持的数量 |
|
4665 |
public int[] byRelRecordChan = new int[MAX_CHANNUM_V30];//触发录像通道 |
|
4666 |
public NET_DVR_SCHEDTIME[] struHolidayTime = new NET_DVR_SCHEDTIME[MAX_TIMESEGMENT_V30]; //假日布防时间 |
|
4667 |
public byte[] byRes2 = new byte[100]; |
|
4668 |
} |
|
4669 |
|
|
4670 |
public static class NET_DVR_CHANNEL_GROUP extends HIKSDKStructure { |
|
4671 |
public int dwSize; |
|
4672 |
public int dwChannel; |
|
4673 |
public int dwGroup; |
|
4674 |
public byte byID; |
|
4675 |
public byte[] byRes1 = new byte[3]; |
|
4676 |
public int dwPositionNo; |
|
4677 |
public byte[] byRes = new byte[56]; |
|
4678 |
} |
|
4679 |
|
|
4680 |
//线结构参数 |
|
4681 |
public static class NET_VCA_LINE extends HIKSDKStructure { |
|
4682 |
public NET_VCA_POINT struStart; |
|
4683 |
public NET_VCA_POINT struEnd; |
|
4684 |
} |
|
4685 |
|
|
4686 |
//点坐标参数 |
|
4687 |
public static class NET_VCA_POINT extends HIKSDKStructure { |
|
4688 |
public float fX; |
|
4689 |
public float fY; |
|
4690 |
|
|
4691 |
|
|
4692 |
} |
|
4693 |
|
|
4694 |
//进入/离开区域参数 |
|
4695 |
public static class NET_VCA_AREA extends HIKSDKStructure { |
|
4696 |
public NET_VCA_POLYGON struRegion; |
|
4697 |
public byte[] byRes = new byte[8]; |
|
4698 |
} |
|
4699 |
|
|
4700 |
//多边形结构体 |
|
4701 |
public static class NET_VCA_POLYGON extends HIKSDKStructure { |
|
4702 |
public int dwPointNum; |
|
4703 |
public NET_VCA_POINT[] struPos = new NET_VCA_POINT[VCA_MAX_POLYGON_POINT_NUM]; |
|
4704 |
} |
|
4705 |
|
|
4706 |
public static class NET_VCA_SIZE_FILTER extends HIKSDKStructure { |
|
4707 |
public byte byActive; //是否激活尺寸过滤器 0-否 非0-是 |
|
4708 |
public byte byMode; //过滤器模式SIZE_FILTER_MODE |
|
4709 |
public byte[] byRes = new byte[2]; //保留,置0 |
|
4710 |
public NET_VCA_RECT struMiniRect; //最小目标框,全0表示不设置 |
|
4711 |
public NET_VCA_RECT struMaxRect; //最大目标框,全0表示不设置 |
|
4712 |
} |
|
4713 |
|
|
4714 |
|
|
4715 |
//尺寸过滤策略 |
|
4716 |
public static class NET_VCA_FILTER_STRATEGY extends HIKSDKStructure { |
|
4717 |
public byte byStrategy; //尺寸过滤策略 0 - 不启用 1-高度和宽度过滤,2-面积过滤 |
|
4718 |
public byte[] byRes = new byte[11]; //保留 |
|
4719 |
} |
|
4720 |
|
|
4721 |
//行为分析报警 |
|
4722 |
public static class NET_VCA_RULE_ALARM extends HIKSDKStructure { |
|
4723 |
public int dwSize; |
|
4724 |
public int dwRelativeTime; |
|
4725 |
public int dwAbsTime; |
|
4726 |
public NET_VCA_RULE_INFO struRuleInfo; |
|
4727 |
public NET_VCA_TARGET_INFO struTargetInfo; |
|
4728 |
public NET_VCA_DEV_INFO struDevInfo; |
|
4729 |
public int dwPicDataLen; |
|
4730 |
public byte byPicType; |
|
4731 |
public byte byRelAlarmPicNum; //关联通道报警图片数量 |
|
4732 |
public byte bySmart;//IDS设备返回0(默认值),Smart Functiom Return 1 |
|
4733 |
public byte byPicTransType; //图片数据传输方式: 0-二进制;1-url |
|
4734 |
public int dwAlarmID; //报警ID,用以标识通道间关联产生的组合报警,0表示无效 |
|
4735 |
public short wDevInfoIvmsChannelEx; //与NET_VCA_DEV_INFO里的byIvmsChannel含义相同,能表示更大的值。老客户端用byIvmsChannel能继续兼容,但是最大到255。新客户端版本请使用wDevInfoIvmsChannelEx。 |
|
4736 |
public byte byRelativeTimeFlag; //dwRelativeTime字段是否有效 0-无效, 1-有效,dwRelativeTime表示UTC时间 |
|
4737 |
public byte byAppendInfoUploadEnabled; //附加信息上传使能 0-不上传 1-上传 |
|
4738 |
public Pointer pAppendInfo; //指向附加信息NET_VCA_APPEND_INFO的指针,byAppendInfoUploadEnabled为1时或者byTimeDiffFlag为1时有效 |
|
4739 |
public Pointer pImage; |
|
4740 |
} |
|
4741 |
|
|
4742 |
public static class NET_DVR_SYSTEM_TIME extends HIKSDKStructure { |
|
4743 |
public short wYear; //年 |
|
4744 |
public short wMonth; //月 |
|
4745 |
public short wDay; //日 |
|
4746 |
public short wHour; //时 |
|
4747 |
public short wMinute; //分 |
|
4748 |
public short wSecond; //秒 |
|
4749 |
public short wMilliSec; //毫秒 |
|
4750 |
public byte[] byRes = new byte[2]; |
|
4751 |
} |
|
4752 |
|
|
4753 |
//设备支持AI开放平台接入,上传视频检测数据 |
|
4754 |
public static class NET_AIOP_VIDEO_HEAD extends HIKSDKStructure { |
|
4755 |
public int dwSize; //dwSize = sizeof(NET_AIOP_VIDEO_HEAD) |
|
4756 |
public int dwChannel; //设备分析通道的通道号; |
|
4757 |
public NET_DVR_SYSTEM_TIME struTime = new NET_DVR_SYSTEM_TIME(); //时间 |
|
4758 |
public byte[] szTaskID = new byte[64]; //视频任务ID,来自于视频任务派发 |
|
4759 |
public int dwAIOPDataSize; //对应AIOPDdata数据长度 |
|
4760 |
public int dwPictureSize; //对应分析图片长度 |
|
4761 |
public byte[] szMPID = new byte[64]; //检测模型包ID,用于匹配AIOP的检测数据解析;可以通过URI(GET /ISAPI/Intelligent/AIOpenPlatform/algorithmModel/management?format=json)获取当前设备加载的模型包的label description信息; |
|
4762 |
public Pointer pBufferAIOPData; //AIOPDdata数据 |
|
4763 |
public Pointer pBufferPicture;//对应分析图片数据 |
|
4764 |
public byte byPictureMode;//图片数据传输模式 0-二进制,1-武汉云云存储,当byPictureMode为0时pBufferPicture为二进制数据,当byPictureMode为1时pBufferPicture为武汉云URL |
|
4765 |
public byte[] byRes2 = new byte[3];//保留字节 |
|
4766 |
public int dwPresetIndex; //预置点序号 |
|
4767 |
public byte[] byRes = new byte[176]; |
|
4768 |
} |
|
4769 |
|
|
4770 |
//设备支持AI开放平台接入,上传图片检测数据 |
|
4771 |
public static class NET_AIOP_PICTURE_HEAD extends HIKSDKStructure { |
|
4772 |
public int dwSize; //dwSize = sizeof(NET_AIOP_PICTURE_HEAD) |
|
4773 |
public NET_DVR_SYSTEM_TIME struTime = new NET_DVR_SYSTEM_TIME(); //时间 |
|
4774 |
public byte[] szPID = new byte[64]; //透传下发的图片ID,来自于图片任务派发 |
|
4775 |
public int dwAIOPDataSize; //对应AIOPDdata数据长度 |
|
4776 |
public byte byStatus; //状态值:0-成功,1-图片大小错误 |
|
4777 |
public byte[] byRes1 = new byte[3]; |
|
4778 |
public byte[] szMPID = new byte[64]; //检测模型包ID,用于匹配AIOP的检测数据解析; |
|
4779 |
public Pointer pBufferAIOPData;//AIOPDdata数据 |
|
4780 |
public int dwPresetIndex; //预置点序号 |
|
4781 |
public byte[] byRes = new byte[180]; |
|
4782 |
} |
|
4783 |
|
|
4784 |
|
|
4785 |
public static class NET_DVR_AI_PICTUR_UPLOAD extends HIKSDKStructure { |
|
4786 |
public int dwSize; |
|
4787 |
public byte[] szTaskID = new byte[64]; //任务id,strlen.max = 64,业务平台统一维护管理 |
|
4788 |
public byte[] szPID = new byte[64]; //图片id,strlen.max = 64,业务平台统一维护管理 |
|
4789 |
public byte[] byRes = new byte[128]; |
|
4790 |
} |
|
4791 |
|
|
4792 |
// AI开放平台接入轮询视频检测报警结构体。 |
|
4793 |
public static class NET_AIOP_POLLING_SNAP_HEAD extends HIKSDKStructure { |
|
4794 |
public int dwSize; //dwSize = sizeof(NET_AIOP_POLLING_SNAP_HEAD) |
|
4795 |
public int dwChannel; //设备分析通道的通道号(走SDK协议); |
|
4796 |
public NET_DVR_SYSTEM_TIME struTime = new NET_DVR_SYSTEM_TIME(); //时间 |
|
4797 |
public byte[] szTaskID = new byte[64]; //轮询抓图任务ID,来自于轮询抓图任务派发 |
|
4798 |
public int dwAIOPDataSize; //对应AIOPDdata数据长度 |
|
4799 |
public int dwPictureSize; //对应分析图片长度 |
|
4800 |
public byte[] szMPID = new byte[64]; //检测模型包ID,用于匹配AIOP的检测数据解析; |
|
4801 |
public Pointer pBufferAIOPData;//AIOPDdata数据 |
|
4802 |
public Pointer pBufferPicture;//分析图片数据 |
|
4803 |
public byte byPictureMode;//图片数据传输模式 0-二进制,1-武汉云云存储,当byPictureMode为0时pBufferPicture为二进制数据,当byPictureMode为1时pBufferPicture为武汉云URL |
|
4804 |
public byte[] byRes2 = new byte[3];//保留字节 |
|
4805 |
public int dwPresetIndex; //预置点序号 |
|
4806 |
public byte[] byRes = new byte[176]; |
|
4807 |
} |
|
4808 |
|
|
4809 |
// AI开放平台接入轮询视频检测报警结构体。 |
|
4810 |
public static class NET_AIOP_POLLING_VIDEO_HEAD extends HIKSDKStructure { |
|
4811 |
public int dwSize; //dwSize = sizeof(NET_AIOP_POLLING_VIDEO_HEAD) |
|
4812 |
public int dwChannel; //设备分析通道的通道号(走SDK协议); |
|
4813 |
public NET_DVR_SYSTEM_TIME struTime; //时间 |
|
4814 |
public byte[] szTaskID = new byte[64]; //轮询抓图任务ID,来自于轮询抓图任务派发 |
|
4815 |
public int dwAIOPDataSize; //对应AIOPDdata数据长度 |
|
4816 |
public int dwPictureSize; //对应分析图片长度 |
|
4817 |
public byte[] szMPID = new byte[64]; //检测模型包ID,用于匹配AIOP的检测数据解析; |
|
4818 |
public Pointer pBufferAIOPData;//AIOPDdata数据 |
|
4819 |
public Pointer pBufferPicture;//对应分析图片数据 |
|
4820 |
public byte byPictureMode;//图片数据传输模式 0-二进制,1-武汉云云存储,当byPictureMode为0时pBufferPicture为二进制数据,当byPictureMode为1时pBufferPicture为武汉云URL |
|
4821 |
public byte[] byRes2 = new byte[3];//保留字节 |
|
4822 |
public int dwPresetIndex; //预置点序号 |
|
4823 |
public byte[] byRes = new byte[176]; |
|
4824 |
} |
|
4825 |
|
|
4826 |
//规则触发参数 |
|
4827 |
public static class NET_VCA_RULE_TRIGGER_PARAM extends HIKSDKStructure { |
|
4828 |
public byte byTriggerMode; //规则的触发方式,0- 不启用,1- 轨迹点 2- 目标面积 |
|
4829 |
public byte byTriggerPoint; //触发点,触发方式为轨迹点时有效 0- 中,1-上,2-下 |
|
4830 |
public byte[] byRes1 = new byte[2]; //保留 |
|
4831 |
public float fTriggerArea; //触发目标面积百分比 [0,100],触发方式为目标面积时有效 |
|
4832 |
public byte[] byRes2 = new byte[4]; //保留 |
|
4833 |
} |
|
4834 |
|
|
4835 |
public static class NET_VCA_ONE_RULE_V42 extends HIKSDKStructure { |
|
4836 |
public byte byActive; //是否激活规则, 0-否,非0-是 |
|
4837 |
public byte byEventPriority;//事件优先级 0-低,1-中,2-高 |
|
4838 |
public byte[] byRes1 = new byte[4]; //保留,设置为0字段 |
|
4839 |
public short wEventType; //行为事件类型,参考VCA_RULE_EVENT_TYPE_EX |
|
4840 |
public byte[] byRuleName = new byte[NAME_LEN/*32*/]; //规则名称 |
|
4841 |
public NET_VCA_EVENT_UNION uEventParam; //行为分析事件参数 |
|
4842 |
public NET_VCA_SIZE_FILTER struSizeFilter; //尺寸过滤器 |
|
4843 |
public NET_DVR_SCHEDTIMEWEEK[] struAlarmTime = new NET_DVR_SCHEDTIMEWEEK[MAX_DAYS];//布防时间 |
|
4844 |
public NET_DVR_HANDLEEXCEPTION_V40 struAlarmHandleType; /*处理方式*/ |
|
4845 |
//异常处理方式中报警输出号与组号绑定,即组号为0时,表示关联的报警输出号范围为1-64,当组号为1时,表示关联的报警输出号范围为65-128, 且是组内紧凑排列,如果遇到0xffffffff表示本组 当前的及组内后续的报警出号无效 |
|
4846 |
public int[] dwRelRecordChan = new int[MAX_CHANNUM_V30]; /* 报警触发的录象通道(四字节的通道号,初始值是 0xffffffff)*/ |
|
4847 |
//关联的录像通道号与组号绑定,即组号为0时,表示关联的通道号范围为1-64,当组号为1时,表示关联的通道号范围为65-128, 且是组内紧凑排列,如果遇到0xffffffff表示本组 当前的及组内后续的关联通道号无效 |
|
4848 |
public short wAlarmDelay; //智能报警延时,0-5s,1-10,2-30s,3-60s,4-120s,5-300s,6-600s |
|
4849 |
public byte[] byRes2 = new byte[2]; //保留 |
|
4850 |
public NET_VCA_FILTER_STRATEGY struFilterStrategy; //尺寸过滤策略 |
|
4851 |
public NET_VCA_RULE_TRIGGER_PARAM struTriggerParam; //规则触发参数 |
|
4852 |
public byte[] byRes = new byte[32]; |
|
4853 |
} |
|
4854 |
|
|
4855 |
public static class NET_DVR_PTZ_POSITION extends HIKSDKStructure { |
|
4856 |
// 是否启用场景,在设置场景行为规则的时候该字段无效,在设置球机本地配置场景位置信息时作为使能位 |
|
4857 |
public byte byEnable; |
|
4858 |
public byte[] byRes1 = new byte[3]; //保留 |
|
4859 |
public byte[] byPtzPositionName = new byte[NAME_LEN]; //场景位置名称 |
|
4860 |
public NET_DVR_PTZPOS struPtzPos; //ptz 坐标 |
|
4861 |
public byte[] byRes2 = new byte[40]; |
|
4862 |
} |
|
4863 |
|
|
4864 |
//行为分析配置结构体 |
|
4865 |
public static class NET_VCA_RULECFG_V42 extends HIKSDKStructure { |
|
4866 |
public int dwSize; //结构图大小 |
|
4867 |
public byte byPicProType; //报警时图片处理方式 0-不处理 1-上传 |
|
4868 |
public byte byUpLastAlarm; //是否先上传最近一次的报警,0-否,1-是 |
|
4869 |
public byte byPicRecordEnable; //是否启用图片存储, 0-不启用, 1-启用 |
|
4870 |
public byte byRes1; |
|
4871 |
public NET_DVR_JPEGPARA struPicParam; //图片规格结构 |
|
4872 |
public NET_VCA_ONE_RULE_V42[] struRule = new NET_VCA_ONE_RULE_V42[16]; /* 规则数组*/ |
|
4873 |
public short[] wRelSnapChan = new short[3]; //关联抓图通道,当主通道报警时,同时会上传关联通道的抓拍图片,0表示不关联,其他值为关联通道号 |
|
4874 |
public byte byTrackEnable; //是否启用跟踪 |
|
4875 |
public byte byRes2; |
|
4876 |
public NET_DVR_PTZ_POSITION struPTZPosition; //场景位置信息 |
|
4877 |
public short wTrackDuration; //跟踪持续时间,单位s |
|
4878 |
public short wIntervalTime; //单次报警间隔时间(秒)[1-7200](默认为600) |
|
4879 |
public short wHeightLimit;//目标检测高度下限(厘米)[0-250](默认为80cm),小于此高度的目标将不作为目标进行检测 |
|
4880 |
public byte[] byRes = new byte[58];//保留 |
|
4881 |
} |
|
4882 |
|
|
4883 |
public static final int CID_CODE_LEN = 4; |
|
4884 |
public static final int DEV_SERIAL_LEN = 9; |
|
4885 |
public static final int ACCOUNTNUM_LEN = 6; |
|
4886 |
public static final int ACCOUNTNUM_LEN_32 = 32; |
|
4887 |
|
|
4888 |
public static class NET_DVR_CID_ALARM extends HIKSDKStructure { |
|
4889 |
public int dwSize; |
|
4890 |
public byte[] sCIDCode = new byte[CID_CODE_LEN/*4*/]; //CID事件号 |
|
4891 |
public byte[] sCIDDescribe = new byte[NAME_LEN/*32*/]; //CID事件名 |
|
4892 |
public NET_DVR_TIME_EX struTriggerTime = new NET_DVR_TIME_EX(); //触发报警的时间点 |
|
4893 |
public NET_DVR_TIME_EX struUploadTime = new NET_DVR_TIME_EX(); //上传报警的时间点 |
|
4894 |
public byte[] sCenterAccount = new byte[ACCOUNTNUM_LEN/*6*/]; //中心帐号 |
|
4895 |
public byte byReportType; //见定义NET_DVR_ALARMHOST_REPORT_TYPE |
|
4896 |
public byte byUserType; //用户类型,0-网络用户 1-键盘用户,2-手机用户,3-系统用户 |
|
4897 |
public byte[] sUserName = new byte[NAME_LEN/*32*/]; //网络用户用户名 |
|
4898 |
public short wKeyUserNo; //键盘用户号 0xFFFF表示无效 |
|
4899 |
public byte byKeypadNo; //键盘号 0xFF表示无效 |
|
4900 |
public byte bySubSysNo; //子系统号 0xFF表示无效 |
|
4901 |
public short wDefenceNo; //防区号 0xFFFF表示无效 |
|
4902 |
public byte byVideoChanNo; //视频通道号 0xFF表示无效 |
|
4903 |
public byte byDiskNo; //硬盘号 0xFF表示无效 |
|
4904 |
public short wModuleAddr; //模块地址 0xFFFF表示无效 |
|
4905 |
public byte byCenterType; //0-无效, 1-中心账号(长度6),2-扩展的中心账号(长度9) |
|
4906 |
public byte byRes1; |
|
4907 |
public byte[] sCenterAccountV40 = new byte[ACCOUNTNUM_LEN_32/*32*/]; //中心账号V40,使用此字段时sCenterAccount无效 |
|
4908 |
public byte[] byDevSerialNo = new byte[DEV_SERIAL_LEN]; /*产品序列号*/ |
|
4909 |
public byte byRepeaterNo; //中继器号,为0无效 |
|
4910 |
public short wRemoteCtrllerUserNo; //遥控器用户号,为0无效 |
|
4911 |
public int dwIOTChannelNo; //IOT通道号 |
|
4912 |
public byte[] byRes2 = new byte[12]; |
|
4913 |
} |
|
4914 |
|
|
4915 |
public static class NET_DVR_SENSOR_ALARM extends HIKSDKStructure { |
|
4916 |
public int dwSize; // 结构体大小 |
|
4917 |
public int dwAbsTime; // 绝对时标信息 OSD显示信息 |
|
4918 |
public byte[] byName = new byte[NAME_LEN]; // sensor 名称 |
|
4919 |
public byte bySensorChannel; // 模拟量通道 |
|
4920 |
public byte byType; // 模拟量类型 |
|
4921 |
public byte byAlarmType; // 1-上4、2-上3、3-上2、4-上1、5-下1、6-下2、7-下3、8-下4 和当前模式有关 |
|
4922 |
// 例如当为1000时,有上1下1,2,3报警四种报警 |
|
4923 |
public byte byAlarmMode; //报警模式,五种,-HHHH、-HHHL、-HHLL、HLLL、-LLLL, 作为平台报警程度判断功能,即:1111(上上上上),1110(上上上下),1100(上上下下),1000(上下下下),0000(下下下下) |
|
4924 |
public float fValue; // 但前模拟量的值 |
|
4925 |
public float fOriginalValue; //原始电流电压值,保留小数点后三位,具体值表示电流还是电压根据NET_DVR_SENSOR_INFO的bySensorStandard类型 |
|
4926 |
public byte[] byRes2 = new byte[28]; // 保留字节 |
|
4927 |
} |
|
4928 |
|
|
4929 |
//开关量报警上传 |
|
4930 |
public static class NET_DVR_SWITCH_ALARM extends HIKSDKStructure { |
|
4931 |
public int dwSize; |
|
4932 |
public byte[] byName = new byte[NAME_LEN]; // switch 名称 |
|
4933 |
public short wSwitchChannel; // 开关量通道, 0-255 |
|
4934 |
public byte byAlarmType; // 报警类型 0--正常,1--短路,2--断路,3-异常 |
|
4935 |
public byte[] byRes = new byte[41]; // 保留字节 |
|
4936 |
} |
|
4937 |
|
|
4938 |
public static class NET_DVR_ALARMHOST_EXCEPTION_ALARM extends HIKSDKStructure { |
|
4939 |
public int dwSize; // 结构体大小 |
|
4940 |
// 异常参数 1-设备防拆报警 2-设备防拆后后恢复正常 3-主电源掉电报警 4-主电源掉电后恢复正常 5-内部通信故障报警 |
|
4941 |
// 6-内部通信故障后恢复正常 7-电话线断线 8-电话线断线恢复 9-自检失败报警 10-自检失败后恢复正常 |
|
4942 |
// 11蓄电池欠压 12蓄电池电压恢复正常,13-蓄电池故障;14-MBUS模块掉线;15-MBUS模块掉线恢复;16-键盘掉线; |
|
4943 |
//17-键盘掉线恢复;18-设备被移动;19-设备被移动复位 20-485外设线路断报警 21-485外设线路断后恢复正常 |
|
4944 |
//25-子板1插上,26-子板1拔出, 27-子板2插上,28-子板2拔出 |
|
4945 |
public int dwExceptionType; |
|
4946 |
public byte[] byRes = new byte[36]; // 保留 |
|
4947 |
} |
|
4948 |
|
|
4949 |
|
|
4950 |
public static class NET_DVR_ALARMHOST_POINT_VALUE extends HIKSDKStructure { |
|
4951 |
public byte byChanType; //接入类型,1-本地模拟量通道,2-本地开关量通道,3-485通道,4-网络通道 |
|
4952 |
public byte byPointType; //点类型,1-遥测(模拟量),2-遥信(开关量) |
|
4953 |
public byte[] byRes1 = new byte[2]; //保留 |
|
4954 |
public int dwChanNo; //485通道号,0xffffffff表示无效,通道类型为1时:表示本地模拟量通道号,通道类型为2时表示本地开关量通道号,通道类型为3时表示485通道号。 |
|
4955 |
public int dwSubChanNo; //槽位号, 0xffffffff表示无效,通道类型为3时使用 |
|
4956 |
public int dwVariableNo; //变量编号,0xffffffff表示无效 |
|
4957 |
public int dwPointNo; //104点号,0xffffffff表示无效 |
|
4958 |
public int iValue; //监测点的值,表示低32位 |
|
4959 |
public int iValueEx; //监测点的值,表示高32位 |
|
4960 |
public byte[] byRes = new byte[12]; |
|
4961 |
} |
|
4962 |
|
|
4963 |
public static class NET_DVR_ALARMHOST_DATA_UNION extends HIKSDKStructure { |
|
4964 |
public byte[] byLength = new byte[40]; |
|
4965 |
public NET_DVR_ALARMHOST_POINT_VALUE struPointValue; //监测点实时数据 |
|
4966 |
} |
|
4967 |
|
|
4968 |
public static class NET_DVR_ALARMHOST_DATA_UPLOAD extends HIKSDKStructure { |
|
4969 |
public int dwSize; |
|
4970 |
public byte byDataType; //数据类型,1-监测点实时数据上传 |
|
4971 |
public byte[] byRes1 = new byte[3]; |
|
4972 |
public NET_DVR_ALARMHOST_DATA_UNION struAlarmData; |
|
4973 |
public byte[] byRes2 = new byte[32]; |
|
4974 |
} |
|
4975 |
|
|
4976 |
//车牌识别结果子结构 |
|
4977 |
public static class NET_DVR_PLATE_INFO extends HIKSDKStructure { |
|
4978 |
public byte byPlateType; //车牌类型 |
|
4979 |
public byte byColor; //车牌颜色 |
|
4980 |
public byte byBright; //车牌亮度 |
|
4981 |
public byte byLicenseLen; //车牌字符个数 |
|
4982 |
public byte byEntireBelieve; //整个车牌的置信度,-100 |
|
4983 |
public byte byRegion; // 区域索引值 0-保留,1-欧洲(EU),2-俄语区域(ER),3-欧洲&俄罗斯(EU&CIS) ,4-中东(ME),0xff-所有 |
|
4984 |
public byte byCountry; // 国家索引值,参照枚举COUNTRY_INDEX(不支持"COUNTRY_ALL = 0xff, //ALL 全部") |
|
4985 |
public byte byArea; //区域(省份),各国家内部区域枚举,阿联酋参照 EMI_AREA |
|
4986 |
public byte byPlateSize; //车牌尺寸,0~未知,1~long, 2~short(中东车牌使用) |
|
4987 |
public byte byAddInfoFlag; |
|
4988 |
public short wCRIndex;//国家/地区索引,索引值参考_CR_ INDEX_ |
|
4989 |
public byte[] byRes = new byte[12]; //保留 |
|
4990 |
public byte[] sPlateCategory = new byte[8];//车牌附加信息, 即中东车牌中车牌号码旁边的小字信息,(目前只有中东地区支持) |
|
4991 |
public int dwXmlLen; //XML报警信息长度 |
|
4992 |
public Pointer pXmlBuf; // XML报警信息指针,报警类型为 COMM_ITS_PLATE_RESUL时有效,其XML对应到EventNotificationAlert XML Block |
|
4993 |
public NET_VCA_RECT struPlateRect = new NET_VCA_RECT(); //车牌位置 |
|
4994 |
public byte[] sLicense = new byte[MAX_LICENSE_LEN]; //车牌号码,注:中东车牌需求把小字也纳入车牌号码,小字和车牌号中间用空格分隔 |
|
4995 |
public byte[] byBelieve = new byte[MAX_LICENSE_LEN]; //各个识别字符的置信度,如检测到车牌"浙A12345", 置信度为,20,30,40,50,60,70,则表示"浙"字正确的可能性只有%,"A"字的正确的可能性是% |
|
4996 |
} |
|
4997 |
|
|
4998 |
public static class NET_DVR_VEHICLE_INFO extends HIKSDKStructure { |
|
4999 |
public int dwIndex; //车辆序号 |
|
5000 |
public byte byVehicleType; //车辆类型 0 表示其它车型,1 表示小型车,2 表示大型车 ,3表示行人触发 ,4表示二轮车触发 5表示三轮车触发(3.5Ver) |
|
5001 |
public byte byColorDepth; //车身颜色深浅 |
|
5002 |
public byte byColor; //车身颜色,参考VCR_CLR_CLASS |
|
5003 |
/*雷达异常状态: |
|
5004 |
0~雷达正常, |
|
5005 |
1~雷达故障 |
|
5006 |
2~雷达一直发送某一个相同速度值 |
|
5007 |
3~雷达送出数据为0 |
|
5008 |
4~雷达送出数据过大或者过小 |
|
5009 |
*/ |
|
5010 |
public byte byRadarState; |
|
5011 |
public short wSpeed; //单位km/h |
|
5012 |
public short wLength; //前一辆车的车身长度 |
|
5013 |
/*违规类型,0-正常,1-低速,2-超速,3-逆行,4-闯红灯,5-压车道线,6-不按导向,7-路口滞留, |
|
5014 |
8-机占非,9-违法变道,10-不按车道 11-违反禁令,12-路口停车,13-绿灯停车, 14-未礼让行人(违法代码1357), |
|
5015 |
15-违章停车,16-违章掉头,17-占用应急车道,18-禁右,19-禁左,20-压黄线,21-未系安全带,22-行人闯红灯,23-加塞,24-违法使用远光灯, |
|
5016 |
25-驾驶时拨打接听手持电话,26-左转不让直行,27-右转不让左转,28-掉头不让直行,29-大弯小转, 30-闯绿灯,31-未带头盔, |
|
5017 |
32-非机动车载人,33-非机动车占用机动车道,34-非机动车打伞棚, 35-黑烟车, 36-鸣笛*/ |
|
5018 |
public byte byIllegalType; |
|
5019 |
public byte byVehicleLogoRecog; //参考枚举类型 VLR_VEHICLE_CLASS |
|
5020 |
public byte byVehicleSubLogoRecog; //车辆品牌子类型识别;参考VSB_VOLKSWAGEN_CLASS等子类型枚举。 |
|
5021 |
public byte byVehicleModel; //车辆子品牌年款,0-未知,参考"车辆子品牌年款.xlsx" |
|
5022 |
public byte[] byCustomInfo = new byte[16]; //自定义信息 |
|
5023 |
public short wVehicleLogoRecog; //车辆主品牌,参考"车辆主品牌.xlsx" (该字段兼容byVehicleLogoRecog); |
|
5024 |
public byte byIsParking;//是否停车 0-无效,1-停车,2-未停车 |
|
5025 |
public byte byRes;//保留字节 |
|
5026 |
public int dwParkingTime; //停车时间,单位:s |
|
5027 |
public byte[] byRes3 = new byte[8]; |
|
5028 |
} |
|
5029 |
|
|
5030 |
//手动抓拍 |
|
5031 |
public static class NET_DVR_MANUALSNAP extends HIKSDKStructure { |
|
5032 |
public byte byOSDEnable;//0-不关闭(默认),1-关闭 |
|
5033 |
public byte byLaneNo;//车道号, 范围为1-6,默认为1(抓拍机内部测试使用) |
|
5034 |
public byte byChannel;//通道号 |
|
5035 |
public byte[] byRes = new byte[21]; //保留 |
|
5036 |
} |
|
5037 |
|
|
5038 |
//交通抓拍结果信息 |
|
5039 |
public static class NET_DVR_PLATE_RESULT extends HIKSDKStructure { |
|
5040 |
public int dwSize; |
|
5041 |
public byte byResultType; |
|
5042 |
public byte byChanIndex; |
|
5043 |
public short wAlarmRecordID; |
|
5044 |
public int dwRelativeTime; |
|
5045 |
public byte[] byAbsTime = new byte[32]; |
|
5046 |
public int dwPicLen; |
|
5047 |
public int dwPicPlateLen; |
|
5048 |
public int dwVideoLen; |
|
5049 |
public byte byTrafficLight; |
|
5050 |
public byte byPicNum; |
|
5051 |
public byte byDriveChan; |
|
5052 |
public byte byVehicleType; |
|
5053 |
public int dwBinPicLen; |
|
5054 |
public int dwCarPicLen; |
|
5055 |
public int dwFarCarPicLen; |
|
5056 |
public Pointer pBuffer3; |
|
5057 |
public Pointer pBuffer4; |
|
5058 |
public Pointer pBuffer5; |
|
5059 |
public byte[] byRes3 = new byte[8]; |
|
5060 |
public NET_DVR_PLATE_INFO struPlateInfo; |
|
5061 |
public NET_DVR_VEHICLE_INFO struVehicleInfo; |
|
5062 |
public Pointer pBuffer1; |
|
5063 |
public Pointer pBuffer2; |
|
5064 |
} |
|
5065 |
|
|
5066 |
public static class NET_DVR_TIME_V30 extends HIKSDKStructure { |
|
5067 |
public short wYear; |
|
5068 |
public byte byMonth; |
|
5069 |
public byte byDay; |
|
5070 |
public byte byHour; |
|
5071 |
public byte byMinute; |
|
5072 |
public byte bySecond; |
|
5073 |
public byte byRes; |
|
5074 |
public short wMilliSec; |
|
5075 |
public byte[] byRes1 = new byte[2]; |
|
5076 |
|
|
5077 |
|
|
5078 |
} |
|
5079 |
|
|
5080 |
public static class NET_ITS_PICTURE_INFO extends HIKSDKStructure { |
|
5081 |
public int dwDataLen; |
|
5082 |
public byte byType; |
|
5083 |
public byte byDataType; |
|
5084 |
public byte byCloseUpType; |
|
5085 |
public byte byPicRecogMode; |
|
5086 |
public int dwRedLightTime; |
|
5087 |
public byte[] byAbsTime = new byte[32]; |
|
5088 |
public NET_VCA_RECT struPlateRect = new NET_VCA_RECT(); |
|
5089 |
public NET_VCA_RECT struPlateRecgRect = new NET_VCA_RECT(); |
|
5090 |
public Pointer pBuffer; |
|
5091 |
public int dwUTCTime;//UTC时间 |
|
5092 |
public byte byCompatibleAblity;//兼容能力字段,按位表示,值:0- 无效,1- 有效 |
|
5093 |
public byte byTimeDiffFlag; /*时差字段是否有效 0-时差无效, 1-时差有效 */ |
|
5094 |
public byte cTimeDifferenceH; /*与UTC的时差(小时),-12 ... +14, +表示东区,,byTimeDiffFlag为1时有效*/ |
|
5095 |
public byte cTimeDifferenceM; /*与UTC的时差(分钟),-30, 30, 45, +表示东区,byTimeDiffFlag为1时有效*/ |
|
5096 |
public byte[] byRes2 = new byte[4]; |
|
5097 |
} |
|
5098 |
|
|
5099 |
public static class NET_ITS_PLATE_RESULT extends HIKSDKStructure { |
|
5100 |
public int dwSize; |
|
5101 |
public int dwMatchNo; |
|
5102 |
public byte byGroupNum; |
|
5103 |
public byte byPicNo; |
|
5104 |
public byte bySecondCam; |
|
5105 |
public byte byFeaturePicNo; |
|
5106 |
public byte byDriveChan; |
|
5107 |
public byte byVehicleType; |
|
5108 |
public byte byDetSceneID; |
|
5109 |
public byte byVehicleAttribute; |
|
5110 |
public short wIllegalType; |
|
5111 |
public byte[] byIllegalSubType = new byte[8]; |
|
5112 |
public byte byPostPicNo; |
|
5113 |
public byte byChanIndex; |
|
5114 |
public short wSpeedLimit; |
|
5115 |
public byte byChanIndexEx; //byChanIndexEx*256+byChanIndex表示真实通道号。 |
|
5116 |
public byte byRes2; |
|
5117 |
public NET_DVR_PLATE_INFO struPlateInfo = new NET_DVR_PLATE_INFO(); |
|
5118 |
public NET_DVR_VEHICLE_INFO struVehicleInfo = new NET_DVR_VEHICLE_INFO(); |
|
5119 |
public byte[] byMonitoringSiteID = new byte[48]; |
|
5120 |
public byte[] byDeviceID = new byte[48]; |
|
5121 |
public byte byDir; |
|
5122 |
public byte byDetectType; |
|
5123 |
public byte byRelaLaneDirectionType; |
|
5124 |
public byte byCarDirectionType; |
|
5125 |
public int dwCustomIllegalType; |
|
5126 |
public Pointer pIllegalInfoBuf; |
|
5127 |
public byte byIllegalFromatType; |
|
5128 |
public byte byPendant; |
|
5129 |
public byte byDataAnalysis; |
|
5130 |
public byte byYellowLabelCar; |
|
5131 |
public byte byDangerousVehicles; |
|
5132 |
public byte byPilotSafebelt; |
|
5133 |
public byte byCopilotSafebelt; |
|
5134 |
public byte byPilotSunVisor; |
|
5135 |
public byte byCopilotSunVisor; |
|
5136 |
public byte byPilotCall; |
|
5137 |
public byte byBarrierGateCtrlType; |
|
5138 |
public byte byAlarmDataType; |
|
5139 |
public NET_DVR_TIME_V30 struSnapFirstPicTime = new NET_DVR_TIME_V30(); |
|
5140 |
public int dwIllegalTime; |
|
5141 |
public int dwPicNum; |
|
5142 |
public NET_ITS_PICTURE_INFO[] struPicInfo = new NET_ITS_PICTURE_INFO[6]; |
|
5143 |
} |
|
5144 |
|
|
5145 |
public int MAX_PARKNO_LEN = 16; //车位编号长度 |
|
5146 |
public int MAX_ID_LEN = 48; //编号最大长度 |
|
5147 |
|
|
5148 |
//停车场数据上传 |
|
5149 |
public static class NET_ITS_PARK_VEHICLE extends HIKSDKStructure { |
|
5150 |
public int dwSize; //结构长度 |
|
5151 |
public byte byGroupNum; //图片组数量(单次轮询抓拍的图片数量) |
|
5152 |
public byte byPicNo; //连拍的图片组上传图片序号(接收到图片组数量后,表示接收完成 |
|
5153 |
//接收超时不足图片组数量时,根据需要保留或删除) |
|
5154 |
public byte byLocationNum; //单张图片所管理的车位数 |
|
5155 |
public byte byParkError; //停车异常,0-正常 1 异常 |
|
5156 |
public byte[] byParkingNo = new byte[MAX_PARKNO_LEN];//车位编号 |
|
5157 |
public byte byLocationStatus; //车位车辆状态,0-无车,1有车 |
|
5158 |
public byte bylogicalLaneNum;//逻辑车位号,0-3,一个相机最大能管4个车位 (0代表最左边,3代表最右边) |
|
5159 |
public short wUpLoadType;//第零位表示:0~轮训上传、1~变化上传 |
|
5160 |
public byte[] byRes1 = new byte[4]; //保留字节 |
|
5161 |
public int dwChanIndex; //通道号数字通道 |
|
5162 |
public NET_DVR_PLATE_INFO struPlateInfo; //车牌信息结构 |
|
5163 |
public NET_DVR_VEHICLE_INFO struVehicleInfo; //车辆信息 |
|
5164 |
public byte[] byMonitoringSiteID = new byte[MAX_ID_LEN]; //监测点编号 |
|
5165 |
public byte[] byDeviceID = new byte[MAX_ID_LEN]; //设备编号 |
|
5166 |
public int dwPicNum; //图片数量(与picGroupNum不同,代表本条信息附带的图片数量,图片信息由struVehicleInfoEx定义 |
|
5167 |
public NET_ITS_PICTURE_INFO[] struPicInfo = new NET_ITS_PICTURE_INFO[2]; //图片信息,单张回调,最多2张图,由序号区分 |
|
5168 |
public byte[] byRes2 = new byte[256]; |
|
5169 |
} |
|
5170 |
|
|
5171 |
public static class NET_DVR_SNAPCFG extends HIKSDKStructure { |
|
5172 |
|
|
5173 |
public int dwSize; |
|
5174 |
public byte byRelatedDriveWay;//触发IO关联的车道号 |
|
5175 |
public byte bySnapTimes; //线圈抓拍次数,0-不抓拍,非0-连拍次数,目前最大5次 |
|
5176 |
public short wSnapWaitTime; //抓拍等待时间,单位ms,取值范围[0,60000] |
|
5177 |
public short[] wIntervalTime = new short[MAX_INTERVAL_NUM];//连拍间隔时间,ms |
|
5178 |
public int dwSnapVehicleNum; //抓拍车辆序号。 |
|
5179 |
public NET_DVR_JPEGPARA struJpegPara;//抓拍图片参数 |
|
5180 |
public byte[] byRes2 = new byte[16]; |
|
5181 |
} |
|
5182 |
|
|
5183 |
// 道闸控制 |
|
5184 |
public static class NET_DVR_BARRIERGATE_CFG extends HIKSDKStructure { |
|
5185 |
public int dwSize; |
|
5186 |
public int dwChannel; //通道号 |
|
5187 |
public byte byLaneNo; //道闸号(0-表示无效值(设备需要做有效值判断),1-道闸1) |
|
5188 |
/* |
|
5189 |
若老的平台不支持byUnlock字段,该字段将赋值为0,通过“0-关闭道闸,1-开启道闸,2-停止道闸”中的任何一种操作皆可进行解锁。 |
|
5190 |
若新平台支持byUnlock字段,需byUnlock字段赋值为1,并结合4~解锁道闸来进行解锁。byUnlock字段赋值为1后,“0-关闭道闸,1-开启道闸,2-停止道闸”操作将不可用于解锁。 |
|
5191 |
*/ |
|
5192 |
public byte byBarrierGateCtrl;//0-关闭道闸,1-开启道闸,2-停止道闸 3-锁定道闸,4~解锁道闸 |
|
5193 |
public byte byEntranceNo;//出入口编号 [1,8] |
|
5194 |
public byte byUnlock;//启用解锁使能,0~为不启用,1~启用 |
|
5195 |
public byte[] byRes = new byte[12]; |
|
5196 |
} |
|
5197 |
|
|
5198 |
|
|
5199 |
public static class NET_DVR_AGEGROUP_PARAM extends HIKSDKStructure { |
|
5200 |
public int dwTeenage;//少年(人数) |
|
5201 |
public int dwYouth;//青年(人数) |
|
5202 |
public int dwMidLife;//中年(人数) |
|
5203 |
public int dwElderly;//老年(人数) |
|
5204 |
public int dwChild;//儿童(人数) |
|
5205 |
public int dwAdolescent;//青少年(人数) |
|
5206 |
public int dwPrime;//壮年(人数) |
|
5207 |
public int dwMidage;//中老年(人数) |
|
5208 |
public byte[] byRes = new byte[48]; |
|
5209 |
} |
|
5210 |
|
|
5211 |
public static class NET_DVR_SEXGROUP_PARAM extends HIKSDKStructure { |
|
5212 |
public int dwMale;//男(人数) |
|
5213 |
public int dwFemale;//女(人数) |
|
5214 |
public byte[] byRes = new byte[64]; |
|
5215 |
} |
|
5216 |
|
|
5217 |
public static class NET_DVR_PROGRAM_INFO extends HIKSDKStructure { |
|
5218 |
public int dwProgramNo; //节目编号 |
|
5219 |
public byte[] sProgramName = new byte[NAME_LEN]; //节目名称 |
|
5220 |
public byte[] byRes = new byte[16]; |
|
5221 |
} |
|
5222 |
|
|
5223 |
public static class NET_DVR_FACECAPTURE_STATISTICS_RESULT extends HIKSDKStructure { |
|
5224 |
public int dwSize; |
|
5225 |
public NET_DVR_TIME_EX struStartTime;/*间隔开始时间*/ |
|
5226 |
public NET_DVR_TIME_EX struEndTime;/*间隔结束时间*/ |
|
5227 |
public byte byStatType;//数据类型统计:Bit0-年龄段有效,Bit1-性别有效,Bit2-人数有效 |
|
5228 |
public byte[] byRes = new byte[7]; |
|
5229 |
public int dwPeopleNum;//人数统计 |
|
5230 |
public NET_DVR_AGEGROUP_PARAM struAgeGroupParam;//年龄段人数统计 |
|
5231 |
public NET_DVR_SEXGROUP_PARAM struSexGroupParam;//性别人数统计 |
|
5232 |
public NET_DVR_PROGRAM_INFO struProgramInfo; //节目信息 |
|
5233 |
public byte[] byRes1 = new byte[76]; |
|
5234 |
} |
|
5235 |
|
|
5236 |
//获取交通数据条件结构 |
|
5237 |
public static class NET_DVR_TRAFFIC_DATA_QUERY_COND extends HIKSDKStructure { |
|
5238 |
public int dwSize; |
|
5239 |
/* |
|
5240 |
Bit0-通道有效 |
|
5241 |
Bit1-时间有效 |
|
5242 |
Bit2-车牌号有效 |
|
5243 |
Bit3-车牌类型有效 |
|
5244 |
Bit4-车牌颜色有效 |
|
5245 |
Bit5-车身颜色有效 |
|
5246 |
Bit6-车辆类型有效 |
|
5247 |
Bit7-车辆品牌有效 |
|
5248 |
Bit8-车道号有效 |
|
5249 |
Bit9-监测方向有效 |
|
5250 |
Bit10-最低速度有效 |
|
5251 |
Bit11-最高速度有效 |
|
5252 |
Bit12-数据类型有效 |
|
5253 |
Bit13-布控方式类型有效 |
|
5254 |
Bit14-违法取证有效 |
|
5255 |
Bit15-事件类型有效 |
|
5256 |
Bit16-取证类型有效 |
|
5257 |
*/ |
|
5258 |
public int dwQueryCond;//查询条件 0表示无效,1表示有效 |
|
5259 |
public int dwChannel;//默认是1([1~32],bit0表示通道1,依次类推bit31表示通道32) |
|
5260 |
public NET_DVR_TIME_V30 struStartTime;//开始时间 |
|
5261 |
public NET_DVR_TIME_V30 struEndTime;//结束时间 |
|
5262 |
public byte[] sLicense = new byte[MAX_LICENSE_LEN/*16*/];//(设备支持模糊查询, GB2312编码) |
|
5263 |
/* |
|
5264 |
Bit0-未知(其他) |
|
5265 |
Bit1-标准民用车与军车 |
|
5266 |
Bit2-02式民用车牌 |
|
5267 |
Bit3-武警车 |
|
5268 |
Bit4-警车 |
|
5269 |
Bit5-民用车双行尾牌 |
|
5270 |
Bit6-使馆车牌 |
|
5271 |
Bit7-农用车 |
|
5272 |
Bit8-摩托车 |
|
5273 |
*/ |
|
5274 |
public int dwPlateType;//车牌类型(支持按位表示,可以复选) |
|
5275 |
/* |
|
5276 |
Bit0-未知(其他) |
|
5277 |
Bit1-黄色 |
|
5278 |
Bit2-白色 |
|
5279 |
Bit3-黑色 |
|
5280 |
Bit4-绿色 |
|
5281 |
Bit5-蓝色 |
|
5282 |
*/ |
|
5283 |
public int dwPlateColor;//车牌颜色(支持按位表示,可以复选) |
|
5284 |
/* |
|
5285 |
Bit0-未ª知(其他) |
|
5286 |
Bit1-白色 |
|
5287 |
Bit2-银色 |
|
5288 |
Bit3-灰色 |
|
5289 |
Bit4-黑色 |
|
5290 |
Bit5-红色 |
|
5291 |
Bit6-深蓝色 |
|
5292 |
Bit7-蓝色 |
|
5293 |
Bit8-黄色 |
|
5294 |
Bit9-绿色 |
|
5295 |
Bit10-棕色 |
|
5296 |
Bit11-粉色 |
|
5297 |
Bit12-紫色 |
|
5298 |
Bit13-深灰色 |
|
5299 |
*/ |
|
5300 |
public int dwVehicleColor;//车身颜色(支持按位表示,可以复选) |
|
5301 |
/* |
|
5302 |
Bit0-未知(其他) |
|
5303 |
Bit1-客车 |
|
5304 |
Bit2-大货车 |
|
5305 |
Bit3-轿车 |
|
5306 |
Bit4-面包车 |
|
5307 |
Bit5-小货车 |
|
5308 |
Bit6-行人 |
|
5309 |
Bit7-二轮车 |
|
5310 |
Bit8-三轮车 |
|
5311 |
Bit9-SUV/MPV |
|
5312 |
Bit10-中型客车 |
|
5313 |
*/ |
|
5314 |
public int dwVehicleType;//车辆类型(支持按位表示,可以复选) |
|
5315 |
/** |
|
5316 |
* Bit0-其他(保留) |
|
5317 |
* Bit1-低速 |
|
5318 |
* Bit2-超速 |
|
5319 |
* Bit3-逆行 |
|
5320 |
* Bit4-闯红灯 |
|
5321 |
* Bit5-压车道线 |
|
5322 |
* Bit6-不按导向 |
|
5323 |
* Bit7-路口滞留 |
|
5324 |
* Bit8-机占非 |
|
5325 |
* Bit9-违法变道 |
|
5326 |
* Bit10-不按车道 |
|
5327 |
* Bit11-违反禁令 |
|
5328 |
* Bit12-路口停车 |
|
5329 |
* Bit13-绿灯停车 |
|
5330 |
* Bit14-未礼让行人 |
|
5331 |
* Bit15-违章停车 |
|
5332 |
* Bit16-违章掉头 |
|
5333 |
* Bit17-占用应急车道 |
|
5334 |
* Bit18-未系安全带 |
|
5335 |
*/ |
|
5336 |
public int dwIllegalType; |
|
5337 |
/** |
|
5338 |
* Bit0-其他(保留) |
|
5339 |
* Bit1-拥堵 |
|
5340 |
* Bit2-停车 |
|
5341 |
* Bit3-逆行 |
|
5342 |
* Bit4-行人 |
|
5343 |
* Bit5-抛洒物 |
|
5344 |
* Bit6-烟雾 |
|
5345 |
* Bit7-压线 |
|
5346 |
* Bit8-禁止名单 |
|
5347 |
* Bit9-超速 |
|
5348 |
* Bit10-变道 |
|
5349 |
* Bit11-掉头 |
|
5350 |
* Bit12-机占非 |
|
5351 |
* Bit13-加塞 |
|
5352 |
*/ |
|
5353 |
public int dwEventType; |
|
5354 |
/** |
|
5355 |
* Bit0-其他(保留) |
|
5356 |
* Bit1-城市公路违法停车 |
|
5357 |
* Bit2-高速公路违法停车 |
|
5358 |
* Bit3-压线 |
|
5359 |
* Bit4-逆行 |
|
5360 |
* Bit5-违法变道 |
|
5361 |
* Bit6-机占非 |
|
5362 |
*/ |
|
5363 |
public int dwForensiceType; |
|
5364 |
public short wVehicleLogoRecog; //车辆主品牌,参考"车辆主品牌.xlsx" (仅单选) |
|
5365 |
public byte byLaneNo;//车道号(0~255,0号车道 表示 车道号未知) |
|
5366 |
public byte byDirection;//监测方向,1-上行,2-下行,3-双向,4-由东向西,5-由南向北,6-由西向东,7-由北向南 |
|
5367 |
public short wMinSpeed;//最低速度(0~999)单位km/h |
|
5368 |
public short wMaxSpeed;//最高速度(0~999)单位km/h |
|
5369 |
public byte byDataType;//数据类型 0-卡口数据,1-违法数据,2-交通事件,3-取证数据 (仅单选) |
|
5370 |
public byte byExecuteCtrl;//布控 0-允许名单,1-禁止名单,0xff-其他 |
|
5371 |
public byte[] byRes = new byte[254]; |
|
5372 |
} |
|
5373 |
|
|
5374 |
public static final int MAX_TRAFFIC_PICTURE_NUM = 8; //交通图片数量 |
|
5375 |
|
|
5376 |
//交通数据结构体 |
|
5377 |
public static class NET_DVR_TRAFFIC_DATA_QUERY_RESULT extends HIKSDKStructure { |
|
5378 |
public int dwSize; |
|
5379 |
public int dwChannel;//默认是1([1~32]) |
|
5380 |
public byte[] sLicense = new byte[MAX_LICENSE_LEN/*16*/]; |
|
5381 |
/* |
|
5382 |
Bit0-未知(其他) |
|
5383 |
Bit1-标准民用车与军车 |
|
5384 |
Bit2-02式民用车牌 |
|
5385 |
Bit3-武警车 |
|
5386 |
Bit4-警车 |
|
5387 |
Bit5-民用车双行尾牌 |
|
5388 |
Bit6-使馆车牌 |
|
5389 |
Bit7-农用车 |
|
5390 |
Bit8-摩托车 |
|
5391 |
*/ |
|
5392 |
public int dwPlateType;//车牌类型 |
|
5393 |
/* |
|
5394 |
Bit0-未知(其他) |
|
5395 |
Bit1-黄色 |
|
5396 |
Bit2-白色 |
|
5397 |
Bit3-黑色 |
|
5398 |
Bit4-绿色 |
|
5399 |
Bit5-蓝色 |
|
5400 |
*/ |
|
5401 |
public int dwPlateColor;//车牌颜色 |
|
5402 |
/* |
|
5403 |
Bit0-未知(其他) |
|
5404 |
Bit1-白色 |
|
5405 |
Bit2-银色 |
|
5406 |
Bit3-灰色 |
|
5407 |
Bit4-黑色 |
|
5408 |
Bit5-红色 |
|
5409 |
Bit6-深蓝色 |
|
5410 |
Bit7-蓝色 |
|
5411 |
Bit8-黄色 |
|
5412 |
Bit9-绿色 |
|
5413 |
Bit10-棕色 |
|
5414 |
Bit11-粉色 |
|
5415 |
Bit12-紫色 |
|
5416 |
Bit13-深灰色 |
|
5417 |
*/ |
|
5418 |
public int dwVehicleColor;//车身颜色 |
|
5419 |
/* |
|
5420 |
Bit0-未知(其他) |
|
5421 |
Bit1-客车 |
|
5422 |
Bit2-大货车 |
|
5423 |
Bit3-轿车 |
|
5424 |
Bit4-面包车 |
|
5425 |
Bit5-小货车 |
|
5426 |
Bit6-行人 |
|
5427 |
Bit7-二轮车 |
|
5428 |
Bit8-三轮车 |
|
5429 |
Bit9-SUV/MPV |
|
5430 |
Bit10-中型客车 |
|
5431 |
Bit11-机动车 |
|
5432 |
Bit12-非机动车 |
|
5433 |
Bit13-小型轿车 |
|
5434 |
Bit14-微型轿车 |
|
5435 |
Bit15-皮卡车 |
|
5436 |
Bit16-集装箱卡车 |
|
5437 |
Bit17-微卡,栏板卡 |
|
5438 |
Bit18-渣土车 |
|
5439 |
Bit19-吊车,工程车 |
|
5440 |
Bit20-油罐车 |
|
5441 |
Bit21-混凝土搅拌车 |
|
5442 |
Bit22-平板拖车 |
|
5443 |
Bit23-两厢轿车 |
|
5444 |
Bit24-三厢轿车 |
|
5445 |
Bit25-轿跑 |
|
5446 |
Bit26-小型客车 |
|
5447 |
*/ |
|
5448 |
public int dwVehicleType;//车辆类型 |
|
5449 |
/** |
|
5450 |
* Bit0-其他(保留) |
|
5451 |
* Bit1-低速 |
|
5452 |
* Bit2-超速 |
|
5453 |
* Bit3-逆行 |
|
5454 |
* Bit4-闯红灯 |
|
5455 |
* Bit5-压车道线 |
|
5456 |
* Bit6-不按导向 |
|
5457 |
* Bit7-路口滞留 |
|
5458 |
* Bit8-机占非 |
|
5459 |
* Bit9-违法变道 |
|
5460 |
* Bit10-不按车道 |
|
5461 |
* Bit11-违反禁令 |
|
5462 |
* Bit12-路口停车 |
|
5463 |
* Bit13-绿灯停车 |
|
5464 |
* Bit14-未礼让行人 |
|
5465 |
* Bit15-违章停车 |
|
5466 |
* Bit16-违章掉头 |
|
5467 |
* Bit17-占用应急车道 |
|
5468 |
* Bit18-未系安全带 |
|
5469 |
*/ |
|
5470 |
public int dwIllegalType; |
|
5471 |
/** |
|
5472 |
* Bit0-其他(保留) |
|
5473 |
* Bit1-拥堵 |
|
5474 |
* Bit2-停车 |
|
5475 |
* Bit3-逆行 |
|
5476 |
* Bit4-行人 |
|
5477 |
* Bit5-抛洒物 |
|
5478 |
* Bit6-烟雾 |
|
5479 |
* Bit7-压线 |
|
5480 |
* Bit8-禁止名单 |
|
5481 |
* Bit9-超速 |
|
5482 |
* Bit10-变道 |
|
5483 |
* Bit11-掉头 |
|
5484 |
* Bit12-机占非 |
|
5485 |
* Bit13-加塞 |
|
5486 |
*/ |
|
5487 |
public int dwEventType; |
|
5488 |
/** |
|
5489 |
* Bit0-其他(保留) |
|
5490 |
* Bit1-城市公路违法停车 |
|
5491 |
* Bit2-高速公路违法停车 |
|
5492 |
* Bit3-压线 |
|
5493 |
* Bit4-逆行 |
|
5494 |
* Bit5-违法变道 |
|
5495 |
* Bit6-机占非 |
|
5496 |
*/ |
|
5497 |
public int dwForensiceType; |
|
5498 |
public short wVehicleLogoRecog; //车辆主品牌,参考"车辆主品牌.xlsx" |
|
5499 |
public byte byLaneNo;//车道号(0~255,0号车道 表示 车道号未知) |
|
5500 |
public byte byDirection;//监测方向,1-上行,2-下行,3-双向,4-由东向西,5-由南向北,6-由西向东,7-由北向南 |
|
5501 |
public short wSpeed;//速度(0~999)单位km/h |
|
5502 |
public byte byDataType;//数据类型: 0-卡口 1-违法 2-事件 3-取证 |
|
5503 |
public byte[] byRes = new byte[253]; |
|
5504 |
public NET_DVR_TRAFFIC_PICTURE_PARAM[] struTrafficPic = new NET_DVR_TRAFFIC_PICTURE_PARAM[MAX_TRAFFIC_PICTURE_NUM/*8*/]; |
|
5505 |
} |
|
5506 |
|
|
5507 |
//交通图片参数子结构 |
|
5508 |
public static final int PICTURE_NAME_LEN = 64; |
|
5509 |
|
|
5510 |
public static class NET_DVR_TRAFFIC_PICTURE_PARAM extends HIKSDKStructure { |
|
5511 |
public NET_DVR_TIME_V30 struRelativeTime = new NET_DVR_TIME_V30(); //抓拍相对时标 |
|
5512 |
public NET_DVR_TIME_V30 struAbsTime = new NET_DVR_TIME_V30(); //抓拍绝对时标 |
|
5513 |
public byte[] szPicName = new byte[PICTURE_NAME_LEN/*64*/]; |
|
5514 |
public byte byPicType;//图片类型 0-车牌图,1-抓拍原图,2-合成图,3-特写图 |
|
5515 |
public byte[] byRes = new byte[63]; |
|
5516 |
} |
|
5517 |
|
|
5518 |
public static class NET_DVR_VEHICLE_CONTROL_COND extends HIKSDKStructure { |
|
5519 |
public int dwChannel; |
|
5520 |
public int dwOperateType; |
|
5521 |
public byte[] sLicense = new byte[MAX_LICENSE_LEN]; |
|
5522 |
public byte[] sCardNo = new byte[48]; |
|
5523 |
public byte byListType; |
|
5524 |
public byte[] byRes1 = new byte[3]; |
|
5525 |
public int dwDataIndex; |
|
5526 |
public byte[] byRes = new byte[116]; |
|
5527 |
} |
|
5528 |
|
|
5529 |
public static class NET_DVR_VEHICLE_CONTROL_LIST_INFO extends HIKSDKStructure { |
|
5530 |
public int dwSize; |
|
5531 |
public int dwChannel; |
|
5532 |
public int dwDataIndex; |
|
5533 |
public byte[] sLicense = new byte[16]; |
|
5534 |
public byte byListType; |
|
5535 |
public byte byPlateType; |
|
5536 |
public byte byPlateColor; |
|
5537 |
public byte[] byRes = new byte[21]; |
|
5538 |
public byte[] sCardNo = new byte[48]; |
|
5539 |
public NET_DVR_TIME_V30 struStartTime = new NET_DVR_TIME_V30(); |
|
5540 |
public NET_DVR_TIME_V30 struStopTime = new NET_DVR_TIME_V30(); |
|
5541 |
public byte[] sOperateIndex = new byte[32]; |
|
5542 |
public byte[] byRes1 = new byte[224]; |
|
5543 |
} |
|
5544 |
|
|
5545 |
//车辆报警 |
|
5546 |
public static class NET_DVR_VEHICLE_CONTROL_ALARM extends HIKSDKStructure { |
|
5547 |
public int dwSize; |
|
5548 |
public byte byListType; //名单属性:0-允许名单,1-禁止名单,2-临时名单 |
|
5549 |
public byte byPlateType; //车牌类型 |
|
5550 |
public byte byPlateColor; //车牌颜色 |
|
5551 |
public byte byRes1; |
|
5552 |
public byte[] sLicense = new byte[MAX_LICENSE_LEN];//车牌号码 |
|
5553 |
public byte[] sCardNo = new byte[MAX_CARDNO_LEN]; // 卡号 |
|
5554 |
public NET_DVR_TIME_V30 struAlarmTime = new NET_DVR_TIME_V30(); //报警时间 |
|
5555 |
public int dwChannel; //设备通道号,如果直连的是IPC,则为ipc通道号;如果连的DVR\nvr,则为DVR\NVR的通道号 |
|
5556 |
public int dwPicDataLen; //图片数据大小,0表示无图片,不为0是表示后面带图片数据 |
|
5557 |
public byte byPicType; //图片类型,0-JPEG |
|
5558 |
public byte byPicTransType; //图片数据传输方式: 0-二进制;1-url |
|
5559 |
public byte[] byRes3 = new byte[2]; |
|
5560 |
public Pointer pPicData; |
|
5561 |
public byte[] byRes2 = new byte[48]; |
|
5562 |
} |
|
5563 |
|
|
5564 |
public int MAX_LED_INFO_LEN = 512; |
|
5565 |
public int MAX_VOICE_INFO_LEN = 128; |
|
5566 |
|
|
5567 |
//LED屏幕显示参数 |
|
5568 |
public static class NET_DVR_LEDDISPLAY_CFG extends HIKSDKStructure { |
|
5569 |
public int dwSize;//结构体大小 |
|
5570 |
public byte[] sDisplayInfo = new byte[MAX_LED_INFO_LEN/*512*/]; // LED显示内容 |
|
5571 |
public byte byDisplayMode;//显示方式:0~左移,1~右移,2~立即显示 |
|
5572 |
public byte bySpeedType;//速度类型:0~快,1~中,2~慢 |
|
5573 |
public byte byShowPlateEnable;//显示车牌使能,0~关闭,1~启用 |
|
5574 |
public byte byRes1; |
|
5575 |
public int dwShowTime;//显示时长,1~60秒 |
|
5576 |
public byte[] byRes = new byte[128]; |
|
5577 |
} |
|
5578 |
|
|
5579 |
//语音播报控制参数 |
|
5580 |
public static class NET_DVR_VOICEBROADCAST_CFG extends HIKSDKStructure { |
|
5581 |
public int dwSize;//结构体大小 |
|
5582 |
public byte[] sInfo = new byte[MAX_VOICE_INFO_LEN/*128*/]; //语音播报内容 |
|
5583 |
public byte byBroadcastNum;// 语音播报次数, 1~10次 |
|
5584 |
public byte byIntervalTime;// 语音播报间隔时间,1~5s |
|
5585 |
public byte[] byRes = new byte[126]; |
|
5586 |
} |
|
5587 |
|
|
5588 |
//缴费金额信息 |
|
5589 |
public static class NET_DVR_CHARGEACCOUNT_CFG extends HIKSDKStructure { |
|
5590 |
public int dwSize;//结构体大小 |
|
5591 |
public float fAccount;//实际收费金额 |
|
5592 |
public byte[] byRes = new byte[128]; |
|
5593 |
} |
|
5594 |
|
|
5595 |
public static final int DOOR_NAME_LEN = 32; //门名称 |
|
5596 |
public static final int STRESS_PASSWORD_LEN = 8; //胁迫密码长度 |
|
5597 |
public static final int SUPER_PASSWORD_LEN = 8; //胁迫密码长度 |
|
5598 |
public static final int UNLOCK_PASSWORD_LEN = 8; // 解除密码长度 |
|
5599 |
|
|
5600 |
public static class NET_DVR_DOOR_CFG extends HIKSDKStructure { |
|
5601 |
public int dwSize; |
|
5602 |
public byte[] byDoorName = new byte[DOOR_NAME_LEN]; //门名称 |
|
5603 |
public byte byMagneticType; //门磁类型,0-常闭,1-常开 |
|
5604 |
public byte byOpenButtonType; //开门按钮类型,0-常闭,1-常开 |
|
5605 |
public byte byOpenDuration; //开门持续时间,1-255s(楼层继电器动作时间) |
|
5606 |
public byte byDisabledOpenDuration; //残障人士卡开门持续时间,1-255s |
|
5607 |
public byte byMagneticAlarmTimeout; //门磁检测超时报警时间,0-255s,0表示不报警 |
|
5608 |
public byte byEnableDoorLock; //是否启用闭门回锁,0-否,1-是 |
|
5609 |
public byte byEnableLeaderCard; //是否启用首卡常开功能,0-否,1-是 |
|
5610 |
public byte byLeaderCardMode; //首卡模式,0-不启用首卡功能,1-首卡常开模式,2-首卡授权模式(使用了此字段,则byEnableLeaderCard无效) |
|
5611 |
public int dwLeaderCardOpenDuration; //首卡常开持续时间,1-1440min |
|
5612 |
public byte[] byStressPassword = new byte[STRESS_PASSWORD_LEN]; //胁迫密码 |
|
5613 |
public byte[] bySuperPassword = new byte[SUPER_PASSWORD_LEN]; //超级密码 |
|
5614 |
public byte[] byUnlockPassword = new byte[UNLOCK_PASSWORD_LEN]; //解除码NET_DVR_LOCAL_CONTROLLER_STATUS |
|
5615 |
public byte byUseLocalController; //只读,是否连接在就地控制器上,0-否,1-是 |
|
5616 |
public byte byRes1; |
|
5617 |
public short wLocalControllerID; //只读,就地控制器序号,1-64,0代表未注册 |
|
5618 |
public short wLocalControllerDoorNumber; //只读,就地控制器的门编号,1-4,0代表未注册 |
|
5619 |
public short wLocalControllerStatus; //只读,就地控制器在线状态:0-离线,1-网络在线,2-环路1上的RS485串口1,3-环路1上的RS485串口2,4-环路2上的RS485串口1,5-环路2上的RS485串口2,6-环路3上的RS485串口1,7-环路3上的RS485串口2,8-环路4上的RS485串口1,9-环路4上的RS485串口2(只读) |
|
5620 |
public byte byLockInputCheck; //是否启用门锁输入检测(1字节,0不启用,1启用,默认不启用) |
|
5621 |
public byte byLockInputType; //门锁输入类型(1字节,0常闭,1常开,默认常闭) |
|
5622 |
public byte byDoorTerminalMode; //门相关端子工作模式(1字节,0防剪防短,1普通,默认防剪防短) |
|
5623 |
public byte byOpenButton; //是否启用开门按钮(1字节,0是,1否,默认是) |
|
5624 |
public byte byLadderControlDelayTime; //梯控访客延迟时间,1-255min |
|
5625 |
public byte[] byRes2 = new byte[43]; |
|
5626 |
} |
|
5627 |
|
|
5628 |
public static class NET_DVR_DOOR_STATUS_PLAN extends HIKSDKStructure { |
|
5629 |
public int dwSize; |
|
5630 |
public int dwTemplateNo; //计划模板编号,为0表示取消关联,恢复默认状态(普通状态) |
|
5631 |
public byte[] byRes = new byte[64]; |
|
5632 |
} |
|
5633 |
|
|
5634 |
|
|
5635 |
public static class NET_DVR_EVENT_CARD_LINKAGE_COND extends HIKSDKStructure { |
|
5636 |
public int dwSize; |
|
5637 |
public int dwEventID; //事件ID |
|
5638 |
public short wLocalControllerID; //就地控制器序号[1,64] |
|
5639 |
public byte[] byRes = new byte[106]; |
|
5640 |
} |
|
5641 |
|
|
5642 |
public static final int MAX_ALARMHOST_ALARMIN_NUM = 512;//网络报警主机最大报警输入口数 |
|
5643 |
public static final int MAX_ALARMHOST_ALARMOUT_NUM = 512;//网络报警主机最大报警输出口数 |
|
5644 |
|
|
5645 |
public static class NET_DVR_EVENT_CARD_LINKAGE_CFG_V50 extends HIKSDKStructure { |
|
5646 |
public int dwSize; //结构体大小 |
|
5647 |
public byte byProMode; //联动方式,0-事件,1-卡号, 2-MAC地址 |
|
5648 |
public byte[] byRes1 = new byte[3]; |
|
5649 |
public int dwEventSourceID; //事件源ID,当主类型为设备事件时无效, 当主类型是门事件时为门编号;当主类型为读卡器事件时,为读卡器ID;当为报警输入事件时为防区报警输入ID或事件报警输入ID。0xffffffff表示联动全部 |
|
5650 |
public NET_DVR_EVETN_CARD_LINKAGE_UNION uLinkageInfo = new NET_DVR_EVETN_CARD_LINKAGE_UNION(); //联动方式参数 |
|
5651 |
public byte[] byAlarmout = new byte[MAX_ALARMHOST_ALARMOUT_NUM]; //关联的报警输出号,按位表示,为0表示不关联,为1表示关联 |
|
5652 |
public byte[] byRes2 = new byte[32]; //保留 |
|
5653 |
public byte[] byOpenDoor = new byte[MAX_DOOR_NUM_256]; //按位表示,是否联动开门,0-不联动,1-联动 |
|
5654 |
public byte[] byCloseDoor = new byte[MAX_DOOR_NUM_256]; //按位表示,是否联动关门,0-不联动,1-联动 |
|
5655 |
public byte[] byNormalOpen = new byte[MAX_DOOR_NUM_256]; //按位表示,是否联动常开,0-不联动,1-联动 |
|
5656 |
public byte[] byNormalClose = new byte[MAX_DOOR_NUM_256]; //按位表示,是否联动常关,0-不联动,1-联动 |
|
5657 |
public byte byMainDevBuzzer; //主机蜂鸣器 0-不联动,1-联动输出 |
|
5658 |
public byte byCapturePic; //是否联动抓拍,0-不联动抓拍,1-联动抓拍 |
|
5659 |
public byte byRecordVideo; //是否联动录像,0-不联动录像,1-联动录像 |
|
5660 |
public byte[] byRes3 = new byte[29]; //保留 |
|
5661 |
public byte[] byReaderBuzzer = new byte[MAX_CARD_READER_NUM_512]; //联动读卡器蜂鸣器,按位表示,0-不联动,1-联动 |
|
5662 |
public byte[] byAlarmOutClose = new byte[MAX_ALARMHOST_ALARMOUT_NUM]; //关联报警输出关闭,按字节表示,为0表示不关联,为1表示关联 |
|
5663 |
public byte[] byAlarmInSetup = new byte[MAX_ALARMHOST_ALARMIN_NUM]; //关联防区布防,按字节表示,为0表示不关联,为1表示关联 |
|
5664 |
public byte[] byAlarmInClose = new byte[MAX_ALARMHOST_ALARMIN_NUM]; //关联防区撤防,按字节表示,为0表示不关联,为1表示关联 |
|
5665 |
public byte[] byRes = new byte[500]; //保留 |
|
5666 |
} |
|
5667 |
|
|
5668 |
public static class NET_DVR_EVENT_LINKAGE_INFO extends HIKSDKStructure { |
|
5669 |
public short wMainEventType; //事件主类型,0-设备事件,1-报警输入事件,2-门事件,3-读卡器事件 |
|
5670 |
public short wSubEventType; //事件次类型 |
|
5671 |
public byte[] byRes = new byte[28]; |
|
5672 |
} |
|
5673 |
|
|
5674 |
public static class NET_DVR_EVETN_CARD_LINKAGE_UNION extends Union { |
|
5675 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //卡号 |
|
5676 |
public NET_DVR_EVENT_LINKAGE_INFO struEventLinkage; //事件联动时参数 |
|
5677 |
public byte[] byMACAddr = new byte[MACADDR_LEN]; //物理MAC地址 |
|
5678 |
public byte[] byEmployeeNo = new byte[NET_SDK_EMPLOYEE_NO_LEN]; //工号(人员ID) |
|
5679 |
} |
|
5680 |
|
|
5681 |
//卡参数配置条件 |
|
5682 |
public static class NET_DVR_CARD_CFG_COND extends HIKSDKStructure { |
|
5683 |
public int dwSize; |
|
5684 |
public int dwCardNum; |
|
5685 |
public byte byCheckCardNo; |
|
5686 |
public byte[] ibyRes = new byte[31]; |
|
5687 |
} |
|
5688 |
|
|
5689 |
//获取卡参数的发送数据 |
|
5690 |
public static class NET_DVR_CARD_CFG_SEND_DATA extends HIKSDKStructure { |
|
5691 |
public int dwSize; |
|
5692 |
public byte[] byCardNo = new byte[32]; |
|
5693 |
public byte[] byRes = new byte[16]; |
|
5694 |
} |
|
5695 |
|
|
5696 |
public static class CARDRIGHTPLAN extends HIKSDKStructure { |
|
5697 |
public byte[] byRightPlan = new byte[4]; |
|
5698 |
} |
|
5699 |
|
|
5700 |
//卡参数 |
|
5701 |
public static class NET_DVR_CARD_CFG extends HIKSDKStructure { |
|
5702 |
public int dwSize; |
|
5703 |
public int dwModifyParamType; |
|
5704 |
public byte[] byCardNo = new byte[32]; |
|
5705 |
public byte byCardValid; |
|
5706 |
public byte byCardType; |
|
5707 |
public byte byLeaderCard; |
|
5708 |
public byte byRes1; |
|
5709 |
public int dwDoorRight; |
|
5710 |
public NET_DVR_VALID_PERIOD_CFG struValid; |
|
5711 |
public int dwBelongGroup; |
|
5712 |
public byte[] byCardPassword = new byte[8]; |
|
5713 |
public CARDRIGHTPLAN[] byCardRightPlan = new CARDRIGHTPLAN[32]; |
|
5714 |
public int dwMaxSwipeTime; |
|
5715 |
public int dwSwipeTime; |
|
5716 |
public short wRoomNumber; |
|
5717 |
public short wFloorNumber; |
|
5718 |
public byte[] byRes2 = new byte[20]; |
|
5719 |
} |
|
5720 |
|
|
5721 |
public int ACS_CARD_NO_LEN = 32; //门禁卡号长度 |
|
5722 |
public int MAX_GROUP_NUM_128 = 128; //最大群组数 |
|
5723 |
public int MAX_DOOR_NUM_256 = 256; //最大门数 |
|
5724 |
public int CARD_PASSWORD_LEN = 8; //卡密码长度 |
|
5725 |
public int MAX_CARD_READER_NUM = 64; //最大读卡器数 |
|
5726 |
public int MAX_DOOR_CODE_LEN = 8; //房间代码长度 |
|
5727 |
public int MAX_LOCK_CODE_LEN = 8; //锁代码长度 |
|
5728 |
public int MAX_CARD_RIGHT_PLAN_NUM = 4; //卡权限最大计划个数 |
|
5729 |
public int MAX_CASE_SENSOR_NUM = 8; //最大case sensor触发器数 |
|
5730 |
|
|
5731 |
public static class CARDRIGHTPLAN_WORD extends HIKSDKStructure { |
|
5732 |
public short[] wRightPlan = new short[MAX_CARD_RIGHT_PLAN_NUM]; |
|
5733 |
} |
|
5734 |
|
|
5735 |
public static class NET_DVR_CARD_CFG_V50 extends HIKSDKStructure { |
|
5736 |
public int dwSize; |
|
5737 |
public int dwModifyParamType;//需要修改的卡参数,设置卡参数时有效,按位表示,每位代表一种参数,1为需要修改,0为不修改 |
|
5738 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //卡号 |
|
5739 |
public byte byCardValid; //卡是否有效,0-无效,1-有效(用于删除卡,设置时置为0进行删除,获取时此字段始终为1) |
|
5740 |
public byte byCardType; //卡类型,1-普通卡,2-残障人士卡,3-禁止名单卡,4-巡更卡,5-胁迫卡,6-超级卡,7-来宾卡,8-解除卡,9-员工卡,10-应急卡,11-应急管理卡,默认普通卡 |
|
5741 |
public byte byLeaderCard; //是否为首卡,1-是,0-否 |
|
5742 |
public byte byRes1; |
|
5743 |
public byte[] byDoorRight = new byte[MAX_DOOR_NUM_256]; //门权限(楼层权限),按位表示,1为有权限,0为无权限,从低位到高位表示对门1-N是否有权限 |
|
5744 |
public NET_DVR_VALID_PERIOD_CFG struValid; //有效期参数 |
|
5745 |
public byte[] byBelongGroup = new byte[MAX_GROUP_NUM_128]; //所属群组,按字节表示,1-属于,0-不属于 |
|
5746 |
public byte[] byCardPassword = new byte[CARD_PASSWORD_LEN]; //卡密码 |
|
5747 |
public CARDRIGHTPLAN_WORD[] wCardRightPlan = new CARDRIGHTPLAN_WORD[MAX_DOOR_NUM_256]; //卡权限计划,取值为计划模板编号,同个门不同计划模板采用权限或的方式处理 |
|
5748 |
public int dwMaxSwipeTime; //最大刷卡次数,0为无次数限制(开锁次数) |
|
5749 |
public int dwSwipeTime; //已刷卡次数 |
|
5750 |
public short wRoomNumber; //房间号 |
|
5751 |
public short wFloorNumber; //层号 |
|
5752 |
public int dwEmployeeNo; //工号 |
|
5753 |
public byte[] byName = new byte[NAME_LEN]; //姓名 |
|
5754 |
public short wDepartmentNo; //部门编号 |
|
5755 |
public short wSchedulePlanNo; //排班计划编号 |
|
5756 |
public byte bySchedulePlanType; //排班计划类型:0-无意义、1-个人、2-部门 |
|
5757 |
public byte byRightType; //下发权限类型:0-普通发卡权限、1-二维码权限、2-蓝牙权限(可视对讲设备二维码权限配置项:房间号、卡号(虚拟卡号)、最大刷卡次数(开锁次数)、有效期参数;蓝牙权限:卡号(萤石APP账号)、其他参数配置与普通发卡权限一致) |
|
5758 |
public byte[] byRes2 = new byte[2]; |
|
5759 |
public int dwLockID; //锁ID |
|
5760 |
public byte[] byLockCode = new byte[MAX_LOCK_CODE_LEN]; //锁代码 |
|
5761 |
public byte[] byRoomCode = new byte[MAX_DOOR_CODE_LEN]; //房间代码 |
|
5762 |
public int dwCardRight; //卡权限 |
|
5763 |
public int dwPlanTemplate; //计划模板(每天)各时间段是否启用,按位表示,0--不启用,1-启用 |
|
5764 |
public int dwCardUserId; //持卡人ID |
|
5765 |
public byte byCardModelType; //0-空,1- MIFARE S50,2- MIFARE S70,3- FM1208 CPU卡,4- FM1216 CPU卡,5-国密CPU卡,6-身份证,7- NFC |
|
5766 |
public byte[] byRes3 = new byte[83]; |
|
5767 |
} |
|
5768 |
|
|
5769 |
//有效期参数结构体 |
|
5770 |
public static class NET_DVR_VALID_PERIOD_CFG extends HIKSDKStructure { |
|
5771 |
public byte byEnable; |
|
5772 |
public byte[] byRes1 = new byte[3]; |
|
5773 |
public NET_DVR_TIME_EX struBeginTime; |
|
5774 |
public NET_DVR_TIME_EX struEndTime; |
|
5775 |
public byte byTimeType; //时间类型 |
|
5776 |
public byte[] byRes2 = new byte[31]; |
|
5777 |
} |
|
5778 |
|
|
5779 |
//扩展结构体信息 |
|
5780 |
public static class NET_DVR_ID_CARD_INFO_EXTEND extends HIKSDKStructure { |
|
5781 |
public byte byRemoteCheck; //是否需要远程核验(0-无效,1-不需要(默认),2-需要) |
|
5782 |
public byte byThermometryUnit; //测温单位(0-摄氏度(默认),1-华氏度,2-开尔文) |
|
5783 |
public byte byIsAbnomalTemperature; //人脸抓拍测温是否温度异常:1-是,0-否 |
|
5784 |
public byte byRes2; |
|
5785 |
public float fCurrTemperature; //人脸温度(精确到小数点后一位) |
|
5786 |
public NET_VCA_POINT struRegionCoordinates = new NET_VCA_POINT(); //人脸温度坐标 |
|
5787 |
public int dwQRCodeInfoLen; //二维码信息长度,不为0是表示后面带数据 |
|
5788 |
public int dwVisibleLightDataLen; //热成像相机可见光图片长度,不为0是表示后面带数据 |
|
5789 |
public int dwThermalDataLen; //热成像图片长度,不为0是表示后面带数据 |
|
5790 |
public Pointer pQRCodeInfo; //二维码信息指针 |
|
5791 |
public Pointer pVisibleLightData; //热成像相机可见光图片指针 |
|
5792 |
public Pointer pThermalData; //热成像图片指针 |
|
5793 |
public byte[] byRes = new byte[1024]; |
|
5794 |
} |
|
5795 |
|
|
5796 |
//身份证信息报警 |
|
5797 |
public static class NET_DVR_ID_CARD_INFO_ALARM extends HIKSDKStructure { |
|
5798 |
public int dwSize; //结构长度 |
|
5799 |
public NET_DVR_ID_CARD_INFO struIDCardCfg = new NET_DVR_ID_CARD_INFO();//身份证信息 |
|
5800 |
public int dwMajor; //报警主类型,参考宏定义 |
|
5801 |
public int dwMinor; //报警次类型,参考宏定义 |
|
5802 |
public NET_DVR_TIME_V30 struSwipeTime = new NET_DVR_TIME_V30(); //时间 |
|
5803 |
public byte[] byNetUser = new byte[MAX_NAMELEN];//网络操作的用户名 |
|
5804 |
public NET_DVR_IPADDR struRemoteHostAddr = new NET_DVR_IPADDR();//远程主机地址 |
|
5805 |
public int dwCardReaderNo; //读卡器编号,为0无效 |
|
5806 |
public int dwDoorNo; //门编号,为0无效 |
|
5807 |
public int dwPicDataLen; //图片数据大小,不为0是表示后面带数据 |
|
5808 |
public Pointer pPicData; |
|
5809 |
public byte byCardType; //卡类型,1-普通卡,2-残障人士卡,3-禁止名单卡,4-巡更卡,5-胁迫卡,6-超级卡,7-来宾卡,8-解除卡,为0无效 |
|
5810 |
public byte byDeviceNo; // 设备编号,为0时无效(有效范围1-255) |
|
5811 |
public byte byMask; //是否带口罩:0-保留,1-未知,2-不戴口罩,3-戴口罩 |
|
5812 |
public byte byCurrentEvent; //是否为实时事件:0-无效,1-是(实时事件),2-否(离线事件) |
|
5813 |
public int dwFingerPrintDataLen; // 指纹数据大小,不为0是表示后面带数据 |
|
5814 |
public Pointer pFingerPrintData; |
|
5815 |
public int dwCapturePicDataLen; // 抓拍图片数据大小,不为0是表示后面带数据 |
|
5816 |
public Pointer pCapturePicData; |
|
5817 |
public int dwCertificatePicDataLen; //证件抓拍图片数据大小,不为0是表示后面带数据 |
|
5818 |
public Pointer pCertificatePicData; |
|
5819 |
public byte byCardReaderKind; //读卡器属于哪一类,0-无效,1-IC读卡器,2-身份证读卡器,3-二维码读卡器,4-指纹头 |
|
5820 |
public byte[] byRes3 = new byte[2]; |
|
5821 |
public byte byIDCardInfoExtend; //pIDCardInfoExtend是否有效:0-无效,1-有效 |
|
5822 |
public Pointer pIDCardInfoExtend; //byIDCardInfoExtend为1时,表示指向一个NET_DVR_ID_CARD_INFO_EXTEND结构体 |
|
5823 |
public int dwSerialNo; //事件流水号,为0无效 |
|
5824 |
public byte[] byRes = new byte[168]; |
|
5825 |
} |
|
5826 |
|
|
5827 |
public static final int CARD_READER_DESCRIPTION = 32; //读卡器描述 |
|
5828 |
|
|
5829 |
public static class NET_DVR_CARD_READER_CFG_V50 extends HIKSDKStructure { |
|
5830 |
public int dwSize; |
|
5831 |
public byte byEnable; //是否使能,1-使能,0-不使能 |
|
5832 |
public byte byCardReaderType; //读卡器类型,1-DS-K110XM/MK/C/CK,2-DS-K192AM/AMP,3-DS-K192BM/BMP,4-DS-K182AM/AMP,5-DS-K182BM/BMP,6-DS-K182AMF/ACF,7-韦根或485不在线,8- DS-K1101M/MK,9- DS-K1101C/CK,10- DS-K1102M/MK/M-A,11- DS-K1102C/CK,12- DS-K1103M/MK,13- DS-K1103C/CK,14- DS-K1104M/MK,15- DS-K1104C/CK,16- DS-K1102S/SK/S-A,17- DS-K1102G/GK,18- DS-K1100S-B,19- DS-K1102EM/EMK,20- DS-K1102E/EK,21- DS-K1200EF,22- DS-K1200MF,23- DS-K1200CF,24- DS-K1300EF,25- DS-K1300MF,26- DS-K1300CF,27- DS-K1105E,28- DS-K1105M,29- DS-K1105C,30- DS-K182AMF,31- DS-K196AMF,32-DS-K194AMP,33-DS-K1T200EF/EF-C/MF/MF-C/CF/CF-C,34-DS-K1T300EF/EF-C/MF/MF-C/CF/CF-C,35-DS-K1T105E/E-C/M/M-C/C/C-C,36-DS-K1T803F/F-M/F-S/F-E,37-DS-K1A801F/F-M/F-S/F-E,38-DS-K1107M/MK,39-DS-K1107E/EK,40-DS-K1107S/SK,41-DS-K1108M/MK,42-DS-K1108E/EK,43-DS-K1108S/SK,44-DS-K1200F,45-DS-K1S110-I,46-DS-K1T200M-PG/PGC,47-DS-K1T200M-PZ/PZC,48-DS-K1109H |
|
5833 |
public byte byOkLedPolarity; //OK LED极性,0-阴极,1-阳极 |
|
5834 |
public byte byErrorLedPolarity; //Error LED极性,0-阴极,1-阳极 |
|
5835 |
public byte byBuzzerPolarity; //蜂鸣器极性,0-阴极,1-阳极 |
|
5836 |
public byte bySwipeInterval; //重复刷卡间隔时间,单位:秒 |
|
5837 |
public byte byPressTimeout; //按键超时时间,单位:秒 |
|
5838 |
public byte byEnableFailAlarm; //是否启用读卡失败超次报警,0-不启用,1-启用 |
|
5839 |
public byte byMaxReadCardFailNum; //最大读卡失败次数 |
|
5840 |
public byte byEnableTamperCheck; //是否支持防拆检测,0-disable ,1-enable |
|
5841 |
public byte byOfflineCheckTime; //掉线检测时间 单位秒 |
|
5842 |
public byte byFingerPrintCheckLevel; //指纹识别等级,1-1/10误认率,2-1/100误认率,3-1/1000误认率,4-1/10000误认率,5-1/100000误认率,6-1/1000000误认率,7-1/10000000误认率,8-1/100000000误认率,9-3/100误认率,10-3/1000误认率,11-3/10000误认率,12-3/100000误认率,13-3/1000000误认率,14-3/10000000误认率,15-3/100000000误认率,16-Automatic Normal,17-Automatic Secure,18-Automatic More Secure(目前门禁不支持) |
|
5843 |
public byte byUseLocalController; //只读,是否连接在就地控制器上,0-否,1-是 |
|
5844 |
public byte byRes1; |
|
5845 |
public short wLocalControllerID; //只读,就地控制器序号, byUseLocalController=1时有效,1-64,0代表未注册 |
|
5846 |
public short wLocalControllerReaderID; //只读,就地控制器的读卡器ID,byUseLocalController=1时有效,0代表未注册 |
|
5847 |
public short wCardReaderChannel; //只读,读卡器通信通道号,byUseLocalController=1时有效,0韦根或离线,1-RS485A,2-RS485B |
|
5848 |
public byte byFingerPrintImageQuality; //指纹图像质量,0-无效,1-低质量(V1),2-中等质量(V1),3-高质量(V1),4-最高质量(V1),5-低质量(V2),6-中等质量(V2),7-高质量(V2),8-最高质量(V2) |
|
5849 |
public byte byFingerPrintContrastTimeOut; //指纹对比超时时间,0-无效,范围1-20代表:1s-20s,0xff-无限大 |
|
5850 |
public byte byFingerPrintRecogizeInterval; //指纹连续识别间隔,0-无效,范围1-10代表:1s-10s,0xff-无延迟 |
|
5851 |
public byte byFingerPrintMatchFastMode; //指纹匹配快速模式,0-无效,范围1-5代表:快速模式1-快速模式5,0xff-自动 |
|
5852 |
public byte byFingerPrintModuleSensitive; //指纹模组灵敏度,0-无效,范围1-8代表:灵敏度级别1-灵敏度级别8 |
|
5853 |
public byte byFingerPrintModuleLightCondition; //指纹模组光线条件,0-无效,1-室外,2-室内 |
|
5854 |
public byte byFaceMatchThresholdN; //人脸比对阀值,范围0-100 |
|
5855 |
public byte byFaceQuality; //人脸质量,范围0-100 |
|
5856 |
public byte byFaceRecogizeTimeOut; //人脸识别超时时间,范围1-20代表:1s-20s,0xff-无限大 |
|
5857 |
public byte byFaceRecogizeInterval; //人脸连续识别间隔,0-无效,范围1-10代表:1s-10s,0xff-无延迟 |
|
5858 |
public short wCardReaderFunction; //只读,读卡器种类,按位表示:第1位-指纹,第二位-人脸,第三位-指静脉 |
|
5859 |
public byte[] byCardReaderDescription = new byte[CARD_READER_DESCRIPTION]; //读卡器描述 |
|
5860 |
public short wFaceImageSensitometry; //只读,人脸图像曝光度,范围0-65535 |
|
5861 |
public byte byLivingBodyDetect; //真人检测,0-无效,1-不启用,2-启用 |
|
5862 |
public byte byFaceMatchThreshold1; //人脸1:1匹配阀值,范围0-100 |
|
5863 |
public short wBuzzerTime; //蜂鸣时间,范围0s-5999s(0-代表长鸣) |
|
5864 |
public byte byFaceMatch1SecurityLevel; //人脸1:1识别安全等级,0-无效,1-一般,2-较强,3-极强 |
|
5865 |
public byte byFaceMatchNSecurityLevel; //人脸1:N识别安全等级,0-无效,1-一般,2-较强,3-极强 |
|
5866 |
public byte byEnvirMode;//人脸识别环境模式,0-无效,1-室内,2-其他; |
|
5867 |
public byte byLiveDetLevelSet;//活体检测阈值等级设置,0-无效,1-低,2-中,3-高; |
|
5868 |
public byte byLiveDetAntiAttackCntLimit;//活体检测防攻击次数, 0-无效,1-255次(客户端、设备统一次数限制,根据能力级限制); |
|
5869 |
public byte byEnableLiveDetAntiAttack;//活体检测防攻击使能,0-无效,1-不启用,2-启用 |
|
5870 |
public byte bySupportDelFPByID;//只读,读卡器是否支持按手指ID删除指纹,0-无效,1-不支持,2-支持 |
|
5871 |
public byte byFaceContrastMotionDetLevel;//人脸比对时移动侦测级别,0-无效,1-低,2-中,3-高,0xff-禁用 |
|
5872 |
public byte byDayFaceMatchThresholdN; //白天人脸1:N匹配阀值,范围0-100 |
|
5873 |
public byte byNightFaceMatchThresholdN; //夜晚人脸1:N匹配阀值,范围0-100 |
|
5874 |
public byte byFaceRecogizeEnable; //人脸识别使能:0-无效,1-开启,2-关闭 |
|
5875 |
public byte byBlockListMatchThreshold; //禁止名单匹配阀值,范围0-100 |
|
5876 |
public byte byRes3; |
|
5877 |
public byte byDefaultVerifyMode; //只读,读卡器默认验证方式(出厂默认),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-刷卡或指纹或密码 |
|
5878 |
public int dwFingerPrintCapacity;//只读,指纹容量 |
|
5879 |
public int dwFingerPrintNum;//只读,已存在指纹数量 |
|
5880 |
public byte byEnableFingerPrintNum;//只读,指纹容量使能:0-不使能,1-使能(只有当该字段为1-使能时,dwFingerPrintCapacity和dwFingerPrintNum才有效) |
|
5881 |
public byte[] byRes = new byte[231]; |
|
5882 |
} |
|
5883 |
|
|
5884 |
/**************** |
|
5885 |
* 优化接口结构体定义开始 |
|
5886 |
*************/ |
|
5887 |
|
|
5888 |
public static final int NET_SDK_CONFIG_STATUS_SUCCESS = 1000; |
|
5889 |
public static final int NET_SDK_CONFIG_STATUS_NEED_WAIT = 1001; |
|
5890 |
public static final int NET_SDK_CONFIG_STATUS_FINISH = 1002; |
|
5891 |
public static final int NET_SDK_CONFIG_STATUS_FAILED = 1003; |
|
5892 |
public static final int NET_SDK_CONFIG_STATUS_EXCEPTION = 1004; |
|
5893 |
|
|
5894 |
public static final int NET_SDK_GET_NEXT_STATUS_SUCCESS = 1000; |
|
5895 |
public static final int NET_SDK_GET_NEXT_STATUS_NEED_WAIT = 1001; |
|
5896 |
public static final int NET_SDK_NEXT_STATUS__FINISH = 1002; |
|
5897 |
public static final int NET_SDK_GET_NEXT_STATUS_FAILED = 1003; |
|
5898 |
|
|
5899 |
public static class NET_DVR_CARD_COND extends HIKSDKStructure { |
|
5900 |
public int dwSize; |
|
5901 |
public int dwCardNum; //设置或获取卡数量,获取时置为0xffffffff表示获取所有卡信息 |
|
5902 |
public byte[] byRes = new byte[64]; |
|
5903 |
} |
|
5904 |
|
|
5905 |
public static class NET_DVR_CARD_SEND_DATA extends HIKSDKStructure { |
|
5906 |
public int dwSize; |
|
5907 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //卡号 |
|
5908 |
public byte[] byRes = new byte[16]; |
|
5909 |
} |
|
5910 |
|
|
5911 |
public static class NET_DVR_CARD_RECORD extends HIKSDKStructure { |
|
5912 |
public int dwSize; |
|
5913 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; |
|
5914 |
public byte byCardType; |
|
5915 |
public byte byLeaderCard; |
|
5916 |
public byte byUserType; |
|
5917 |
public byte byRes1; |
|
5918 |
public byte[] byDoorRight = new byte[MAX_DOOR_NUM_256]; |
|
5919 |
public NET_DVR_VALID_PERIOD_CFG struValid = new NET_DVR_VALID_PERIOD_CFG(); |
|
5920 |
public byte[] byBelongGroup = new byte[MAX_GROUP_NUM_128]; |
|
5921 |
public byte[] byCardPassword = new byte[CARD_PASSWORD_LEN]; |
|
5922 |
public short[] wCardRightPlan = new short[MAX_DOOR_NUM_256]; |
|
5923 |
public int dwMaxSwipeTimes; |
|
5924 |
public int dwSwipeTimes; |
|
5925 |
public int dwEmployeeNo; |
|
5926 |
public byte[] byName = new byte[NAME_LEN]; |
|
5927 |
//按位表示,0-无权限,1-有权限 |
|
5928 |
//第0位表示:弱电报警 |
|
5929 |
//第1位表示:开门提示音 |
|
5930 |
//第2位表示:限制客卡 |
|
5931 |
//第3位表示:通道 |
|
5932 |
//第4位表示:反锁开门 |
|
5933 |
//第5位表示:巡更功能 |
|
5934 |
public int dwCardRight; |
|
5935 |
public byte[] byRes = new byte[256]; |
|
5936 |
} |
|
5937 |
|
|
5938 |
public static class NET_DVR_CARD_STATUS extends HIKSDKStructure { |
|
5939 |
public int dwSize; |
|
5940 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; |
|
5941 |
public int dwErrorCode; |
|
5942 |
public byte byStatus; // 状态:0-失败,1-成功 |
|
5943 |
public byte[] byRes = new byte[23]; |
|
5944 |
} |
|
5945 |
|
|
5946 |
|
|
5947 |
public static class NET_DVR_FACE_COND extends HIKSDKStructure { |
|
5948 |
public int dwSize; |
|
5949 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; |
|
5950 |
public int dwFaceNum; |
|
5951 |
public int dwEnableReaderNo; |
|
5952 |
public byte[] byRes = new byte[124]; |
|
5953 |
} |
|
5954 |
|
|
5955 |
public static class NET_DVR_FACE_RECORD extends HIKSDKStructure { |
|
5956 |
public int dwSize; |
|
5957 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; |
|
5958 |
public int dwFaceLen; |
|
5959 |
public Pointer pFaceBuffer; |
|
5960 |
public byte[] byRes = new byte[128]; |
|
5961 |
} |
|
5962 |
|
|
5963 |
public static class NET_DVR_FACE_STATUS extends HIKSDKStructure { |
|
5964 |
public int dwSize; |
|
5965 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; |
|
5966 |
public byte[] byErrorMsg = new byte[ERROR_MSG_LEN]; |
|
5967 |
public int dwReaderNo; |
|
5968 |
public byte byRecvStatus; |
|
5969 |
public byte[] byRes = new byte[131]; |
|
5970 |
} |
|
5971 |
|
|
5972 |
public static class NET_DVR_FINGERPRINT_COND extends HIKSDKStructure { |
|
5973 |
public int dwSize; |
|
5974 |
public int dwFingerprintNum; |
|
5975 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; |
|
5976 |
public int dwEnableReaderNo; |
|
5977 |
public byte byFingerPrintID; |
|
5978 |
public byte[] byRes = new byte[131]; |
|
5979 |
} |
|
5980 |
|
|
5981 |
public static class NET_DVR_FINGERPRINT_RECORD extends HIKSDKStructure { |
|
5982 |
public int dwSize; |
|
5983 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; |
|
5984 |
public int dwFingerPrintLen; //指纹数据长度 |
|
5985 |
public int dwEnableReaderNo; //需要下发指纹的读卡器编号 |
|
5986 |
public byte byFingerPrintID; //手指编号,有效值范围为1-10 |
|
5987 |
public byte byFingerType; //指纹类型 0-普通指纹,1-胁迫指纹 |
|
5988 |
public byte[] byRes1 = new byte[30]; |
|
5989 |
public byte[] byFingerData = new byte[MAX_FINGER_PRINT_LEN]; //指纹数据内容 |
|
5990 |
public byte[] byRes = new byte[96]; |
|
5991 |
} |
|
5992 |
|
|
5993 |
public static class NET_DVR_FINGERPRINT_STATUS extends HIKSDKStructure { |
|
5994 |
public int dwSize; |
|
5995 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //指纹关联的卡号 |
|
5996 |
public byte byCardReaderRecvStatus; //指纹读卡器状态,按字节表示,0-失败,1-成功,2-该指纹模组不在线,3-重试或指纹质量差,4-内存已满,5-已存在该指纹,6-已存在该指纹ID,7-非法指纹ID,8-该指纹模组无需配置 |
|
5997 |
public byte byFingerPrintID; //手指编号,有效值范围为1-10 |
|
5998 |
public byte byFingerType; //指纹类型 0-普通指纹,1-胁迫指纹 |
|
5999 |
public byte byRecvStatus; //主机错误状态:0-成功,1-手指编号错误,2-指纹类型错误,3-卡号错误(卡号规格不符合设备要求),4-指纹未关联工号或卡号(工号或卡号字段为空),5-工号不存在,6-指纹数据长度为0,7-读卡器编号错误,8-工号错误 |
|
6000 |
public byte[] byErrorMsg = new byte[ERROR_MSG_LEN]; //下发错误信息,当byCardReaderRecvStatus为5时,表示已存在指纹对应的卡号 |
|
6001 |
public int dwCardReaderNo; //当byCardReaderRecvStatus为5时,表示已存在指纹对应的指纹读卡器编号,可用于下发错误返回。0时表示无错误信息 |
|
6002 |
public byte[] byRes = new byte[20]; |
|
6003 |
} |
|
6004 |
|
|
6005 |
public static class NET_DVR_CAPTURE_FINGERPRINT_COND extends HIKSDKStructure { |
|
6006 |
public int dwSize; |
|
6007 |
public byte byFingerPrintPicType; //图片类型:0-无意义 |
|
6008 |
public byte byFingerNo; //手指编号,范围1-10 |
|
6009 |
public byte[] byRes = new byte[126]; |
|
6010 |
} |
|
6011 |
|
|
6012 |
// |
|
6013 |
public static class NET_DVR_CAPTURE_FINGERPRINT_CFG extends HIKSDKStructure { |
|
6014 |
public int dwSize; |
|
6015 |
public int dwFingerPrintDataSize; //指纹数据大小 |
|
6016 |
public byte[] byFingerData = new byte[MAX_FINGER_PRINT_LEN]; //图片类型:0-无意义 |
|
6017 |
public int dwFingerPrintPicSize; //指纹图片大小,等于0时,代表无指纹图片数据 |
|
6018 |
public Pointer pFingerPrintPicBuffer; //指纹图片缓存 |
|
6019 |
public byte byFingerNo; //手指编号,范围1-10 |
|
6020 |
public byte byFingerPrintQuality; //指纹质量,范围1-100 |
|
6021 |
public byte[] byRes = new byte[62]; |
|
6022 |
} |
|
6023 |
|
|
6024 |
public static class NET_DVR_FINGER_PRINT_INFO_CTRL_V50 extends HIKSDKStructure { |
|
6025 |
public int dwSize; |
|
6026 |
public byte byMode; //删除方式,0-按卡号(人员ID)方式删除,1-按读卡器删除 |
|
6027 |
public byte[] byRes1 = new byte[3]; //保留 |
|
6028 |
public NET_DVR_DEL_FINGER_PRINT_MODE_V50 struProcessMode; //处理方式 |
|
6029 |
public byte[] byRes = new byte[64]; //保留 |
|
6030 |
} |
|
6031 |
|
|
6032 |
public static class NET_DVR_DEL_FINGER_PRINT_MODE_V50 extends Union { |
|
6033 |
public byte[] uLen = new byte[588]; //联合体长度 |
|
6034 |
public NET_DVR_FINGER_PRINT_BYCARD_V50 struByCard; //按卡号(人员ID)的方式删除 |
|
6035 |
public NET_DVR_FINGER_PRINT_BYREADER_V50 struByReader; //按读卡器的方式删除 |
|
6036 |
} |
|
6037 |
|
|
6038 |
public static class NET_DVR_FINGER_PRINT_BYREADER_V50 extends HIKSDKStructure { |
|
6039 |
public int dwCardReaderNo; //按值表示,指纹读卡器编号 |
|
6040 |
public byte byClearAllCard; //是否删除所有卡的指纹信息,0-按卡号(人员ID)删除指纹信息,1-删除所有卡(人员ID)的指纹信息 |
|
6041 |
public byte[] byRes1 = new byte[3]; //保留 |
|
6042 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //指纹关联的卡号 |
|
6043 |
public byte[] byEmployeeNo = new byte[NET_SDK_EMPLOYEE_NO_LEN]; //工号(人员ID) |
|
6044 |
public byte[] byRes = new byte[516]; //保留 |
|
6045 |
} |
|
6046 |
|
|
6047 |
public static class NET_DVR_FINGER_PRINT_BYCARD_V50 extends HIKSDKStructure { |
|
6048 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //指纹关联的卡号 |
|
6049 |
public byte[] byEnableCardReader = new byte[MAX_CARD_READER_NUM_512]; //指纹的读卡器信息,按位表示 |
|
6050 |
public byte[] byFingerPrintID = new byte[10]; //需要删除的手指编号,按数组下标,值表示0-不删除,1-删除该指纹 |
|
6051 |
public byte[] byRes1 = new byte[2]; |
|
6052 |
public byte[] byEmployeeNo = new byte[NET_SDK_EMPLOYEE_NO_LEN]; //工号(人员ID) |
|
6053 |
} |
|
6054 |
|
|
6055 |
//人脸删除控制参数结构体 |
|
6056 |
public static class NET_DVR_FACE_PARAM_CTRL extends HIKSDKStructure { |
|
6057 |
public int dwSize; |
|
6058 |
public byte byMode; //删除方式,0-按卡号方式删除,1-按读卡器删除 |
|
6059 |
public byte[] byRes1 = new byte[3]; //保留 |
|
6060 |
public NET_DVR_DEL_FACE_PARAM_MODE struProcessMode = new NET_DVR_DEL_FACE_PARAM_MODE(); //处理方式 |
|
6061 |
public byte[] byRes = new byte[64]; //保留 |
|
6062 |
|
|
6063 |
public void read() { |
|
6064 |
super.read(); |
|
6065 |
switch (byMode) { |
|
6066 |
case 0: |
|
6067 |
struProcessMode.setType(NET_DVR_FACE_PARAM_BYCARD.class); |
|
6068 |
break; |
|
6069 |
case 1: |
|
6070 |
struProcessMode.setType(NET_DVR_FACE_PARAM_BYREADER.class); |
|
6071 |
break; |
|
6072 |
default: |
|
6073 |
break; |
|
6074 |
} |
|
6075 |
struProcessMode.read(); |
|
6076 |
} |
|
6077 |
|
|
6078 |
public void write() { |
|
6079 |
super.write(); |
|
6080 |
struProcessMode.write(); |
|
6081 |
} |
|
6082 |
} |
|
6083 |
|
|
6084 |
//指纹删除控制参数结构体 |
|
6085 |
public static class NET_DVR_FINGER_PRINT_INFO_CTRL extends HIKSDKStructure { |
|
6086 |
public int dwSize; |
|
6087 |
public byte byMode; //删除方式,0-按卡号方式删除,1-按读卡器删除 |
|
6088 |
public byte[] byRes1 = new byte[3]; //保留 |
|
6089 |
public NET_DVR_DEL_FINGER_PRINT_MODE struProcessMode = new NET_DVR_DEL_FINGER_PRINT_MODE(); //处理方式 |
|
6090 |
public byte[] byRes = new byte[64]; //保留 |
|
6091 |
|
|
6092 |
public void read() { |
|
6093 |
super.read(); |
|
6094 |
switch (byMode) { |
|
6095 |
case 0: |
|
6096 |
struProcessMode.setType(NET_DVR_FINGER_PRINT_BYCARD.class); |
|
6097 |
break; |
|
6098 |
case 1: |
|
6099 |
struProcessMode.setType(NET_DVR_FINGER_PRINT_BYREADER.class); |
|
6100 |
break; |
|
6101 |
default: |
|
6102 |
break; |
|
6103 |
} |
|
6104 |
struProcessMode.read(); |
|
6105 |
} |
|
6106 |
|
|
6107 |
public void write() { |
|
6108 |
super.write(); |
|
6109 |
struProcessMode.write(); |
|
6110 |
} |
|
6111 |
} |
|
6112 |
|
|
6113 |
public static class NET_DVR_DEL_FINGER_PRINT_MODE extends Union { |
|
6114 |
// public byte[] uLen = new byte[588]; //联合体长度 |
|
6115 |
public NET_DVR_FINGER_PRINT_BYCARD struByCard; //按卡号的方式删除 |
|
6116 |
public NET_DVR_FINGER_PRINT_BYREADER struByReader; //按读卡器的方式删除 |
|
6117 |
} |
|
6118 |
|
|
6119 |
public static class NET_DVR_FINGER_PRINT_BYCARD extends HIKSDKStructure { |
|
6120 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //人脸关联的卡号 |
|
6121 |
public byte[] byEnableCardReader = new byte[MAX_CARD_READER_NUM_512]; //人脸的读卡器信息,按数组表示 |
|
6122 |
public byte[] byFaceID = new byte[MAX_FACE_NUM]; //需要删除的人脸编号,按数组下标,值表示0-不删除,1-删除该人脸 |
|
6123 |
public byte[] byRes1 = new byte[34]; //保留 |
|
6124 |
} |
|
6125 |
|
|
6126 |
public static class NET_DVR_FINGER_PRINT_BYREADER extends HIKSDKStructure { |
|
6127 |
public int dwCardReaderNo; //按值表示,人脸读卡器编号 |
|
6128 |
public byte byClearAllCard; //是否删除所有卡的人脸信息,0-按卡号删除人脸信息,1-删除所有卡的人脸信息 |
|
6129 |
public byte[] byRes1 = new byte[3]; //保留 |
|
6130 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //人脸关联的卡号 |
|
6131 |
public byte[] byRes = new byte[548]; //保留 |
|
6132 |
} |
|
6133 |
|
|
6134 |
//门禁主机参数 |
|
6135 |
public static class NET_DVR_ACS_CFG extends HIKSDKStructure { |
|
6136 |
public int dwSize; //结构体大小 |
|
6137 |
public byte byRS485Backup; //是否启用下行RS485通信备份功能,0-不启用,1-启用 |
|
6138 |
public byte byShowCapPic; //是否显示抓拍图片, 0-不显示,1-显示 |
|
6139 |
public byte byShowCardNo; //是否显示卡号,0-不显示,1-显示 |
|
6140 |
public byte byShowUserInfo; //是否显示用户信息,0-不显示,1-显示 |
|
6141 |
public byte byOverlayUserInfo;//是否叠加用户信息,0-不叠加,1-叠加 |
|
6142 |
public byte byVoicePrompt; //是否启用语音提示,0-不启用,1-启用 |
|
6143 |
public byte byUploadCapPic; //联动抓拍是否上传图片,0-不上传,1-上传 |
|
6144 |
public byte bySaveCapPic; //是否保存抓拍图片,0-不保存,1-保存 |
|
6145 |
public byte byInputCardNo; //是否是否允许按键输入卡号,0-不允许,1-允许 |
|
6146 |
public byte byEnableWifiDetect; //是否启动wifi探针,0-不启动,1-启动 |
|
6147 |
public byte byEnable3G4G; //3G4G使能,0-不使能,1-使能 |
|
6148 |
public byte byProtocol;//读卡器通信协议类型,0-私有协议(默认),1-OSDP协议 |
|
6149 |
public byte[] byRes = new byte[500]; |
|
6150 |
} |
|
6151 |
|
|
6152 |
/************** |
|
6153 |
* 优化接口结构体定义结束 |
|
6154 |
***************************/ |
|
6155 |
public static class NET_DVR_UPLOAD_ID_BLOCKLIST_COND extends HIKSDKStructure { |
|
6156 |
public int dwSize; |
|
6157 |
public int dwBlockListNum; //禁止名单数量 |
|
6158 |
public byte[] byRes = new byte[128]; |
|
6159 |
} |
|
6160 |
|
|
6161 |
public static class NET_DVR_UPLOAD_ID_BLOCKLIST_CFG extends HIKSDKStructure { |
|
6162 |
public int dwSize; |
|
6163 |
public NET_DVR_ID_CARD_INFO struIDCardCfg; //身份证信息(该结构体中姓名和身份证号码为必填项,其他字段为选填项) |
|
6164 |
public byte byBlockListValid; //身份证禁止名单是否有效:0-无效,1-有效(用于按身份证号码删除身份证禁止名单,该字段为0时代表删除) |
|
6165 |
public byte[] byRes = new byte[127]; //预留 |
|
6166 |
} |
|
6167 |
|
|
6168 |
public static class NET_DVR_UPLOAD_ID_BLOCKLIST_STATUS extends HIKSDKStructure { |
|
6169 |
public int dwSize; |
|
6170 |
public byte[] byIDNum = new byte[MAX_ID_NUM_LEN]; //身份证号码 |
|
6171 |
public byte byStatus; //状态:0-无效,1-处理中,2-上传失败,3-成功 |
|
6172 |
public byte[] byRes = new byte[63]; |
|
6173 |
} |
|
6174 |
|
|
6175 |
public static class REMOTECONFIGSTATUS extends HIKSDKStructure { |
|
6176 |
public byte[] byStatus = new byte[4]; |
|
6177 |
public byte[] byErrorCode = new byte[4]; |
|
6178 |
} |
|
6179 |
|
|
6180 |
|
|
6181 |
//开锁记录 |
|
6182 |
public static class NET_DVR_UNLOCK_RECORD_INFO extends HIKSDKStructure { |
|
6183 |
public byte byUnlockType; //开锁方式,参考UNLOCK_TYPE_ENUM |
|
6184 |
public byte[] byRes1 = new byte[3]; //保留 |
|
6185 |
public byte[] byControlSrc = new byte[NAME_LEN]; //操作发起源信息,刷卡开锁时为卡号,蓝牙开锁时为萤石的APP账号,二维码开锁时为访客的手机号,其余情况下为设备编号 |
|
6186 |
public int dwPicDataLen; //图片数据长度 |
|
6187 |
public Pointer pImage; //图片指针 |
|
6188 |
public int dwCardUserID; //持卡人ID |
|
6189 |
public short nFloorNumber;//刷卡开锁时有效,为楼层号 |
|
6190 |
public short wRoomNumber; //操作发起源附加信息,刷卡开锁时有效,为房间号, |
|
6191 |
public short wLockID; //(对于门口机,0-表示本机控制器上接的锁、1-表示外接控制器上接的锁) |
|
6192 |
public byte[] byRes2 = new byte[2]; |
|
6193 |
public byte[] byLockName = new byte[LOCK_NAME_LEN]; //刷卡开锁时有效,锁名称,对应门参数配置中门名称 |
|
6194 |
public byte[] byEmployeeNo = new byte[NET_SDK_EMPLOYEE_NO_LEN]; //工号(人员ID) |
|
6195 |
public byte[] byRes = new byte[136]; //保留 |
|
6196 |
} |
|
6197 |
|
|
6198 |
//公告信息阅读回执 |
|
6199 |
public static class NET_DVR_NOTICEDATA_RECEIPT_INFO extends HIKSDKStructure { |
|
6200 |
public byte[] byNoticeNumber = new byte[MAX_NOTICE_NUMBER_LEN]; //公告编号 |
|
6201 |
public byte[] byRes = new byte[224]; //保留 |
|
6202 |
} |
|
6203 |
|
|
6204 |
//认证记录(设备未实现) |
|
6205 |
public static class NET_DVR_AUTH_INFO extends HIKSDKStructure { |
|
6206 |
public byte byAuthResult; //认证结果:0-无效,1-认证成功,2-认证失败 |
|
6207 |
public byte byAuthType; //认证方式:0-无效,1-指纹,2-人脸 |
|
6208 |
public byte[] byRes1 = new byte[2]; //保留 |
|
6209 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN/*32*/]; //卡号 |
|
6210 |
public int dwPicDataLen; //图片数据长度(当认证方式byAuthType为人脸时有效) |
|
6211 |
public Pointer pImage; //图片指针(当认证方式byAuthType为人脸时有效) |
|
6212 |
public byte[] byRes = new byte[212]; //保留 |
|
6213 |
} |
|
6214 |
|
|
6215 |
//车牌信息上传 |
|
6216 |
public static class NET_DVR_UPLOAD_PLATE_INFO extends HIKSDKStructure { |
|
6217 |
public byte[] sLicense = new byte[MAX_LICENSE_LEN]; //车牌号码 |
|
6218 |
public byte byColor; //车牌颜色,参考结构VCA_PLATE_COLOR |
|
6219 |
public byte[] byRes = new byte[239]; //保留 |
|
6220 |
} |
|
6221 |
|
|
6222 |
public static class NET_DVR_SEND_CARD_INFO extends HIKSDKStructure { |
|
6223 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN/*32*/]; //卡号 |
|
6224 |
public byte[] byRes = new byte[224]; //保留 |
|
6225 |
} |
|
6226 |
|
|
6227 |
//可视对讲事件记录信息联合体 |
|
6228 |
public static class NET_DVR_VIDEO_INTERCOM_EVENT_INFO_UINON extends Union { |
|
6229 |
public byte[] byLen = new byte[256]; //联合体大小 |
|
6230 |
public NET_DVR_UNLOCK_RECORD_INFO struUnlockRecord = new NET_DVR_UNLOCK_RECORD_INFO(); //开锁记录 |
|
6231 |
public NET_DVR_NOTICEDATA_RECEIPT_INFO struNoticedataReceipt = new NET_DVR_NOTICEDATA_RECEIPT_INFO(); //公告信息阅读回执 |
|
6232 |
public NET_DVR_AUTH_INFO struAuthInfo = new NET_DVR_AUTH_INFO(); //认证记录(设备未实现) |
|
6233 |
public NET_DVR_UPLOAD_PLATE_INFO struUploadPlateInfo = new NET_DVR_UPLOAD_PLATE_INFO(); //车牌信息上传 |
|
6234 |
public NET_DVR_SEND_CARD_INFO struSendCardInfo = new NET_DVR_SEND_CARD_INFO(); //门口机发卡,对应设备处于发卡状态,刷卡时上传该事件 |
|
6235 |
} |
|
6236 |
|
|
6237 |
//可视对讲事件记录 |
|
6238 |
public static class NET_DVR_VIDEO_INTERCOM_EVENT extends HIKSDKStructure { |
|
6239 |
public int dwSize; //结构体大小 |
|
6240 |
public NET_DVR_TIME_EX struTime = new NET_DVR_TIME_EX(); //时间 |
|
6241 |
public byte[] byDevNumber = new byte[MAX_DEV_NUMBER_LEN]; //设备编号 |
|
6242 |
public byte byEventType; //事件信息类型,1-开锁记录,2-公告信息阅读回执,3-认证记录,4-车牌信息上传,5非法卡刷卡事件,6-门口机发卡记录(需要启动门口机发卡功能,刷卡时才会上传该事件) |
|
6243 |
public byte byPicTransType; //图片数据传输方式: 0-二进制;1-url |
|
6244 |
public byte[] byRes1 = new byte[2]; //保留 |
|
6245 |
public NET_DVR_VIDEO_INTERCOM_EVENT_INFO_UINON uEventInfo = new NET_DVR_VIDEO_INTERCOM_EVENT_INFO_UINON(); //事件信息,具体内容参考byEventType取值 |
|
6246 |
public int dwIOTChannelNo; //IOT通道号 |
|
6247 |
public byte[] byRes2 = new byte[252]; //保留 |
|
6248 |
} |
|
6249 |
|
|
6250 |
public static class NET_DVR_CONTROL_GATEWAY extends HIKSDKStructure { |
|
6251 |
public int dwSize; //结构体大小 |
|
6252 |
public int dwGatewayIndex; //门禁序号,从1开始 |
|
6253 |
public byte byCommand; //操作命令,0-关闭,1-打开,2-常开(通道状态),3-恢复(普通状态) |
|
6254 |
public byte byLockType; //锁类型,0-普通(以前默认都为0),1-智能锁 |
|
6255 |
public short wLockID; //锁ID,从1开始(远程开门口机锁时,0表示门口机本机控制器上接的锁、1表示外接控制器上接的锁) |
|
6256 |
public byte[] byControlSrc = new byte[NAME_LEN]; //操作发起源信息 |
|
6257 |
public byte byControlType; //开锁类型,1-监视,2-通话 |
|
6258 |
public byte[] byRes3 = new byte[3]; |
|
6259 |
public byte[] byPassword = new byte[PASSWD_LEN]; //锁密码,当byLockType为智能锁时有效 |
|
6260 |
public byte[] byRes2 = new byte[108]; //保留 |
|
6261 |
} |
|
6262 |
|
|
6263 |
|
|
6264 |
//公告图片信息结构体 |
|
6265 |
public static class NET_DVR_NOTICE_PIC extends HIKSDKStructure { |
|
6266 |
public Pointer pPicData; //图片指针 |
|
6267 |
public int dwPicDataLen; //图片数据长度 |
|
6268 |
public byte[] byRes = new byte[32]; //保留 |
|
6269 |
} |
|
6270 |
|
|
6271 |
//公告数据 |
|
6272 |
public static class NET_DVR_NOTICE_DATA extends HIKSDKStructure { |
|
6273 |
public int dwSize; //结构体大小 |
|
6274 |
public NET_DVR_TIME_EX struTime = new NET_DVR_TIME_EX(); //公告时间 |
|
6275 |
public byte[] byNoticeNumber = new byte[MAX_NOTICE_NUMBER_LEN]; //公告编号 |
|
6276 |
public byte[] byNoticeTheme = new byte[MAX_NOTICE_THEME_LEN];//公告主题 |
|
6277 |
public byte[] byNoticeDetail = new byte[MAX_NOTICE_DETAIL_LEN]; //公告详情 |
|
6278 |
public byte byLevel; //公告等级,1-广告类信息;2-物业信息;3-报警类信息;4-通知类信息 |
|
6279 |
public byte byPicNum; //公告图片数量 |
|
6280 |
public byte[] byRes1 = new byte[2]; //保留 |
|
6281 |
public NET_DVR_NOTICE_PIC[] struNoticePic = new NET_DVR_NOTICE_PIC[MAX_NOTICE_PIC_NUM]; //公告图片 |
|
6282 |
public byte[] byRes2 = new byte[128]; //保留 |
|
6283 |
} |
|
6284 |
|
|
6285 |
public static class NET_DVR_DATE extends HIKSDKStructure { |
|
6286 |
public short wYear; //年 |
|
6287 |
public byte byMonth; //月 |
|
6288 |
public byte byDay; //日 |
|
6289 |
} |
|
6290 |
|
|
6291 |
//身份证信息 |
|
6292 |
public static class NET_DVR_ID_CARD_INFO extends HIKSDKStructure { |
|
6293 |
public int dwSize; //结构长度 |
|
6294 |
public byte[] byName = new byte[MAX_ID_NAME_LEN]; //姓名 |
|
6295 |
public NET_DVR_DATE struBirth; //出生日期 |
|
6296 |
public byte[] byAddr = new byte[MAX_ID_ADDR_LEN]; //住址 |
|
6297 |
public byte[] byIDNum = new byte[MAX_ID_NUM_LEN]; //身份证号码 |
|
6298 |
public byte[] byIssuingAuthority = new byte[MAX_ID_ISSUING_AUTHORITY_LEN]; //签发机关 |
|
6299 |
public NET_DVR_DATE struStartDate; //有效开始日期 |
|
6300 |
public NET_DVR_DATE struEndDate; //有效截止日期 |
|
6301 |
public byte byTermOfValidity; //是否长期有效, 0-否,1-是(有效截止日期无效) |
|
6302 |
public byte bySex; //性别,1-男,2-女 |
|
6303 |
public byte byNation; //民族 |
|
6304 |
public byte[] byRes = new byte[101]; |
|
6305 |
} |
|
6306 |
|
|
6307 |
public static class NET_DVR_ACS_EVENT_INFO_EXTEND_V20 extends HIKSDKStructure { |
|
6308 |
public byte byRemoteCheck; //是否需要远程核验(0-无效,1-不需要(默认),2-需要) |
|
6309 |
public byte byThermometryUnit; //测温单位(0-摄氏度(默认),1-华氏度,2-开尔文) |
|
6310 |
public byte byIsAbnomalTemperature; //人脸抓拍测温是否温度异常:1-是,0-否 |
|
6311 |
public byte byRes2; |
|
6312 |
public float fCurrTemperature; //人脸温度(精确到小数点后一位) |
|
6313 |
public NET_VCA_POINT struRegionCoordinates = new NET_VCA_POINT(); //人脸温度坐标 |
|
6314 |
public int dwQRCodeInfoLen; //二维码信息长度,不为0是表示后面带数据 |
|
6315 |
public int dwVisibleLightDataLen; //热成像相机可见光图片长度,不为0是表示后面带数据 |
|
6316 |
public int dwThermalDataLen; //热成像图片长度,不为0是表示后面带数据 |
|
6317 |
public Pointer pQRCodeInfo; //二维码信息指针 |
|
6318 |
public Pointer pVisibleLightData; //热成像相机可见光图片指针 |
|
6319 |
public Pointer pThermalData; //热成像图片指针 |
|
6320 |
public byte[] byRes = new byte[1024]; |
|
6321 |
|
|
6322 |
|
|
6323 |
} |
|
6324 |
|
|
6325 |
//门禁主机报警信息结构体 |
|
6326 |
public static class NET_DVR_ACS_ALARM_INFO extends HIKSDKStructure { |
|
6327 |
public int dwSize; |
|
6328 |
public int dwMajor; //报警主类型,参考宏定义 |
|
6329 |
public int dwMinor; //报警次类型,参考宏定义 |
|
6330 |
public NET_DVR_TIME struTime = new NET_DVR_TIME(); //时间 |
|
6331 |
public byte[] sNetUser = new byte[MAX_NAMELEN];//网络操作的用户名 |
|
6332 |
public NET_DVR_IPADDR struRemoteHostAddr = new NET_DVR_IPADDR();//远程主机地址 |
|
6333 |
public NET_DVR_ACS_EVENT_INFO struAcsEventInfo = new NET_DVR_ACS_EVENT_INFO(); //详细参数 |
|
6334 |
public int dwPicDataLen; //图片数据大小,不为0是表示后面带数据 |
|
6335 |
public Pointer pPicData; |
|
6336 |
public short wInductiveEventType; //归纳事件类型,0-无效,客户端判断该值为非0值后,报警类型通过归纳事件类型区分,否则通过原有报警主次类型(dwMajor、dwMinor)区分 |
|
6337 |
public byte byPicTransType; //图片数据传输方式: 0-二进制;1-url |
|
6338 |
public byte byRes1; //保留字节 |
|
6339 |
public int dwIOTChannelNo; //IOT通道号 |
|
6340 |
public Pointer pAcsEventInfoExtend; //byAcsEventInfoExtend为1时,表示指向一个NET_DVR_ACS_EVENT_INFO_EXTEND结构体 |
|
6341 |
public byte byAcsEventInfoExtend; //pAcsEventInfoExtend是否有效:0-无效,1-有效 |
|
6342 |
public byte byTimeType; //时间类型:0-设备本地时间,1-UTC时间(struTime的时间) |
|
6343 |
public byte byRes2; //保留字节 |
|
6344 |
public byte byAcsEventInfoExtendV20; //pAcsEventInfoExtendV20是否有效:0-无效,1-有效 |
|
6345 |
public Pointer pAcsEventInfoExtendV20; //byAcsEventInfoExtendV20为1时,表示指向一个NET_DVR_ACS_EVENT_INFO_EXTEND_V20结构体 |
|
6346 |
public byte[] byRes = new byte[4]; |
|
6347 |
} |
|
6348 |
|
|
6349 |
//门禁主机事件信息 |
|
6350 |
public static class NET_DVR_ACS_EVENT_INFO extends HIKSDKStructure { |
|
6351 |
public int dwSize; |
|
6352 |
public byte[] byCardNo = new byte[32]; |
|
6353 |
public byte byCardType; |
|
6354 |
public byte byAllowListNo; |
|
6355 |
public byte byReportChannel; |
|
6356 |
public byte byCardReaderKind; |
|
6357 |
public int dwCardReaderNo; |
|
6358 |
public int dwDoorNo; |
|
6359 |
public int dwVerifyNo; |
|
6360 |
public int dwAlarmInNo; |
|
6361 |
public int dwAlarmOutNo; |
|
6362 |
public int dwCaseSensorNo; |
|
6363 |
public int dwRs485No; |
|
6364 |
public int dwMultiCardGroupNo; |
|
6365 |
public short wAccessChannel; |
|
6366 |
public byte byDeviceNo; |
|
6367 |
public byte byDistractControlNo; |
|
6368 |
public int dwEmployeeNo; |
|
6369 |
public short wLocalControllerID; |
|
6370 |
public byte byInternetAccess; |
|
6371 |
public byte byType; |
|
6372 |
public byte[] byMACAddr = new byte[MACADDR_LEN]; //物理地址,为0无效 |
|
6373 |
public byte bySwipeCardType;//刷卡类型,0-无效,1-二维码 |
|
6374 |
public byte byMask; //是否带口罩:0-保留,1-未知,2-不戴口罩,3-戴口罩 |
|
6375 |
public int dwSerialNo; //事件流水号,为0无效 |
|
6376 |
public byte byChannelControllerID; //通道控制器ID,为0无效,1-主通道控制器,2-从通道控制器 |
|
6377 |
public byte byChannelControllerLampID; //通道控制器灯板ID,为0无效(有效范围1-255) |
|
6378 |
public byte byChannelControllerIRAdaptorID; //通道控制器红外转接板ID,为0无效(有效范围1-255) |
|
6379 |
public byte byChannelControllerIREmitterID; //通道控制器红外对射ID,为0无效(有效范围1-255) |
|
6380 |
public byte byHelmet;//可选,是否戴安全帽:0-保留,1-未知,2-不戴安全, 3-戴安全帽 |
|
6381 |
public byte[] byRes = new byte[3]; |
|
6382 |
} |
|
6383 |
|
|
6384 |
public static final int NET_DEV_NAME_LEN = 64; |
|
6385 |
|
|
6386 |
public static class NET_DVR_ACS_EVENT_INFO_EXTEND extends HIKSDKStructure { |
|
6387 |
public int dwFrontSerialNo; //事件流水号,为0无效(若该字段为0,平台根据dwSerialNo判断是否丢失事件;若该字段不为0,平台根据该字段和dwSerialNo字段共同判断是否丢失事件)(主要用于解决报警订阅后导致dwSerialNo不连续的情况) |
|
6388 |
public byte byUserType; //人员类型:0-无效,1-普通人(主人),2-来宾(访客),3-禁止名单人,4-管理员 |
|
6389 |
public byte byCurrentVerifyMode; //读卡器当前验证方式:0-无效,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-刷卡或指纹或密码 |
|
6390 |
public byte byCurrentEvent; //是否为实时事件:0-无效,1-是(实时事件),2-否(离线事件) |
|
6391 |
public byte byPurePwdVerifyEnable; //设备是否支持纯密码认证, 0-不支持,1-支持 |
|
6392 |
public byte[] byEmployeeNo = new byte[NET_SDK_EMPLOYEE_NO_LEN]; //工号(人员ID)(对于设备来说,如果使用了工号(人员ID)字段,byEmployeeNo一定要传递,如果byEmployeeNo可转换为dwEmployeeNo,那么该字段也要传递;对于上层平台或客户端来说,优先解析byEmployeeNo字段,如该字段为空,再考虑解析dwEmployeeNo字段) |
|
6393 |
public byte byAttendanceStatus; //考勤状态:0-未定义,1-上班,2-下班,3-开始休息,4-结束休息,5-开始加班,6-结束加班 |
|
6394 |
public byte byStatusValue; //考勤状态值 |
|
6395 |
public byte[] byRes2 = new byte[2]; |
|
6396 |
public byte[] byUUID = new byte[NET_SDK_UUID_LEN/*36*/]; //UUID(该字段仅在对接萤石平台过程中才会使用) |
|
6397 |
public byte[] byDeviceName = new byte[NET_DEV_NAME_LEN/*64*/]; //设备序列号 |
|
6398 |
public byte[] byRes = new byte[24]; |
|
6399 |
|
|
6400 |
} |
|
6401 |
|
|
6402 |
/* |
|
6403 |
门禁主机报警事件细节结构体 |
|
6404 |
*/ |
|
6405 |
public static class NET_DVR_ACS_EVENT_DETAIL extends HIKSDKStructure { |
|
6406 |
public int dwSize; |
|
6407 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //卡号(mac地址),为0无效 |
|
6408 |
public byte byCardType; //卡类型,1-普通卡,2-残障人士卡,3-禁止名单卡,4-巡更卡,5-胁迫卡,6-超级卡,7-来宾卡,8-解除卡,为0无效 |
|
6409 |
public byte byAllowListNo; //允许名单单号,1-8,为0无效 |
|
6410 |
public byte byReportChannel; //报告上传通道,1-布防上传,2-中心组1上传,3-中心组2上传,为0无效 |
|
6411 |
public byte byCardReaderKind; //读卡器属于哪一类,0-无效,1-IC读卡器,2-身份证读卡器,3-二维码读卡器,4-指纹头 |
|
6412 |
public int dwCardReaderNo; //读卡器编号,为0无效 |
|
6413 |
public int dwDoorNo; //门编号(楼层编号),为0无效 |
|
6414 |
public int dwVerifyNo; //多重卡认证序号,为0无效 |
|
6415 |
public int dwAlarmInNo; //报警输入号,为0无效 |
|
6416 |
public int dwAlarmOutNo; //报警输出号,为0无效 |
|
6417 |
public int dwCaseSensorNo; //事件触发器编号 |
|
6418 |
public int dwRs485No; //RS485通道号,为0无效 |
|
6419 |
public int dwMultiCardGroupNo; //群组编号 |
|
6420 |
public short wAccessChannel; //人员通道号 |
|
6421 |
public byte byDeviceNo; //设备编号,为0无效(有效范围1-255) |
|
6422 |
public byte byDistractControlNo;//分控器编号,为0无效 |
|
6423 |
public int dwEmployeeNo; //工号,为0无效 |
|
6424 |
public short wLocalControllerID; //就地控制器编号,0-门禁主机,1-64代表就地控制器 |
|
6425 |
public byte byInternetAccess; //网口ID:(1-上行网口1,2-上行网口2,3-下行网口1) |
|
6426 |
public byte byType; //防区类型,0:即时防区,1-24小时防区,2-延时防区 ,3-内部防区,4-钥匙防区 5-火警防区 6-周界防区 7-24小时无声防区 8-24小时辅助防区,9-24小时震动防区,10-门禁紧急开门防区,11-门禁紧急关门防区 0xff-无 |
|
6427 |
public byte[] byMACAddr = new byte[MACADDR_LEN]; //物理地址,为0无效 |
|
6428 |
public byte bySwipeCardType;//刷卡类型,0-无效,1-二维码 |
|
6429 |
public byte byEventAttribute; //事件属性:0-未定义,1-合法认证,2-其它 |
|
6430 |
public int dwSerialNo; //事件流水号,为0无效 |
|
6431 |
public byte byChannelControllerID; //通道控制器ID,为0无效,1-主通道控制器,2-从通道控制器 |
|
6432 |
public byte byChannelControllerLampID; //通道控制器灯板ID,为0无效(有效范围1-255) |
|
6433 |
public byte byChannelControllerIRAdaptorID; //通道控制器红外转接板ID,为0无效(有效范围1-255) |
|
6434 |
public byte byChannelControllerIREmitterID; //通道控制器红外对射ID,为0无效(有效范围1-255) |
|
6435 |
public int dwRecordChannelNum; //录像通道数目 |
|
6436 |
public Pointer pRecordChannelData;//录像通道,大小为sizeof(DWORD)* dwRecordChannelNum |
|
6437 |
public byte byUserType; //人员类型:0-无效,1-普通人(主人),2-来宾(访客),3-禁止名单人,4-管理员 |
|
6438 |
public byte byCurrentVerifyMode; //读卡器当前验证方式:0-无效,1-休眠,2-刷卡+密码,3-刷卡,4-刷卡或密码,5-指纹,6-指纹+密码,7-指纹或刷卡,8-指纹+刷卡,9-指纹+刷卡+密码,10-人脸或指纹或刷卡或密码,11-人脸+指纹,12-人脸+密码, |
|
6439 |
//13-人脸+刷卡,14-人脸,15-工号+密码,16-指纹或密码,17-工号+指纹,18-工号+指纹+密码,19-人脸+指纹+刷卡,20-人脸+密码+指纹,21-工号+人脸,22-人脸或人脸+刷卡,23-指纹或人脸,24-刷卡或人脸或密码,25-刷卡或人脸,26-刷卡或人脸或指纹,27-刷卡或指纹或密码 |
|
6440 |
public byte byAttendanceStatus; //考勤状态:0-未定义,1-上班,2-下班,3-开始休息,4-结束休息,5-开始加班,6-结束加班 |
|
6441 |
public byte byStatusValue; //考勤状态值 |
|
6442 |
public byte[] byEmployeeNo = new byte[NET_SDK_EMPLOYEE_NO_LEN]; //工号(人员ID)(对于设备来说,如果使用了工号(人员ID)字段,byEmployeeNo一定要传递,如果byEmployeeNo可转换为dwEmployeeNo,那么该字段也要传递;对于上层平台或客户端来说,优先解析byEmployeeNo字段,如该字段为空,再考虑解析dwEmployeeNo字段) |
|
6443 |
public byte byRes1; //保留 |
|
6444 |
public byte byMask; //是否带口罩:0-保留,1-未知,2-不戴口罩,3-戴口罩 |
|
6445 |
public byte byThermometryUnit; //测温单位(0-摄氏度(默认),1-华氏度,2-开尔文) |
|
6446 |
public byte byIsAbnomalTemperature; //人脸抓拍测温是否温度异常:1-是,0-否 |
|
6447 |
public float fCurrTemperature; //人脸温度(精确到小数点后一位) |
|
6448 |
public NET_VCA_POINT struRegionCoordinates; //人脸温度坐标 |
|
6449 |
public byte[] byRes = new byte[48]; |
|
6450 |
} |
|
6451 |
|
|
6452 |
/* |
|
6453 |
门禁主机报警事件配置结构体 |
|
6454 |
*/ |
|
6455 |
public static class NET_DVR_ACS_EVENT_CFG extends HIKSDKStructure { |
|
6456 |
public int dwSize; |
|
6457 |
public int dwMajor; //报警主类型,参考宏定义 |
|
6458 |
public int dwMinor; //报警次类型,参考宏定义 |
|
6459 |
public NET_DVR_TIME struTime = new NET_DVR_TIME(); //时间 |
|
6460 |
public byte[] sNetUser = new byte[MAX_NAMELEN];//网络操作的用户名 |
|
6461 |
public NET_DVR_IPADDR struRemoteHostAddr;//远程主机地址 |
|
6462 |
public NET_DVR_ACS_EVENT_DETAIL struAcsEventInfo; //详细参数 |
|
6463 |
public int dwPicDataLen; //图片数据大小,不为0是表示后面带数据 |
|
6464 |
public Pointer pPicData; |
|
6465 |
public short wInductiveEventType; //归纳事件类型,0-无效,其他值参见2.2章节,客户端判断该值为非0值后,报警类型通过归纳事件类型区分,否则通过原有报警主次类型(dwMajor、dwMinor)区分 |
|
6466 |
public byte byTimeType; //时间类型:0-设备本地时间(默认),1-UTC时间(struTime的时间) |
|
6467 |
public byte byRes1; |
|
6468 |
public int dwQRCodeInfoLen; //二维码信息长度,不为0是表示后面带数据 |
|
6469 |
public int dwVisibleLightDataLen; //热成像相机可见光图片长度,不为0是表示后面带数据 |
|
6470 |
public int dwThermalDataLen; //热成像图片长度,不为0是表示后面带数据 |
|
6471 |
public Pointer pQRCodeInfo; //二维码信息指针 |
|
6472 |
public Pointer pVisibleLightData; //热成像相机可见光图片指针 |
|
6473 |
public Pointer pThermalData; //热成像图片指针 |
|
6474 |
public byte[] byRes = new byte[36]; |
|
6475 |
} |
|
6476 |
|
|
6477 |
public static final int NET_SDK_MONITOR_ID_LEN = 64; |
|
6478 |
|
|
6479 |
public static class NET_DVR_ACS_EVENT_COND extends HIKSDKStructure { |
|
6480 |
public int dwSize; |
|
6481 |
public int dwMajor; //报警主类型,参考事件上传宏定义,0-全部 |
|
6482 |
public int dwMinor; //报警次类型,参考事件上传宏定义,0-全部 |
|
6483 |
public NET_DVR_TIME struStartTime; //开始时间 |
|
6484 |
public NET_DVR_TIME struEndTime; //结束时间 |
|
6485 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //卡号 |
|
6486 |
public byte[] byName = new byte[NAME_LEN]; //持卡人姓名 |
|
6487 |
public byte byPicEnable; //是否带图片,0-不带图片,1-带图片 |
|
6488 |
public byte byTimeType; //时间类型:0-设备本地时间(默认),1-UTC时间(struStartTime和struEndTime的时间) |
|
6489 |
public byte[] byRes2 = new byte[2]; //保留 |
|
6490 |
public int dwBeginSerialNo; //起始流水号(为0时默认全部) |
|
6491 |
public int dwEndSerialNo; //结束流水号(为0时默认全部) |
|
6492 |
public int dwIOTChannelNo; //IOT通道号,0-无效 |
|
6493 |
public short wInductiveEventType; //归纳事件类型,0-无效,其他值参见2.2章节,客户端判断该值为非0值后,报警类型通过归纳事件类型区分,否则通过原有报警主次类型(dwMajor、dwMinor)区分 |
|
6494 |
public byte bySearchType; //搜索方式:0-保留,1-按事件源搜索(此时通道号为非视频通道号),2-按监控点ID搜索 |
|
6495 |
public byte byEventAttribute; //事件属性:0-未定义,1-合法事件,2-其它 |
|
6496 |
public byte[] szMonitorID = new byte[NET_SDK_MONITOR_ID_LEN/*64*/]; //监控点ID(由设备序列号、通道类型、编号组成,例如门禁点:设备序列号+“DOOR”+门编号) |
|
6497 |
public byte[] byEmployeeNo = new byte[NET_SDK_EMPLOYEE_NO_LEN]; //工号(人员ID) |
|
6498 |
public byte[] byRes = new byte[140]; //保留 |
|
6499 |
} |
|
6500 |
|
|
6501 |
public static class NET_DVR_ACS_WORK_STATUS_V50 extends HIKSDKStructure { |
|
6502 |
public int dwSize; |
|
6503 |
public byte[] byDoorLockStatus = new byte[MAX_DOOR_NUM_256]; //门锁状态(继电器开合状态),0-正常关,1-正常开,2-短路报警,3-断路报警,4-异常报警 |
|
6504 |
public byte[] byDoorStatus = new byte[MAX_DOOR_NUM_256]; //门状态(楼层状态),1-休眠,2-常开状态(自由),3-常闭状态(禁用),4-普通状态(受控) |
|
6505 |
public byte[] byMagneticStatus = new byte[MAX_DOOR_NUM_256]; //门磁状态,0-正常关,1-正常开,2-短路报警,3-断路报警,4-异常报警 |
|
6506 |
public byte[] byCaseStatus = new byte[MAX_CASE_SENSOR_NUM]; //事件触发器状态,0-无输入,1-有输入 |
|
6507 |
public short wBatteryVoltage; //蓄电池电压值,实际值乘10,单位:伏特 |
|
6508 |
public byte byBatteryLowVoltage; //蓄电池是否处于低压状态,0-否,1-是 |
|
6509 |
public byte byPowerSupplyStatus; //设备供电状态,1-交流电供电,2-蓄电池供电 |
|
6510 |
public byte byMultiDoorInterlockStatus; //多门互锁状态,0-关闭,1-开启 |
|
6511 |
public byte byAntiSneakStatus; //反潜回状态,0-关闭,1-开启 |
|
6512 |
public byte byHostAntiDismantleStatus; //主机防拆状态,0-关闭,1-开启 |
|
6513 |
public byte byIndicatorLightStatus; //指示灯状态,0-掉线,1-在线 |
|
6514 |
public byte[] byCardReaderOnlineStatus = new byte[MAX_CARD_READER_NUM_512]; //读卡器在线状态,0-不在线,1-在线 |
|
6515 |
public byte[] byCardReaderAntiDismantleStatus = new byte[MAX_CARD_READER_NUM_512]; //读卡器防拆状态,0-关闭,1-开启 |
|
6516 |
public byte[] byCardReaderVerifyMode = new byte[MAX_CARD_READER_NUM_512]; //读卡器当前验证方式,1-休眠,2-刷卡+密码,3-刷卡,4-刷卡或密码 |
|
6517 |
public byte[] bySetupAlarmStatus = new byte[MAX_ALARMHOST_ALARMIN_NUM];//报警输入口布防状态,0-对应报警输入口处于撤防状态,1-对应报警输入口处于布防状态 |
|
6518 |
public byte[] byAlarmInStatus = new byte[MAX_ALARMHOST_ALARMIN_NUM]; //按位表示报警输入口报警状态,0-对应报警输入口当前无报警,1-对应报警输入口当前有报警 |
|
6519 |
public byte[] byAlarmOutStatus = new byte[MAX_ALARMHOST_ALARMOUT_NUM]; //按位表示报警输出口状态,0-对应报警输出口无报警,1-对应报警输出口有报警 |
|
6520 |
public int dwCardNum; //已添加的卡数量 |
|
6521 |
public byte byFireAlarmStatus; //消防报警状态显示:0-正常、1-短路报警、2-断开报警 |
|
6522 |
public byte byBatteryChargeStatus; //电池充电状态:0-无效;1-充电中;2-未充电 |
|
6523 |
public byte byMasterChannelControllerStatus; //主通道控制器在线状态:0-无效;1-不在线;2-在线 |
|
6524 |
public byte bySlaveChannelControllerStatus; //从通道控制器在线状态:0-无效;1-不在线;2-在线 |
|
6525 |
public byte byAntiSneakServerStatus; //反潜回服务器状态:0-无效,1-未启用,2-正常,3-断开 |
|
6526 |
public byte[] byRes3 = new byte[3]; |
|
6527 |
public int dwAllowFaceNum; //已添加的允许名单人脸数量(通过能力集判断) |
|
6528 |
public int dwBlockFaceNum; //已添加的禁止名单人脸数量(通过能力集判断) |
|
6529 |
public byte[] byRes2 = new byte[108]; |
|
6530 |
} |
|
6531 |
|
|
6532 |
public static final int ACS_PARAM_DOOR_STATUS_WEEK_PLAN = 0x00000001;//门状态周计划参数 |
|
6533 |
public static final int ACS_PARAM_VERIFY_WEEK_PALN = 0x00000002; //读卡器周计划参数 |
|
6534 |
public static final int ACS_PARAM_CARD_RIGHT_WEEK_PLAN = 0x00000004; //卡权限周计划参数 |
|
6535 |
public static final int ACS_PARAM_DOOR_STATUS_HOLIDAY_PLAN = 0x00000008; //门状态假日计划参数 |
|
6536 |
public static final int ACS_PARAM_VERIFY_HOLIDAY_PALN = 0x00000010; //读卡器假日计划参数 |
|
6537 |
public static final int ACS_PARAM_CARD_RIGHT_HOLIDAY_PLAN = 0x00000020; //卡权限假日计划参数 |
|
6538 |
public static final int ACS_PARAM_DOOR_STATUS_HOLIDAY_GROUP = 0x00000040; //门状态假日组参数 |
|
6539 |
public static final int ACS_PARAM_VERIFY_HOLIDAY_GROUP = 0x00000080;//读卡器验证方式假日组参数 |
|
6540 |
public static final int ACS_PARAM_CARD_RIGHT_HOLIDAY_GROUP = 0x00000100; //卡权限假日组参数 |
|
6541 |
public static final int ACS_PARAM_DOOR_STATUS_PLAN_TEMPLATE = 0x00000200;//门状态计划模板参数 |
|
6542 |
public static final int ACS_PARAM_VERIFY_PALN_TEMPLATE = 0x00000400; //读卡器验证方式计划模板参数 |
|
6543 |
public static final int ACS_PARAM_CARD_RIGHT_PALN_TEMPLATE = 0x00000800; //卡权限计划模板参数 |
|
6544 |
public static final int ACS_PARAM_CARD = 0x00001000; //卡参数 |
|
6545 |
public static final int ACS_PARAM_GROUP = 0x00002000; //群组参数 |
|
6546 |
public static final int ACS_PARAM_ANTI_SNEAK_CFG = 0x00004000; //反潜回参数 |
|
6547 |
public static final int ACS_PAPAM_EVENT_CARD_LINKAGE = 0x00008000; //事件及卡号联动参数 |
|
6548 |
public static final int ACS_PAPAM_CARD_PASSWD_CFG = 0x00010000; //密码开门使能参数 |
|
6549 |
public static final int ACS_PARAM_PERSON_STATISTICS_CFG = 0x00020000; //人数统计参数 |
|
6550 |
public static final int ACS_PARAM_BLOCKLIST_PICTURE = 0x00040000; //禁止名单图片参数 |
|
6551 |
public static final int ACS_PARAM_ID_BLOCKLIST = 0x00080000; //身份证禁止名单参数 |
|
6552 |
public static final int ACS_PARAM_EXAM_INFO = 0x00100000; //考试信息参数 |
|
6553 |
public static final int ACS_PARAM_EXAMINEE_INFO = 0x00200000; //考生信息参数 |
|
6554 |
public static final int ACS_PARAM_FAILED_FACE_INFO = 0x00400000; //升级设备人脸建模失败记录 |
|
6555 |
|
|
6556 |
public static class NET_DVR_ACS_PARAM_TYPE extends HIKSDKStructure { |
|
6557 |
public int dwSize; |
|
6558 |
public int dwParamType; //参数类型,按位表示 |
|
6559 |
|
|
6560 |
public short wLocalControllerID; //就地控制器序号[1,64],0代表门禁主机 |
|
6561 |
public byte[] byRes = new byte[30]; |
|
6562 |
} |
|
6563 |
|
|
6564 |
|
|
6565 |
public static class NET_DVR_FACE_PARAM_COND extends HIKSDKStructure { |
|
6566 |
public int dwSize; |
|
6567 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //人脸关联的卡号 |
|
6568 |
public byte[] byEnableCardReader = new byte[MAX_CARD_READER_NUM_512]; //人脸的读卡器是否有效,0-无效,1-有效 |
|
6569 |
public int dwFaceNum; //设置或获取人脸数量,获取时置为0xffffffff表示获取所有人脸信息 |
|
6570 |
public byte byFaceID; //人脸编号,有效值范围为1-2 0xff表示该卡所有人脸 |
|
6571 |
public byte[] byRes = new byte[127]; //保留 |
|
6572 |
} |
|
6573 |
|
|
6574 |
public static class NET_DVR_FACE_PARAM_CFG extends HIKSDKStructure { |
|
6575 |
public int dwSize; |
|
6576 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //人脸关联的卡号 |
|
6577 |
public int dwFaceLen; //人脸数据长度<DES加密处理>,设备端返回的即加密后的数据 |
|
6578 |
public Pointer pFaceBuffer; //人脸数据指针 |
|
6579 |
public byte[] byEnableCardReader = new byte[MAX_CARD_READER_NUM_512]; //需要下发人脸的读卡器,按数组表示,从低位到高位表示,0-不下发该读卡器,1-下发到该读卡器 |
|
6580 |
public byte byFaceID; //人脸编号,有效值范围为1-2 |
|
6581 |
public byte byFaceDataType; //人脸数据类型:0-模板(默认),1-图片 |
|
6582 |
public byte[] byRes = new byte[126]; |
|
6583 |
} |
|
6584 |
|
|
6585 |
public static class NET_DVR_FACE_PARAM_STATUS extends HIKSDKStructure { |
|
6586 |
public int dwSize; |
|
6587 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //人脸关联的卡号 |
|
6588 |
public byte[] byCardReaderRecvStatus = new byte[MAX_CARD_READER_NUM_512]; //人脸读卡器状态,按字节表示,0-失败,1-成功,2-重试或人脸质量差,3-内存已满,4-已存在该人脸,5-非法人脸ID |
|
6589 |
public byte[] byErrorMsg = new byte[ERROR_MSG_LEN]; //下发错误信息,当byCardReaderRecvStatus为4时,表示已存在人脸对应的卡号 |
|
6590 |
public int dwCardReaderNo; //纹读卡器编号,可用于下发错误返回 |
|
6591 |
public byte byTotalStatus; //下发总的状态,0-当前人脸未下完所有读卡器,1-已下完所有读卡器(这里的所有指的是门禁主机往所有的读卡器下发了,不管成功与否) |
|
6592 |
public byte byFaceID; //人脸编号,有效值范围为1-2 |
|
6593 |
public byte[] byRes = new byte[130]; |
|
6594 |
} |
|
6595 |
|
|
6596 |
public static class NET_DVR_FACE_PARAM_BYCARD extends HIKSDKStructure { |
|
6597 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //人脸关联的卡号 |
|
6598 |
public byte[] byEnableCardReader = new byte[MAX_CARD_READER_NUM_512]; //人脸的读卡器信息,按数组表示 |
|
6599 |
public byte[] byFaceID = new byte[MAX_FACE_NUM]; //需要删除的人脸编号,按数组下标,值表示0-不删除,1-删除该人脸 |
|
6600 |
public byte[] byRes1 = new byte[42]; //保留 |
|
6601 |
} |
|
6602 |
|
|
6603 |
public static class NET_DVR_FACE_PARAM_BYREADER extends HIKSDKStructure { |
|
6604 |
public int dwCardReaderNo; //按值表示,人脸读卡器编号 |
|
6605 |
public byte byClearAllCard; //是否删除所有卡的人脸信息,0-按卡号删除人脸信息,1-删除所有卡的人脸信息 |
|
6606 |
public byte[] byRes1 = new byte[3]; //保留 |
|
6607 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //人脸关联的卡号 |
|
6608 |
public byte[] byRes = new byte[548]; //保留 |
|
6609 |
} |
|
6610 |
|
|
6611 |
public static class NET_DVR_DEL_FACE_PARAM_MODE extends Union { |
|
6612 |
public byte[] uLen = new byte[588]; //联合体长度 |
|
6613 |
public NET_DVR_FACE_PARAM_BYCARD struByCard; //按卡号的方式删除 |
|
6614 |
public NET_DVR_FACE_PARAM_BYREADER struByReader; //按读卡器的方式删除 |
|
6615 |
} |
|
6616 |
|
|
6617 |
public static class NET_DVR_CHECK_FACE_PICTURE_COND extends HIKSDKStructure { |
|
6618 |
public int dwSize; |
|
6619 |
public int dwPictureNum; //图片数量 |
|
6620 |
public byte byCheckTemplate; //0-校验图片是否合法(默认),1-校验图片和建模数据是否匹配 |
|
6621 |
public byte[] byRes = new byte[127]; |
|
6622 |
} |
|
6623 |
|
|
6624 |
public static class NET_DVR_CHECK_FACE_PICTURE_CFG extends HIKSDKStructure { |
|
6625 |
public int dwSize; |
|
6626 |
public int dwPictureNo; //图片编号 |
|
6627 |
public int dwPictureLen; //图片长度(图片大小不超过200k) |
|
6628 |
public Pointer pPictureBuffer; //图片指针 |
|
6629 |
public int dwFaceTemplateLen; //人脸建模数据长度 |
|
6630 |
public Pointer pFaceTemplateBuffer; //人脸建模数据指针 |
|
6631 |
public byte[] byRes = new byte[248]; |
|
6632 |
} |
|
6633 |
|
|
6634 |
public static class NET_DVR_CHECK_FACE_PICTURE_STATUS extends HIKSDKStructure { |
|
6635 |
public int dwSize; |
|
6636 |
public int dwPictureNo; //图片编号 |
|
6637 |
public byte byCheckStatus; //校验结果:0-无效,1-建模成功,2-建模失败,3-人脸模块通讯异常,4-图像无人脸,5-人脸朝上,6-人脸朝下,7-人脸偏左,8-人脸偏右,9-人脸顺时旋转, |
|
6638 |
//10 - 人脸逆时旋转,11-人眼间距小,12-人脸和模板匹配,13-人脸和模板不匹配,14-传输数据有误 |
|
6639 |
public byte[] byRes = new byte[127]; |
|
6640 |
} |
|
6641 |
|
|
6642 |
public static class NET_DVR_FINGER_PRINT_CFG_V50 extends HIKSDKStructure { |
|
6643 |
public int dwSize; |
|
6644 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //指纹关联的卡号 |
|
6645 |
public int dwFingerPrintLen; //指纹数据长度 |
|
6646 |
public byte[] byEnableCardReader = new byte[MAX_CARD_READER_NUM_512]; //需要下发指纹的读卡器,按数组表示,从低位到高位表示,0-不下发该读卡器,1-下发到该读卡器 |
|
6647 |
public byte byFingerPrintID; //手指编号,有效值范围为1-10 |
|
6648 |
public byte byFingerType; //指纹类型 0-普通指纹,1-胁迫指纹,2-巡更指纹,3-超级指纹,4-解除指纹 |
|
6649 |
public byte[] byRes1 = new byte[30]; |
|
6650 |
public byte[] byFingerData = new byte[MAX_FINGER_PRINT_LEN]; //指纹数据内容 |
|
6651 |
public byte[] byEmployeeNo = new byte[NET_SDK_EMPLOYEE_NO_LEN]; //工号(人员ID) |
|
6652 |
public byte[] byLeaderFP = new byte[MAX_DOOR_NUM_256]; //对门是否有首次认证功能(按字节表示):0-无首次认证功能,1-有首次认证功能 |
|
6653 |
public byte[] byRes = new byte[128]; |
|
6654 |
} |
|
6655 |
|
|
6656 |
public static class NET_DVR_FINGER_PRINT_STATUS_V50 extends HIKSDKStructure { |
|
6657 |
public int dwSize; |
|
6658 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //指纹关联的卡号 |
|
6659 |
public byte[] byCardReaderRecvStatus = new byte[MAX_CARD_READER_NUM_512]; //指纹读卡器状态,按字节表示,0-失败,1-成功,2-该指纹模组不在线,3-重试或指纹质量差,4-内存已满,5-已存在该指纹,6-已存在该指纹ID,7-非法指纹ID,8-该指纹模组无需配置,10-指纹读卡器版本过低(无法支持工号) |
|
6660 |
public byte byFingerPrintID; //手指编号,有效值范围为1-10 |
|
6661 |
public byte byFingerType; //指纹类型 0-普通指纹,1-胁迫指纹,2-巡更指纹,3-超级指纹,4-解除指纹 |
|
6662 |
public byte byTotalStatus; //下发总的状态,0-当前指纹未下完所有读卡器,1-已下完所有读卡器(这里的所有指的是门禁主机往所有的读卡器下发了,不管成功与否) |
|
6663 |
public byte byRecvStatus; //主机错误状态:0-成功,1-手指编号错误,2-指纹类型错误,3-卡号错误(卡号规格不符合设备要求),4-指纹未关联工号或卡号(工号或卡号字段为空),5-工号不存在,6-指纹数据长度为0,7-读卡器编号错误,8-工号错误 |
|
6664 |
public byte[] byErrorMsg = new byte[ERROR_MSG_LEN]; //下发错误信息,当byCardReaderRecvStatus为5时,表示已存在指纹对应的卡号 |
|
6665 |
public int dwCardReaderNo; //当byCardReaderRecvStatus为5时,表示已存在指纹对应的指纹读卡器编号,可用于下发错误返回。0时表示无错误信息 |
|
6666 |
public byte[] byEmployeeNo = new byte[NET_SDK_EMPLOYEE_NO_LEN]; //工号(人员ID) |
|
6667 |
public byte[] byErrorEmployeeNo = new byte[NET_SDK_EMPLOYEE_NO_LEN]; //下发错误信息,当byCardReaderRecvStatus为5时,表示已存在指纹对应的工号(人员ID) |
|
6668 |
public byte[] byRes = new byte[128]; |
|
6669 |
} |
|
6670 |
|
|
6671 |
public static class NET_DVR_FINGER_PRINT_INFO_COND_V50 extends HIKSDKStructure { |
|
6672 |
public int dwSize; |
|
6673 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //指纹关联的卡号(该字段获取时有效,设置时无效) |
|
6674 |
public byte[] byEnableCardReader = new byte[MAX_CARD_READER_NUM_512]; //指纹的读卡器是否有效,0-无效,1-有效 |
|
6675 |
public int dwFingerPrintNum; //设置或获指纹数量,获取时置为0xffffffff表示获取所有指纹信息 |
|
6676 |
public byte byFingerPrintID; //手指编号,有效值范围为1-10 0xff表示该卡所有指纹 |
|
6677 |
public byte byCallBackMode; //设备回调方式,0-设备所有读卡器下完了返回,1-在时间段内下了部分也返回 |
|
6678 |
public byte[] byRes2 = new byte[2]; //保留 |
|
6679 |
public byte[] byEmployeeNo = new byte[NET_SDK_EMPLOYEE_NO_LEN]; //工号(人员ID) |
|
6680 |
public byte[] byRes1 = new byte[128]; //保留 |
|
6681 |
} |
|
6682 |
|
|
6683 |
public static class NET_DVR_GROUP_CFG extends HIKSDKStructure { |
|
6684 |
public int dwSize; |
|
6685 |
public byte byEnable; //是否启用,0-不启用,1-启用 |
|
6686 |
public byte[] byRes1 = new byte[3]; |
|
6687 |
public NET_DVR_VALID_PERIOD_CFG struValidPeriodCfg = new NET_DVR_VALID_PERIOD_CFG(); //群组有效期参数 |
|
6688 |
public byte[] byGroupName = new byte[32]; //群组名称 |
|
6689 |
public byte[] byRes2 = new byte[32]; |
|
6690 |
} |
|
6691 |
|
|
6692 |
public static class NET_DVR_MULTI_CARD_CFG_V50 extends HIKSDKStructure { |
|
6693 |
public int dwSize; |
|
6694 |
public byte byEnable; |
|
6695 |
public byte bySwipeIntervalTimeout; |
|
6696 |
public byte[] byRes1 = new byte[2]; |
|
6697 |
public NET_DVR_MULTI_CARD_GROUP_CFG_V50[] struGroupCfg = (NET_DVR_MULTI_CARD_GROUP_CFG_V50[]) new NET_DVR_MULTI_CARD_GROUP_CFG_V50().toArray(20); |
|
6698 |
public byte[] byRes2 = new byte[32]; |
|
6699 |
} |
|
6700 |
|
|
6701 |
public static class NET_DVR_MULTI_CARD_GROUP_CFG_V50 extends HIKSDKStructure { |
|
6702 |
public byte byEnable; |
|
6703 |
public byte byEnableOfflineVerifyMode; |
|
6704 |
public byte[] byRes1 = new byte[2]; |
|
6705 |
public int dwTemplateNo; |
|
6706 |
public NET_DVR_GROUP_COMBINATION_INFO_V50[] struGroupCombination = (NET_DVR_GROUP_COMBINATION_INFO_V50[]) new NET_DVR_GROUP_COMBINATION_INFO_V50().toArray(8); |
|
6707 |
} |
|
6708 |
|
|
6709 |
public static class NET_DVR_GROUP_COMBINATION_INFO_V50 extends HIKSDKStructure { |
|
6710 |
public byte byEnable; |
|
6711 |
public byte byMemberNum; |
|
6712 |
public byte bySequenceNo; |
|
6713 |
public byte byRes; |
|
6714 |
public int dwGroupNo; |
|
6715 |
} |
|
6716 |
|
|
6717 |
|
|
6718 |
//自定义结构体,用于二维数组转换 |
|
6719 |
public static class NET_DVR_SINGLE_PLAN_SEGMENT_WEEK extends HIKSDKStructure { |
|
6720 |
public NET_DVR_SINGLE_PLAN_SEGMENT[] struPlanCfgDay = new NET_DVR_SINGLE_PLAN_SEGMENT[MAX_TIMESEGMENT_V30]; //一天的计划参数 |
|
6721 |
} |
|
6722 |
|
|
6723 |
public static class NET_DVR_WEEK_PLAN_CFG extends HIKSDKStructure { |
|
6724 |
public int dwSize; |
|
6725 |
public byte byEnable; //是否使能,1-使能,0-不使能 |
|
6726 |
public byte[] byRes1 = new byte[3]; |
|
6727 |
public NET_DVR_SINGLE_PLAN_SEGMENT_WEEK[] struPlanCfg = new NET_DVR_SINGLE_PLAN_SEGMENT_WEEK[MAX_DAYS]; //周计划参数 |
|
6728 |
public byte[] byRes2 = new byte[16]; |
|
6729 |
} |
|
6730 |
|
|
6731 |
public static class NET_DVR_SINGLE_PLAN_SEGMENT extends HIKSDKStructure { |
|
6732 |
public byte byEnable; //是否使能,1-使能,0-不使能 |
|
6733 |
public byte byDoorStatus; //门状态模式(梯控模式),0-无效,1-常开状态(自由),2-常闭状态(禁用),3-普通状态(门状态计划使用) |
|
6734 |
public byte byVerifyMode; //验证方式,0-无效,1-刷卡,2-刷卡+密码(读卡器验证方式计划使用),3-刷卡,4-刷卡或密码(读卡器验证方式计划使用), 5-指纹,6-指纹+密码,7-指纹或刷卡,8-指纹+刷卡,9-指纹+刷卡+密码(无先后顺序),10-人脸或指纹或刷卡或密码,11-人脸+指纹,12-人脸+密码, |
|
6735 |
//13-人脸+刷卡,14-人脸,15-工号+密码,16-指纹或密码,17-工号+指纹,18-工号+指纹+密码,19-人脸+指纹+刷卡,20-人脸+密码+指纹,21-工号+人脸,22-人脸或人脸+刷卡 |
|
6736 |
public byte[] byRes = new byte[5]; |
|
6737 |
public NET_DVR_TIME_SEGMENT struTimeSegment; //时间段参数 |
|
6738 |
} |
|
6739 |
|
|
6740 |
|
|
6741 |
public static class NET_DVR_TIME_SEGMENT extends HIKSDKStructure { |
|
6742 |
public NET_DVR_SIMPLE_DAYTIME struBeginTime; //开始时间点 |
|
6743 |
public NET_DVR_SIMPLE_DAYTIME struEndTime; //结束时间点 |
|
6744 |
} |
|
6745 |
|
|
6746 |
public static class NET_DVR_SIMPLE_DAYTIME extends HIKSDKStructure { |
|
6747 |
public byte byHour; //时 |
|
6748 |
public byte byMinute; //分 |
|
6749 |
public byte bySecond; //秒 |
|
6750 |
public byte byRes; |
|
6751 |
} |
|
6752 |
|
|
6753 |
public static class NET_DVR_WEEK_PLAN_COND extends HIKSDKStructure { |
|
6754 |
public int dwSize; |
|
6755 |
public int dwWeekPlanNumber; //周计划编号 |
|
6756 |
public short wLocalControllerID; //就地控制器序号[1,64] |
|
6757 |
public byte[] byRes = new byte[106]; |
|
6758 |
} |
|
6759 |
|
|
6760 |
public static final int TEMPLATE_NAME_LEN = 32; //计划模板名称长度 |
|
6761 |
public static final int MAX_HOLIDAY_GROUP_NUM = 16; //计划模板最大假日组数 |
|
6762 |
|
|
6763 |
public static class NET_DVR_PLAN_TEMPLATE extends HIKSDKStructure { |
|
6764 |
public int dwSize; |
|
6765 |
public byte byEnable; //是否启用,1-启用,0-不启用 |
|
6766 |
public byte[] byRes1 = new byte[3]; |
|
6767 |
public byte[] byTemplateName = new byte[TEMPLATE_NAME_LEN]; //模板名称 |
|
6768 |
public int dwWeekPlanNo; //周计划编号,0为无效 |
|
6769 |
public int[] dwHolidayGroupNo = new int[MAX_HOLIDAY_GROUP_NUM]; //假日组编号,就前填充,遇0无效 |
|
6770 |
public byte[] byRes2 = new byte[32]; |
|
6771 |
} |
|
6772 |
|
|
6773 |
public static class NET_DVR_PLAN_TEMPLATE_COND extends HIKSDKStructure { |
|
6774 |
public int dwSize; |
|
6775 |
public int dwPlanTemplateNumber; //计划模板编号,从1开始,最大值从门禁能力集获取 |
|
6776 |
public short wLocalControllerID; //就地控制器序号[1,64],0无效 |
|
6777 |
public byte[] byRes = new byte[106]; |
|
6778 |
} |
|
6779 |
|
|
6780 |
public static class NET_DVR_CAPTURE_FACE_COND extends HIKSDKStructure { |
|
6781 |
public int dwSize; |
|
6782 |
public byte[] byRes = new byte[128]; |
|
6783 |
} |
|
6784 |
|
|
6785 |
public static class NET_DVR_FACE_FEATURE extends HIKSDKStructure { |
|
6786 |
public NET_VCA_RECT struFace; //人脸子图区域 |
|
6787 |
public NET_VCA_POINT struLeftEye; // 左眼坐标 |
|
6788 |
public NET_VCA_POINT struRightEye; // 右眼坐标 |
|
6789 |
public NET_VCA_POINT struLeftMouth; // 嘴左边坐标 |
|
6790 |
public NET_VCA_POINT struRightMouth; // 嘴右边坐标 |
|
6791 |
public NET_VCA_POINT struNoseTip; // 鼻子坐标 |
|
6792 |
} |
|
6793 |
|
|
6794 |
public static class NET_DVR_CAPTURE_FACE_CFG extends HIKSDKStructure { |
|
6795 |
public int dwSize; |
|
6796 |
public int dwFaceTemplate1Size; //人脸模板1数据大小,等于0时,代表无人脸模板1数据 |
|
6797 |
public Pointer pFaceTemplate1Buffer; //人脸模板1数据缓存(不大于2.5k) |
|
6798 |
public int dwFaceTemplate2Size; //人脸模板2数据大小,等于0时,代表无人脸模板2数据 |
|
6799 |
public Pointer pFaceTemplate2Buffer; //人脸模板2数据缓存(不大于2.5K) |
|
6800 |
public int dwFacePicSize; //人脸图片数据大小,等于0时,代表无人脸图片数据 |
|
6801 |
public Pointer pFacePicBuffer; //人脸图片数据缓存 |
|
6802 |
public byte byFaceQuality1; //人脸质量,范围1-100 |
|
6803 |
public byte byFaceQuality2; //人脸质量,范围1-100 |
|
6804 |
public byte byCaptureProgress; //采集进度,目前只有两种进度值:0-未采集到人脸,100-采集到人脸(只有在进度为100时,才解析人脸信息) |
|
6805 |
public byte byFacePicQuality; //人脸图片中人脸质量 |
|
6806 |
public int dwInfraredFacePicSize; //红外人脸图片数据大小,等于0时,代表无人脸图片数据 |
|
6807 |
public Pointer pInfraredFacePicBuffer; //红外人脸图片数据缓存 |
|
6808 |
public byte byInfraredFacePicQuality; //红外人脸图片中人脸质量 |
|
6809 |
public byte[] byRes1 = new byte[3]; |
|
6810 |
public NET_DVR_FACE_FEATURE struFeature = new NET_DVR_FACE_FEATURE(); //人脸抠图特征信息 |
|
6811 |
public byte[] byRes = new byte[56]; |
|
6812 |
} |
|
6813 |
|
|
6814 |
public static class NET_DVR_XML_CONFIG_INPUT extends HIKSDKStructure { |
|
6815 |
public int dwSize; |
|
6816 |
public Pointer lpRequestUrl; |
|
6817 |
public int dwRequestUrlLen; |
|
6818 |
public Pointer lpInBuffer; |
|
6819 |
public int dwInBufferSize; |
|
6820 |
public int dwRecvTimeOut; |
|
6821 |
public byte[] byRes = new byte[32]; |
|
6822 |
} |
|
6823 |
|
|
6824 |
public static class NET_DVR_STRING_POINTER extends HIKSDKStructure { |
|
6825 |
public byte[] byString; |
|
6826 |
|
|
6827 |
public NET_DVR_STRING_POINTER(int iLen) { |
|
6828 |
byString = new byte[iLen]; |
|
6829 |
} |
|
6830 |
} |
|
6831 |
|
|
6832 |
public static class NET_DVR_XML_CONFIG_OUTPUT extends HIKSDKStructure { |
|
6833 |
public int dwSize; |
|
6834 |
public Pointer lpOutBuffer; |
|
6835 |
public int dwOutBufferSize; |
|
6836 |
public int dwReturnedXMLSize; |
|
6837 |
public Pointer lpStatusBuffer; |
|
6838 |
public int dwStatusSize; |
|
6839 |
public byte[] byRes = new byte[32]; |
|
6840 |
} |
|
6841 |
|
|
6842 |
//报警场景信息 |
|
6843 |
public static class NET_DVR_SCENE_INFO extends HIKSDKStructure { |
|
6844 |
public int dwSceneID; //场景ID, 0 - 表示该场景无效 |
|
6845 |
public byte[] bySceneName = new byte[NAME_LEN]; //场景名称 |
|
6846 |
public byte byDirection; //监测方向 1-上行,2-下行,3-双向,4-由东向西,5-由南向北,6-由西向东,7-由北向南,8-其它 |
|
6847 |
public byte[] byRes1 = new byte[3]; //保留 |
|
6848 |
public NET_DVR_PTZPOS struPtzPos; //Ptz 坐标 |
|
6849 |
public byte[] byRes2 = new byte[64]; //保留 |
|
6850 |
} |
|
6851 |
|
|
6852 |
// 方向结构体 |
|
6853 |
public static class NET_DVR_DIRECTION extends HIKSDKStructure { |
|
6854 |
public NET_VCA_POINT struStartPoint = new NET_VCA_POINT(); // 方向起始点 |
|
6855 |
public NET_VCA_POINT struEndPoint = new NET_VCA_POINT(); // 方向结束点 |
|
6856 |
} |
|
6857 |
|
|
6858 |
// 交通事件信息 |
|
6859 |
public static class NET_DVR_AID_INFO extends HIKSDKStructure { |
|
6860 |
public byte byRuleID; // 规则序号,为规则配置结构下标,0-16 |
|
6861 |
public byte[] byRes1 = new byte[3]; |
|
6862 |
public byte[] byRuleName = new byte[NAME_LEN]; // 规则名称 |
|
6863 |
public int dwAIDType; // 报警事件类型 |
|
6864 |
public NET_DVR_DIRECTION struDirect = new NET_DVR_DIRECTION(); // 报警指向区域 |
|
6865 |
public byte bySpeedLimit; //限速值,单位km/h[0,255] |
|
6866 |
public byte byCurrentSpeed; //当前速度值,单位km/h[0,255] |
|
6867 |
public byte byVehicleEnterState; //车辆出入状态:0- 无效,1- 驶入,2- 驶出 |
|
6868 |
public byte byState; //0-变化上传,1-轮巡上传 |
|
6869 |
public byte[] byParkingID = new byte[16]; //停车位编号 |
|
6870 |
public int dwAIDTypeEx; // 报警事件类型扩展,参考TRAFFIC_AID_TYPE_EX |
|
6871 |
public byte[] byRes2 = new byte[16]; // 保留字节 |
|
6872 |
} |
|
6873 |
|
|
6874 |
public int ILLEGAL_LEN = 32; //违法代码长度 |
|
6875 |
public int MONITORSITE_ID_LEN = 48;//监测点编号长度 |
|
6876 |
public int DEVICE_ID_LEN = 48; |
|
6877 |
|
|
6878 |
//交通取证报警 |
|
6879 |
public static class NET_DVR_TFS_ALARM extends HIKSDKStructure { |
|
6880 |
public int dwSize; //结构体大小 |
|
6881 |
public int dwRelativeTime; //相对时标 |
|
6882 |
public int dwAbsTime; //绝对时标 |
|
6883 |
public int dwIllegalType; //违章类型,采用国标定义,当dwIllegalType值为0xffffffff时使用byIllegalCode |
|
6884 |
public int dwIllegalDuration; //违法持续时间(单位:秒) = 抓拍最后一张图片的时间 - 抓拍第一张图片的时间 |
|
6885 |
public byte[] byMonitoringSiteID = new byte[MONITORSITE_ID_LEN];//监测点编号(路口编号、内部编号) |
|
6886 |
public byte[] byDeviceID = new byte[DEVICE_ID_LEN]; //设备编号 |
|
6887 |
public NET_VCA_DEV_INFO struDevInfo = new NET_VCA_DEV_INFO(); //前端设备信息 |
|
6888 |
public NET_DVR_SCENE_INFO struSceneInfo = new NET_DVR_SCENE_INFO(); //场景信息 |
|
6889 |
public NET_DVR_TIME_EX struBeginRecTime = new NET_DVR_TIME_EX(); //录像开始时间 |
|
6890 |
public NET_DVR_TIME_EX struEndRecTime = new NET_DVR_TIME_EX(); //录像结束时间 |
|
6891 |
public NET_DVR_AID_INFO struAIDInfo = new NET_DVR_AID_INFO(); //交通事件信息 |
|
6892 |
public NET_DVR_PLATE_INFO struPlateInfo = new NET_DVR_PLATE_INFO(); //车牌信息 |
|
6893 |
public NET_DVR_VEHICLE_INFO struVehicleInfo = new NET_DVR_VEHICLE_INFO(); //车辆信息 |
|
6894 |
public int dwPicNum; //图片数量 |
|
6895 |
public NET_ITS_PICTURE_INFO[] struPicInfo = new NET_ITS_PICTURE_INFO[8]; //图片信息,最多8张 |
|
6896 |
public byte bySpecificVehicleType; //具体车辆种类 参考识别结果类型VTR_RESULT |
|
6897 |
public byte byLaneNo; //关联车道号 |
|
6898 |
public byte[] byRes1 = new byte[2]; //保留 |
|
6899 |
public NET_DVR_TIME_V30 struTime = new NET_DVR_TIME_V30();//手动跟踪定位,当前时间。 |
|
6900 |
public int dwSerialNo;//序号; |
|
6901 |
public byte byVehicleAttribute;//车辆属性,按位表示,0- 无附加属性(普通车),bit1- 黄标车(类似年检的标志),bit2- 危险品车辆,值:0- 否,1- 是 |
|
6902 |
public byte byPilotSafebelt;//0-表示未知,1-系安全带,2-不系安全带 |
|
6903 |
public byte byCopilotSafebelt;//0-表示未知,1-系安全带,2-不系安全带 |
|
6904 |
public byte byPilotSunVisor;//0-表示未知,1-不打开遮阳板,2-打开遮阳板 |
|
6905 |
public byte byCopilotSunVisor;//0-表示未知, 1-不打开遮阳板,2-打开遮阳板 |
|
6906 |
public byte byPilotCall;// 0-表示未知, 1-不打电话,2-打电话 |
|
6907 |
public byte[] byRes2 = new byte[2]; //保留 |
|
6908 |
public byte[] byIllegalCode = new byte[ILLEGAL_LEN/*32*/];//违法代码扩展,当dwIllegalType值为0xffffffff;使用这个值 |
|
6909 |
public short wCountry; // 国家索引值,参照枚举COUNTRY_INDEX |
|
6910 |
public byte byRegion; //区域索引值,0-保留,1-欧洲(Europe Region),2-俄语区域(Russian Region),3-欧洲&俄罗斯(EU&CIS) , 4-中东(Middle East),0xff-所有 |
|
6911 |
public byte byCrossLine;//是否压线停车(侧方停车),0-表示未知,1-不压线,2-压线 |
|
6912 |
public byte[] byParkingSerialNO = new byte[16];//泊车位编号 |
|
6913 |
public byte byCrossSpaces;//是否跨泊车位停车(侧方停车),0-表示未知,1-未跨泊车位停车,2-跨泊车位停车 |
|
6914 |
public byte byAngledParking;//是否倾斜停车(侧方停车), 0-表示未知,1-未倾斜停车,2-倾斜停车 |
|
6915 |
public byte byAlarmValidity;//报警置信度,可以输出驶入驶出的置信度,范围0-100;置信度越高,事件真实性越高 |
|
6916 |
public byte byDoorsStatus;//车门状态 0-车门关闭 1-车门开启 |
|
6917 |
public int dwXmlLen;//XML报警信息长度 |
|
6918 |
public Pointer pXmlBuf; // XML报警信息指针,其XML对应到EventNotificationAlert XML Block |
|
6919 |
public byte byVehicleHeadTailStatus;//车头车尾状态 0-保留 1-车头 2-车尾 |
|
6920 |
public byte byBrokenNetHttp; //断网续传标志位,0-不重传数据,1-重传数据 |
|
6921 |
public byte[] byRes = new byte[30]; //保留 |
|
6922 |
} |
|
6923 |
|
|
6924 |
public static class NET_ITS_OVERLAPCFG_COND extends HIKSDKStructure { |
|
6925 |
public int dwSize; |
|
6926 |
public int dwChannel; |
|
6927 |
public int dwConfigMode; //配置模式,0-终端,1-前端(直连前端或终端接前端) |
|
6928 |
public byte byPicModeType;//0-表示小图(独立图),1-表示大图(合成图) |
|
6929 |
/* |
|
6930 |
0表示关联 抓拍MPR模式(多帧触发抓拍 IPC使用) |
|
6931 |
1 表示关联 抓拍 HVT 模式(混卡IPC使用) |
|
6932 |
*/ |
|
6933 |
public byte byRelateType; |
|
6934 |
public byte[] byRes = new byte[14]; |
|
6935 |
|
|
6936 |
} |
|
6937 |
|
|
6938 |
//字符叠加每一条信息结构体 |
|
6939 |
public static class NET_ITS_OVERLAP_SINGLE_ITEM_PARAM_V50 extends HIKSDKStructure { |
|
6940 |
public byte[] byRes1 = new byte[2]; // 保留 |
|
6941 |
public byte byItemType; //类型,详见OVERLAP_ITEM_TYPE |
|
6942 |
public byte byChangeLineNum; //叠加项后的换行数[0-10](默认0) |
|
6943 |
public byte bySpaceNum; //叠加项后的空格数[0-255](默认0) |
|
6944 |
public byte[] byRes2 = new byte[2]; |
|
6945 |
public byte byEnablePos; //是否启用坐标显示 |
|
6946 |
public short wStartPosTop; //起始上坐标,只对图片内部叠加有效[0~2448](默认0) |
|
6947 |
public short wStartPosLeft; //起始左坐标,只对图片内部叠加有效[0~2448](默认0) |
|
6948 |
//自定义类型;与byItemType参数对应。可将byItemType参数类型自定义名称。若自定义内容为空,便默认以byItemType参数中的类型命名。 |
|
6949 |
public byte[] byItemTypeCustom = new byte[32]; |
|
6950 |
public byte[] byRes = new byte[8]; |
|
6951 |
|
|
6952 |
} |
|
6953 |
|
|
6954 |
public int MAX_OVERLAP_ITEM_NUM = 50; //最大字符叠加种数 |
|
6955 |
|
|
6956 |
public static class NET_ITS_OVERLAP_ITEM_PARAM_V50 extends HIKSDKStructure { |
|
6957 |
public NET_ITS_OVERLAP_SINGLE_ITEM_PARAM_V50[] struSingleItem = new NET_ITS_OVERLAP_SINGLE_ITEM_PARAM_V50[MAX_OVERLAP_ITEM_NUM]; //单条字符参数 |
|
6958 |
public int dwLinePercent; //叠加行百分比(0-100),(默认100) |
|
6959 |
public int dwItemsStlye; //叠加方式:0-横排,1-竖排(默认横排) |
|
6960 |
public short wStartPosTop; //起始上坐标,只对图片内部叠加有效[0~2448](默认0) |
|
6961 |
public short wStartPosLeft; //起始左坐标,只对图片内部叠加有效[0~2448](默认0) |
|
6962 |
public short wCharStyle; //字体类型,0-宋体1-魏体(默认) |
|
6963 |
public short wCharSize; //字符大小,0--16x16,1--32x32,2-48x48,3--64x64 (默认),8x128(Ver3.7) |
|
6964 |
public short wCharInterval; //字符间距,[0~16],可设单位:像素(默认) |
|
6965 |
public byte[] byRes1 = new byte[2]; |
|
6966 |
public int dwForeClorRGB; //前景色的RGB值bit0-1:(B) bit2-3:(G) bit4-5:(G) (默认x00FFFFFF-白) |
|
6967 |
public int dwBackClorRGB; //背景色的RGB值,只对图片外叠加有效bit0-1:(B) bit2-3:(G) bit4-5:(G) (默认x00000000-黑) |
|
6968 |
public byte byColorAdapt; //颜色是否自适应0-否1-是 |
|
6969 |
//(Ver3.7 新增) |
|
6970 |
// 参数补零使能 0-补零, 1-不补零(详细注释)速度,限速值 不足3位补0 |
|
6971 |
public byte byParamFillZeroEnble; |
|
6972 |
public byte byPlateLeftCornerEnable;// 车牌小图叠加左上角使能 0-不叠加, 1-叠加 |
|
6973 |
public byte byRes2; |
|
6974 |
public short wStartSPicPosTop; //起始上坐标,只对图片内部叠加有效[0~2448](默认0) |
|
6975 |
public short wStartSPicPosLeft; //起始左坐标,只对图片内部叠加有效[0~2448](默认0) |
|
6976 |
//OSD叠加位置 0-图片内,1-图片上边缘,2-图片下边缘(合成图专用的是上边缘外)(V3.7) |
|
6977 |
public byte byOsdLocate; |
|
6978 |
public byte[] byRes = new byte[63]; |
|
6979 |
|
|
6980 |
} |
|
6981 |
|
|
6982 |
//叠加项具体信息 |
|
6983 |
public static class NET_ITS_OVERLAP_INFO_PARAM extends HIKSDKStructure { |
|
6984 |
public byte[] bySite = new byte[128]; //地点描述 |
|
6985 |
public byte[] byRoadNum = new byte[32]; //路口编号 |
|
6986 |
public byte[] byInstrumentNum = new byte[32]; //设备编号 |
|
6987 |
public byte[] byDirection = new byte[32]; //方向编号 |
|
6988 |
public byte[] byDirectionDesc = new byte[32]; //方向描述 |
|
6989 |
public byte[] byLaneDes = new byte[32]; //车道描述 |
|
6990 |
public byte[] byRes1 = new byte[32]; //保留 |
|
6991 |
public byte[] byMonitoringSite1 = new byte[44]; //监测点1信息 |
|
6992 |
public byte[] byMonitoringSite2 = new byte[32]; //监测点2信息 |
|
6993 |
public byte[] byRes = new byte[64]; //保留 |
|
6994 |
} |
|
6995 |
|
|
6996 |
public static class NET_ITS_OVERLAP_CFG_V50 extends HIKSDKStructure { |
|
6997 |
public int dwSize; |
|
6998 |
public byte byEnable; //是否启用,0-不启用,1-启用 |
|
6999 |
public byte[] byRes1 = new byte[3]; |
|
7000 |
public NET_ITS_OVERLAP_ITEM_PARAM_V50 struOverLapItemV50 = new NET_ITS_OVERLAP_ITEM_PARAM_V50(); //字符串参数 |
|
7001 |
public NET_ITS_OVERLAP_INFO_PARAM struOverLapInfo = new NET_ITS_OVERLAP_INFO_PARAM(); //字符串内容信息 |
|
7002 |
public byte[] byRes = new byte[120]; |
|
7003 |
|
|
7004 |
} |
|
7005 |
|
|
7006 |
//人体特征识别结果结构体 |
|
7007 |
public static class NET_VCA_HUMAN_FEATURE extends HIKSDKStructure { |
|
7008 |
public byte byAgeGroup; //年龄段,参见 HUMAN_AGE_GROUP_ENUM |
|
7009 |
public byte bySex; //性别, 0-表示“未知”(算法不支持),1 – 男 , 2 – 女, 0xff-算法支持,但是没有识别出来 |
|
7010 |
public byte byEyeGlass; //是否戴眼镜 0-表示“未知”(算法不支持),1 – 不戴, 2 – 戴,0xff-算法支持,但是没有识别出来 |
|
7011 |
//抓拍图片人脸年龄的使用方式,如byAge为15,byAgeDeviation为1,表示,实际人脸图片年龄的为14-16之间 |
|
7012 |
public byte byAge;//年龄 0-表示“未知”(算法不支持),0xff-算法支持,但是没有识别出来 |
|
7013 |
public byte byAgeDeviation;//年龄误差值 |
|
7014 |
public byte byRes0; //字段预留 |
|
7015 |
public byte byMask; //是否戴口罩 0-表示“未知”(算法不支持),1 – 不戴, 2 – 戴, 0xff-算法支持,但是没有识别出来 |
|
7016 |
public byte bySmile; //是否微笑 0-表示“未知”(算法不支持),1 – 不微笑, 2 – 微笑, 0xff-算法支持,但是没有识别出来 |
|
7017 |
public byte byFaceExpression; /* 表情,参见FACE_EXPRESSION_GROUP_ENUM*/ |
|
7018 |
public byte byRes1; |
|
7019 |
public byte byRes2; |
|
7020 |
public byte byHat; // 帽子, 0-不支持,1-不戴帽子,2-戴帽子,0xff-unknow表示未知,算法支持未检出 |
|
7021 |
public byte[] byRes = new byte[4]; //保留 |
|
7022 |
} |
|
7023 |
|
|
7024 |
//人脸抓拍附加信息结构体 |
|
7025 |
public static class NET_VCA_FACESNAP_ADDINFO extends HIKSDKStructure { |
|
7026 |
//人脸矩形框,该坐标为人脸小图(头肩照)中人脸的坐标 |
|
7027 |
public NET_VCA_RECT struFacePicRect = new NET_VCA_RECT(); |
|
7028 |
public int iSwingAngle;//旋转角, -90~90度 |
|
7029 |
public int iTiltAngle;//俯仰角, -90~90度 |
|
7030 |
public int dwPupilDistance;//瞳距,范围为:最小值为10像素,最大值为当前分辨率宽度/1.6 |
|
7031 |
public byte byBlockingState;//目标遮挡状态, 0-表示“未知”(算法不支持),1~无遮挡,2~瞬时轻度遮挡,3~持续轻度遮挡,4~严重遮挡 |
|
7032 |
public byte byFaceSnapThermometryEnabled;//人脸抓拍测温使能 1-开启 0-关闭 |
|
7033 |
public byte byIsAbnomalTemperature;//人脸抓拍测温是否温度异常 1-是 0-否 |
|
7034 |
public byte byThermometryUnit;//测温单位: 0-摄氏度(℃),1-华氏度(℉),2-开尔文(K) |
|
7035 |
public NET_DVR_TIME_EX struEnterTime = new NET_DVR_TIME_EX(); // 最佳抓拍下进入时间 |
|
7036 |
public NET_DVR_TIME_EX struExitTime = new NET_DVR_TIME_EX(); // 最佳抓拍下离开时间 |
|
7037 |
public float fFaceTemperature; // 人脸温度( - 20.0℃~150.0℃,精确到小数点后1位) |
|
7038 |
public float fAlarmTemperature;// 测温报警警阈值(精确到小数点后1位) |
|
7039 |
public byte[] byRes = new byte[472];// 保留字节 |
|
7040 |
} |
|
7041 |
|
|
7042 |
//人脸抓拍结果 |
|
7043 |
public static class NET_VCA_FACESNAP_RESULT extends HIKSDKStructure { |
|
7044 |
public int dwSize; // 结构大小 |
|
7045 |
public int dwRelativeTime; // 相对时标 |
|
7046 |
public int dwAbsTime; // 绝对时标 |
|
7047 |
public int dwFacePicID; //人脸图ID |
|
7048 |
public int dwFaceScore; //人脸评分,0-100 |
|
7049 |
public NET_VCA_TARGET_INFO struTargetInfo = new NET_VCA_TARGET_INFO();//报警目标信息 |
|
7050 |
public NET_VCA_RECT struRect = new NET_VCA_RECT(); //人脸子图区域 |
|
7051 |
public NET_VCA_DEV_INFO struDevInfo = new NET_VCA_DEV_INFO(); //前端设备信息 |
|
7052 |
public int dwFacePicLen; //人脸子图的长度,为0表示没有图片,大于0表示有图片 |
|
7053 |
public int dwBackgroundPicLen; //背景图的长度,为0表示没有图片,大于0表示有图片(保留) |
|
7054 |
public byte bySmart; //IDS设备返回0(默认值),Smart Functiom Return 1 |
|
7055 |
public byte byAlarmEndMark;//报警结束标记0-保留,1-结束标记(该字段结合人脸ID字段使用,表示该ID对应的下报警结束,主要提供给NVR使用,用于判断报警结束,提取识别图片数据中,清晰度最高的图片) |
|
7056 |
public byte byRepeatTimes; //重复报警次数,0-无意义 |
|
7057 |
public byte byUploadEventDataType;//人脸图片数据长传方式:0-二进制数据,1-URL |
|
7058 |
public NET_VCA_HUMAN_FEATURE struFeature = new NET_VCA_HUMAN_FEATURE(); //人体属性 |
|
7059 |
public float fStayDuration; //停留画面中时间(单位: 秒) |
|
7060 |
public byte[] sStorageIP = new byte[16]; //存储服务IP地址 |
|
7061 |
public short wStoragePort; //存储服务端口号 |
|
7062 |
public short wDevInfoIvmsChannelEx; //与NET_VCA_DEV_INFO里的byIvmsChannel含义相同,能表示更大的值。老客户端用byIvmsChannel能继续兼容,但是最大到255。新客户端版本请使用wDevInfoIvmsChannelEx。 |
|
7063 |
public byte byFacePicQuality; |
|
7064 |
public byte byUIDLen; // 上传报警的标识长度 |
|
7065 |
public byte byLivenessDetectionStatus;// 活体检测状态:0-保留,1-未知(检测失败),2-非真人人脸,3-真人人脸,4-未开启活体检测 |
|
7066 |
/*附加信息标识位(即是否有NET_VCA_FACESNAP_ADDINFO结构体),0-无附加信息, 1-有附加信息。*/ |
|
7067 |
public byte byAddInfo; |
|
7068 |
public Pointer pUIDBuffer; //标识指针 |
|
7069 |
//附加信息指针,指向NET_VCA_FACESNAP_ADDINFO结构体 |
|
7070 |
public Pointer pAddInfoBuffer; |
|
7071 |
public byte byTimeDiffFlag; /*时差字段是否有效 0-时差无效, 1-时差有效 */ |
|
7072 |
public byte cTimeDifferenceH; /*与UTC的时差(小时),-12 ... +14, +表示东区,,byTimeDiffFlag为1时有效*/ |
|
7073 |
public byte cTimeDifferenceM; /*与UTC的时差(分钟),-30, 30, 45, +表示东区,byTimeDiffFlag为1时有效*/ |
|
7074 |
public byte byBrokenNetHttp; //断网续传标志位,0-不是重传数据,1-重传数据 |
|
7075 |
public Pointer pBuffer1; //人脸子图的图片数据 |
|
7076 |
public Pointer pBuffer2; //背景图的图片数据(保留,通过查找背景图接口可以获取背景图) |
|
7077 |
} |
|
7078 |
|
|
7079 |
//人脸抓拍信息 |
|
7080 |
public static class NET_VCA_FACESNAP_INFO_ALARM extends HIKSDKStructure { |
|
7081 |
public int dwRelativeTime; // 相对时标 |
|
7082 |
public int dwAbsTime; // 绝对时标 |
|
7083 |
public int dwSnapFacePicID; //抓拍人脸图ID |
|
7084 |
public int dwSnapFacePicLen; //抓拍人脸子图的长度,为0表示没有图片,大于0表示有图片 |
|
7085 |
public NET_VCA_DEV_INFO struDevInfo = new NET_VCA_DEV_INFO(); //前端设备信息 |
|
7086 |
public byte byFaceScore; //人脸评分,指人脸子图的质量的评分,0-100 |
|
7087 |
public byte bySex;//性别,0-未知,1-男,2-女 |
|
7088 |
public byte byGlasses;//是否带眼镜,0-未知,1-是,2-否 |
|
7089 |
//抓拍图片人脸年龄的使用方式,如byAge为15,byAgeDeviation为1,表示,实际人脸图片年龄的为14-16之间 |
|
7090 |
public byte byAge;//年龄 |
|
7091 |
public byte byAgeDeviation;//年龄误差值 |
|
7092 |
public byte byAgeGroup;//年龄段,详见HUMAN_AGE_GROUP_ENUM,若传入0xff表示未知 |
|
7093 |
public byte byFacePicQuality; |
|
7094 |
public byte byRes1; // 保留字节 |
|
7095 |
public int dwUIDLen; // 上传报警的标识长度 |
|
7096 |
public Pointer pUIDBuffer; //标识指针 |
|
7097 |
public float fStayDuration; //停留画面中时间(单位: 秒) |
|
7098 |
public Pointer pBuffer1; //抓拍人脸子图的图片数据 |
|
7099 |
} |
|
7100 |
|
|
7101 |
//籍贯参数 |
|
7102 |
public static class NET_DVR_AREAINFOCFG extends HIKSDKStructure { |
|
7103 |
public short wNationalityID; //国籍 |
|
7104 |
public short wProvinceID; //省 |
|
7105 |
public short wCityID; //市 |
|
7106 |
public short wCountyID; //县 |
|
7107 |
public int dwCode; //国家标准的省份、城市、县级代码,当这个字段不为0的时候,使用这个值,新设备上传这个值表示籍贯参数,老设备这个值为0 |
|
7108 |
} |
|
7109 |
|
|
7110 |
//人员信息 |
|
7111 |
public int MAX_HUMAN_BIRTHDATE_LEN = 10; |
|
7112 |
|
|
7113 |
public static class NET_VCA_HUMAN_ATTRIBUTE extends HIKSDKStructure { |
|
7114 |
public byte bySex; //性别:0-男,1-女 |
|
7115 |
public byte byCertificateType; //证件类型:0-身份证,1-警官证 |
|
7116 |
public byte[] byBirthDate = new byte[MAX_HUMAN_BIRTHDATE_LEN]; //出生年月,如:201106 |
|
7117 |
public byte[] byName = new byte[NAME_LEN]; //姓名 |
|
7118 |
public NET_DVR_AREAINFOCFG struNativePlace = new NET_DVR_AREAINFOCFG(); //籍贯参数 |
|
7119 |
public byte[] byCertificateNumber = new byte[NAME_LEN]; //证件号 |
|
7120 |
public int dwPersonInfoExtendLen;// 人员标签信息扩展长度 |
|
7121 |
public Pointer pPersonInfoExtend; //人员标签信息扩展信息 |
|
7122 |
public byte byAgeGroup;//年龄段,详见HUMAN_AGE_GROUP_ENUM,如传入0xff表示未知 |
|
7123 |
public byte[] byRes2 = new byte[11]; |
|
7124 |
} |
|
7125 |
|
|
7126 |
|
|
7127 |
//禁止名单报警信息 |
|
7128 |
public static class NET_VCA_BLOCKLIST_INFO_ALARM extends HIKSDKStructure { |
|
7129 |
public NET_VCA_BLOCKLIST_INFO struBlockListInfo = new NET_VCA_BLOCKLIST_INFO(); //禁止名单基本信息 |
|
7130 |
public int dwBlockListPicLen; //禁止名单人脸子图的长度,为0表示没有图片,大于0表示有图片 |
|
7131 |
public int dwFDIDLen;// 人脸库ID长度 |
|
7132 |
public Pointer pFDID; //人脸库Id指针 |
|
7133 |
public int dwPIDLen;// 人脸库图片ID长度 |
|
7134 |
public Pointer pPID; //人脸库图片ID指针 |
|
7135 |
public short wThresholdValue; //人脸库阈值[0,100] |
|
7136 |
public byte[] byRes = new byte[2]; // 保留字节 |
|
7137 |
public Pointer pBuffer1; //禁止名单人脸子图的图片数据 |
|
7138 |
} |
|
7139 |
|
|
7140 |
//禁止名单信息 |
|
7141 |
public static class NET_VCA_BLOCKLIST_INFO extends HIKSDKStructure { |
|
7142 |
public int dwSize; //结构大小 |
|
7143 |
public int dwRegisterID; //名单注册ID号(只读) |
|
7144 |
public int dwGroupNo; //分组号 |
|
7145 |
public byte byType; //黑允许名单标志:0-全部,1-允许名单,2-禁止名单 |
|
7146 |
public byte byLevel; //禁止名单等级,0-全部,1-低,2-中,3-高 |
|
7147 |
public byte[] byRes1 = new byte[2]; //保留 |
|
7148 |
public NET_VCA_HUMAN_ATTRIBUTE struAttribute = new NET_VCA_HUMAN_ATTRIBUTE(); //人员信息 |
|
7149 |
public byte[] byRemark = new byte[NAME_LEN]; //备注信息 |
|
7150 |
public int dwFDDescriptionLen;//人脸库描述数据长度 |
|
7151 |
public Pointer pFDDescriptionBuffer;//人脸库描述数据指针 |
|
7152 |
public int dwFCAdditionInfoLen;//抓拍库附加信息长度 |
|
7153 |
public Pointer pFCAdditionInfoBuffer;//抓拍库附加信息数据指针(FCAdditionInfo中包含相机PTZ坐标) |
|
7154 |
public byte[] byRes2 = new byte[4]; |
|
7155 |
} |
|
7156 |
|
|
7157 |
|
|
7158 |
//禁止名单比对结果报警上传 |
|
7159 |
public static class NET_VCA_FACESNAP_MATCH_ALARM extends HIKSDKStructure { |
|
7160 |
public int dwSize; // 结构大小 |
|
7161 |
public float fSimilarity; //相似度,[0.001,1] |
|
7162 |
public NET_VCA_FACESNAP_INFO_ALARM struSnapInfo = new NET_VCA_FACESNAP_INFO_ALARM(); //抓拍信息 |
|
7163 |
public NET_VCA_BLOCKLIST_INFO_ALARM struBlockListInfo = new NET_VCA_BLOCKLIST_INFO_ALARM(); //禁止名单信息 |
|
7164 |
public byte[] sStorageIP = new byte[16]; //存储服务IP地址 |
|
7165 |
public short wStoragePort; //存储服务端口号 |
|
7166 |
public byte byMatchPicNum; //匹配图片的数量,0-保留(老设备这个值默认0,新设备这个值为0时表示后续没有匹配的图片信息) |
|
7167 |
public byte byPicTransType;//图片数据传输方式: 0-二进制;1-url |
|
7168 |
public int dwSnapPicLen;//设备识别抓拍图片长度 |
|
7169 |
public Pointer pSnapPicBuffer;//设备识别抓拍图片指针 |
|
7170 |
public NET_VCA_RECT struRegion = new NET_VCA_RECT();//目标边界框,设备识别抓拍图片中,人脸子图坐标 |
|
7171 |
public int dwModelDataLen;//建模数据长度 |
|
7172 |
public Pointer pModelDataBuffer;// 建模数据指针 |
|
7173 |
public byte byModelingStatus;// 建模状态 |
|
7174 |
public byte byLivenessDetectionStatus;//活体检测状态:0-保留,1-未知(检测失败),2-非真人人脸,3-真人人脸,4-未开启活体检测 |
|
7175 |
public byte cTimeDifferenceH; /*与UTC的时差(小时),-12 ... +14, +表示东区,0xff无效*/ |
|
7176 |
public byte cTimeDifferenceM; /*与UTC的时差(分钟),-30, 30, 45, +表示东区,0xff无效*/ |
|
7177 |
public byte byMask; //抓拍图是否戴口罩,0-保留,1-未知,2-不戴口罩,3-戴口罩 |
|
7178 |
public byte bySmile; //抓拍图是否微笑,0-保留,1-未知,2-不微笑,3-微笑 |
|
7179 |
public byte byContrastStatus; //比对结果,0-保留,1-比对成功,2-比对失败 |
|
7180 |
public byte byBrokenNetHttp; //断网续传标志位,0-不是重传数据,1-重传数据 |
|
7181 |
} |
|
7182 |
|
|
7183 |
//交通事件报警(扩展) |
|
7184 |
public static class NET_DVR_AID_ALARM_V41 extends HIKSDKStructure { |
|
7185 |
public int dwSize; //结构长度 |
|
7186 |
public int dwRelativeTime; //相对时标 |
|
7187 |
public int dwAbsTime; //绝对时标 |
|
7188 |
public NET_VCA_DEV_INFO struDevInfo = new NET_VCA_DEV_INFO(); //前端设备信息 |
|
7189 |
public NET_DVR_AID_INFO struAIDInfo = new NET_DVR_AID_INFO(); //交通事件信息 |
|
7190 |
public NET_DVR_SCENE_INFO struSceneInfo = new NET_DVR_SCENE_INFO(); //场景信息 |
|
7191 |
public int dwPicDataLen; //图片长度 |
|
7192 |
public Pointer pImage; //指向图片的指针 |
|
7193 |
// 0-数据直接上传; 1-云存储服务器URL(3.7Ver)原先的图片数据变成URL数据,图片长度变成URL长度 |
|
7194 |
public byte byDataType; |
|
7195 |
public byte byLaneNo; //关联车道号 |
|
7196 |
public short wMilliSecond; //时标毫秒 |
|
7197 |
//监测点编号(路口编号、内部编号) |
|
7198 |
public byte[] byMonitoringSiteID = new byte[MONITORSITE_ID_LEN/*48*/]; |
|
7199 |
public byte[] byDeviceID = new byte[DEVICE_ID_LEN/*48*/];//设备编号 |
|
7200 |
public int dwXmlLen;//XML报警信息长度 |
|
7201 |
public Pointer pXmlBuf;// XML报警信息指针,其XML对应到EventNotificationAlert XML Block |
|
7202 |
public byte byTargetType;// 检测的目标类型,0~未知,1~行人、2~二轮车、3~三轮车(行人检测中返回) |
|
7203 |
public byte byRuleID;//规则ID,1-4,当congestion事件配置了规则区域时返回 |
|
7204 |
public short wDevInfoIvmsChannelEx; //与NET_VCA_DEV_INFO里的byIvmsChannel含义相同,能表示更大的值。老客户端用byIvmsChannel能继续兼容,但是最大到255。新客户端版本请使用wDevInfoIvmsChannelEx。 |
|
7205 |
public byte byBrokenNetHttp; // 断网续传标志位,0-不重传数据,1-重传数据 |
|
7206 |
public byte[] byRes = new byte[3]; // 保留字节 |
|
7207 |
public int dwPlateSmallPicDataLen; //车牌小图图片长度 |
|
7208 |
public Pointer pPlateSmallImage; // //指向车牌小图的指针 |
|
7209 |
} |
|
7210 |
|
|
7211 |
|
|
7212 |
//交通统计信息报警(扩展) |
|
7213 |
public static class NET_DVR_TPS_ALARM_V41 extends HIKSDKStructure { |
|
7214 |
public int dwSize; // 结构体大小 |
|
7215 |
public int dwRelativeTime; // 相对时标 |
|
7216 |
public int dwAbsTime; // 绝对时标 |
|
7217 |
public NET_VCA_DEV_INFO struDevInfo; // 前端设备信息 |
|
7218 |
public NET_DVR_TPS_INFO_V41 struTPSInfo; // 交通参数统计信息 |
|
7219 |
//监测点编号(路口编号、内部编号) |
|
7220 |
public byte[] byMonitoringSiteID = new byte[MONITORSITE_ID_LEN/*48*/]; |
|
7221 |
public byte[] byDeviceID = new byte[DEVICE_ID_LEN/*48*/];//设备编号 |
|
7222 |
public int dwStartTime; // 开始统计时间 |
|
7223 |
public int dwStopTime; // 结束统计时间 |
|
7224 |
public byte[] byRes = new byte[24]; // 保留 |
|
7225 |
} |
|
7226 |
|
|
7227 |
public static class NET_DVR_LANE_PARAM_V41 extends HIKSDKStructure { |
|
7228 |
public byte[] byRuleName = new byte[NAME_LEN]; // 车道规则名称 |
|
7229 |
public byte byRuleID; // 规则序号,为规则配置结构下标,0-7 |
|
7230 |
public byte byLaneType; // 车道上行或下行 |
|
7231 |
public byte byTrafficState; // 车道的交通状态,0-无效,1-畅通,2-拥挤,3-堵塞 |
|
7232 |
public byte byLaneNo; //车道号 |
|
7233 |
public int dwVaryType; // 车道交通参数变化类型参照 TRAFFIC_DATA_VARY_TYPE_EX_ENUM,按位区分 |
|
7234 |
public int dwTpsType; // 数据变化类型标志,表示当前上传的统计参数中,哪些数据有效,参照ITS_TPS_TYPE,按位区分 |
|
7235 |
public int dwLaneVolume; // 车道流量,统计有多少车子通过 |
|
7236 |
public int dwLaneVelocity; // 车道速度,公里计算 |
|
7237 |
public int dwTimeHeadway; // 车头时距,以秒计算 |
|
7238 |
public int dwSpaceHeadway; // 车头间距,以米来计算 |
|
7239 |
public float fSpaceOccupyRation; // 车道占有率,百分比计算(空间上) |
|
7240 |
public float fTimeOccupyRation; // 时间占有率,百分比计算 |
|
7241 |
public int dwLightVehicle; // 小型车数量 |
|
7242 |
public int dwMidVehicle; // 中型车数量 |
|
7243 |
public int dwHeavyVehicle; // 重型车数量 |
|
7244 |
public NET_DVR_LANE_QUEUE struLaneQueue; // 车道队列长度 |
|
7245 |
public NET_VCA_POINT struRuleLocation; // 规则位置虚拟线圈的中心 |
|
7246 |
public int dwOversizeVehicle; // 大型车数量 |
|
7247 |
public byte[] byRes2 = new byte[60]; // 保留 |
|
7248 |
} |
|
7249 |
|
|
7250 |
public int MAX_TPS_RULE = 8; // 最大参数规则数目 |
|
7251 |
|
|
7252 |
public static class NET_DVR_TPS_INFO_V41 extends HIKSDKStructure { |
|
7253 |
public int dwLanNum; // 交通参数的车道数目 |
|
7254 |
public NET_DVR_LANE_PARAM_V41[] struLaneParam = new NET_DVR_LANE_PARAM_V41[MAX_TPS_RULE]; |
|
7255 |
public int dwSceneID;//场景ID |
|
7256 |
public byte[] byRes = new byte[28]; //保留 |
|
7257 |
} |
|
7258 |
|
|
7259 |
// 车道队列结构体 |
|
7260 |
public static class NET_DVR_LANE_QUEUE extends HIKSDKStructure { |
|
7261 |
public NET_VCA_POINT struHead; //队列头 |
|
7262 |
public NET_VCA_POINT struTail; //队列尾 |
|
7263 |
public int dwLength; //实际队列长度 单位为米 [0-500] |
|
7264 |
} |
|
7265 |
|
|
7266 |
//TPS统计过车数据上传 |
|
7267 |
public static class NET_DVR_TPS_STATISTICS_INFO extends HIKSDKStructure { |
|
7268 |
public int dwSize; // 结构体大小 |
|
7269 |
public int dwChan;//通道号 |
|
7270 |
public NET_DVR_TPS_STATISTICS_PARAM struTPSStatisticsInfo;// 交通参数统计信息 |
|
7271 |
public byte[] byRes = new byte[128]; // 保留 |
|
7272 |
} |
|
7273 |
|
|
7274 |
|
|
7275 |
// 交通参数统计信息 |
|
7276 |
public static class NET_DVR_TPS_STATISTICS_PARAM extends HIKSDKStructure { |
|
7277 |
public byte byStart; // 开始码 |
|
7278 |
public byte byCMD; // 命令号, 08-定时成组数据指令 |
|
7279 |
public byte[] byRes = new byte[2]; // 预留字节 |
|
7280 |
public short wDeviceID; // 设备ID |
|
7281 |
public short wDataLen; // 数据长度 |
|
7282 |
public byte byTotalLaneNum; // 有效车道总数 |
|
7283 |
public byte[] byRes1 = new byte[15]; |
|
7284 |
public NET_DVR_TIME_V30 struStartTime; //统计开始时间 |
|
7285 |
public int dwSamplePeriod; //统计时间,单位秒 |
|
7286 |
public NET_DVR_TPS_LANE_PARAM[] struLaneParam = new NET_DVR_TPS_LANE_PARAM[8]; |
|
7287 |
} |
|
7288 |
|
|
7289 |
//统计信息 |
|
7290 |
public static class NET_DVR_TPS_LANE_PARAM extends HIKSDKStructure { |
|
7291 |
public byte byLane; // 对应车道号 |
|
7292 |
public byte bySpeed; // 车道过车平均速度 |
|
7293 |
public byte[] byRes = new byte[2]; // 保留 |
|
7294 |
public int dwLightVehicle; // 小型车数量 |
|
7295 |
public int dwMidVehicle; // 中型车数量 |
|
7296 |
public int dwHeavyVehicle; // 重型车数量 |
|
7297 |
public int dwTimeHeadway; // 车头时距,以秒计算 |
|
7298 |
public int dwSpaceHeadway; // 车头间距,以米来计算 |
|
7299 |
public float fSpaceOccupyRation; // 空间占有率,百分比计算,浮点数*1000 |
|
7300 |
public float fTimeOccupyRation; // 时间占有率,百分比计算,浮点数*1000 |
|
7301 |
public byte[] byRes1 = new byte[16]; // 保留 |
|
7302 |
} |
|
7303 |
|
|
7304 |
//TPS实时过车数据上传 |
|
7305 |
public static class NET_DVR_TPS_REAL_TIME_INFO extends HIKSDKStructure { |
|
7306 |
public int dwSize; // 结构体大小 |
|
7307 |
public int dwChan;//通道号 |
|
7308 |
public NET_DVR_TIME_V30 struTime; //检测时间 |
|
7309 |
public NET_DVR_TPS_PARAM struTPSRealTimeInfo;// 交通参数统计信息 |
|
7310 |
public Pointer pAddInfoBuffer; |
|
7311 |
/*附加信息标识(即是否有NET_DVR_TPS_ADDINFO结构体),0-无附加信息, 1-有附加信息。*/ |
|
7312 |
public byte byAddInfoFlag; |
|
7313 |
public byte[] byRes1 = new byte[3]; // 保留 |
|
7314 |
public int dwDeviceIDEx; // 设备ID扩展 |
|
7315 |
public byte[] byRes = new byte[8]; // 保留 |
|
7316 |
} |
|
7317 |
|
|
7318 |
//实时信息 |
|
7319 |
public static class NET_DVR_TPS_PARAM extends HIKSDKStructure { |
|
7320 |
public byte byStart; // 开始码 |
|
7321 |
public byte byCMD; // 命令号,01-进入指令,02-离开指令,03-拥堵状态指令(为03时,只有byLaneState和byQueueLen有效),04-多线圈状态(为04时,wLoopState和wStateMask有效,表示byLane车道上多个线圈的过车状态) |
|
7322 |
public short wSpaceHeadway; //车头间距,以米来计算 |
|
7323 |
public short wDeviceID; // 设备ID |
|
7324 |
public short wDataLen; // 数据长度 |
|
7325 |
public byte byLane; // 对应车道号 |
|
7326 |
public byte bySpeed; // 对应车速(KM/H) |
|
7327 |
public byte byLaneState; // 车道状态;0-无状态,1-畅通,2-拥挤,3-堵塞 |
|
7328 |
public byte byQueueLen; // 堵塞状态下排队长度(比如50米) |
|
7329 |
public short wLoopState; //线圈状态,第几位表示几号线圈状态。状态1-到达,0-离开,线圈编号从镜头由近到远依次增大,用户在解析时优先解析车道号,再解析线圈号,单个车道的线圈号是唯一的。 |
|
7330 |
public short wStateMask; //线圈状态掩码,掩码位为1对应wLoopState状态位有效,为0表示无效 |
|
7331 |
public int dwDownwardFlow; //当前车道 从上到下车流量 |
|
7332 |
public int dwUpwardFlow; //当前车道 从下到上车流量 |
|
7333 |
public byte byJamLevel; //拥堵等级,当byLaneState为3时有效,1-轻度,2-中度,3-重度 |
|
7334 |
public byte byVehicleDirection; //0-未知,1-由上而下,2-由下而上 |
|
7335 |
public byte byJamFlow; //拥堵新增流量,每新增一辆车就上报一次累计车辆的信息 |
|
7336 |
public byte byChannelizationLane; //渠化车道号(渠化表示,车道数量变化的情况,一般为路口车道的数目) |
|
7337 |
public byte byVehicleType; //车型识别:0- 未知,1- 客车(大型),2- 货车(大型),3- 轿车(小型),4- 非机动车 |
|
7338 |
public byte[] byRes1 = new byte[5]; //保留 |
|
7339 |
public short wTimeHeadway; // 车头时距,以秒计算 |
|
7340 |
} |
|
7341 |
|
|
7342 |
public static class NET_DVR_TIME_SEARCH_COND extends HIKSDKStructure { |
|
7343 |
public short wYear; //年 |
|
7344 |
public byte byMonth; //月 |
|
7345 |
public byte byDay; //日 |
|
7346 |
public byte byHour; //时 |
|
7347 |
public byte byMinute; //分 |
|
7348 |
public byte bySecond; //秒 |
|
7349 |
public byte byLocalOrUTC; //0-时差无效,设备本地时间,即设备OSD时间 1-时差有效 |
|
7350 |
public short wMillisecond; //毫秒,精度不够,默认为0 |
|
7351 |
public byte cTimeDifferenceH; //与UTC的时差(小时),-12 ... +14,+表示东区,byLocalOrUTC为1时有效 |
|
7352 |
public byte cTimeDifferenceM; //与UTC的时差(分钟),-30, 0, 30, 45,+表示东区,byLocalOrUTC为1时有效 |
|
7353 |
} |
|
7354 |
|
|
7355 |
//事件搜索条件 |
|
7356 |
public static class NET_DVR_SEARCH_EVENT_PARAM extends HIKSDKStructure { |
|
7357 |
public short wMajorType; //0-移动侦测,1-报警输入, 2-智能事件 5-pos录像 7-门禁事件, 8-非视频联动事件 |
|
7358 |
public short wMinorType; //搜索次类型- 根据主类型变化,0xffff表示全部 |
|
7359 |
public NET_DVR_TIME struStartTime = new NET_DVR_TIME(); //搜索的开始时间,停止时间: 同时为(0, 0) 表示从最早的时间开始,到最后,最前面的4000个事件 |
|
7360 |
public NET_DVR_TIME struEndTime = new NET_DVR_TIME(); //搜索的结束时间 |
|
7361 |
public byte byLockType; // 0xff-全部,0-未锁,1-锁定 |
|
7362 |
public byte byValue; //0-按位表示,1-按值表示 |
|
7363 |
public byte[] byRes = new byte[130]; // 保留 |
|
7364 |
public UNION_EVENT_PARAM uSeniorParam = new UNION_EVENT_PARAM(); |
|
7365 |
} |
|
7366 |
|
|
7367 |
public static class UNION_EVENT_PARAM extends Union { |
|
7368 |
public byte[] byLen = new byte[SEARCH_EVENT_INFO_LEN]; |
|
7369 |
public EVENT_INQUESTPARAM struInquestParam = new EVENT_INQUESTPARAM(); |
|
7370 |
} |
|
7371 |
|
|
7372 |
//审讯事件搜索条件 |
|
7373 |
public static class EVENT_INQUESTPARAM extends HIKSDKStructure { |
|
7374 |
public byte byRoomIndex; //审讯室编号,按值表示,从1开始 |
|
7375 |
public byte[] byRes1 = new byte[3]; |
|
7376 |
public byte[] sInquestInfo = new byte[INQUEST_CASE_LEN]; |
|
7377 |
public byte[] byRes2 = new byte[232]; //保留 |
|
7378 |
} |
|
7379 |
|
|
7380 |
//事件搜索条件 |
|
7381 |
public static class NET_DVR_SEARCH_EVENT_PARAM_V50 extends HIKSDKStructure { |
|
7382 |
public short wMajorType; //0-移动侦测,1-报警输入, 2-智能事件 5-pos录像 7-门禁事件, 8-非视频联动事件 |
|
7383 |
public short wMinorType; //搜索次类型- 根据主类型变化,0xffff表示全部 |
|
7384 |
public NET_DVR_TIME_SEARCH_COND struStartTime = new NET_DVR_TIME_SEARCH_COND(); //搜索的开始时间,停止时间: 同时为(0, 0) 表示从最早的时间开始,到最后,最前面的4000个事件 |
|
7385 |
public NET_DVR_TIME_SEARCH_COND struEndTime = new NET_DVR_TIME_SEARCH_COND(); //搜索的结束时间 |
|
7386 |
public byte byLockType; // 0xff-全部,0-未锁,1-锁定 |
|
7387 |
public byte byQuickSearch; // 是否启用快速查询,0-不启用,1-启用(快速查询不会返回文件大小,仅对设备数据库进行查询,避免频繁唤醒硬盘) |
|
7388 |
public byte[] byRes = new byte[254]; // 保留 |
|
7389 |
public UNION_EVENT_PARAM_V50 uSeniorParam = new UNION_EVENT_PARAM_V50(); |
|
7390 |
} |
|
7391 |
|
|
7392 |
public static class UNION_EVENT_PARAM_V50 extends Union { |
|
7393 |
public byte[] byLen = new byte[SEARCH_EVENT_INFO_LEN_V40/*800*/]; |
|
7394 |
public EVENT_ALARMPARAM_V50 struAlarmParam = new EVENT_ALARMPARAM_V50(); |
|
7395 |
public EVENT_MOTIONPARAM_V50 struMotionParam = new EVENT_MOTIONPARAM_V50(); |
|
7396 |
public EVENT_VCAPARAM_V50 struVcaParam = new EVENT_VCAPARAM_V50(); |
|
7397 |
public EVENT_INQUESTPARAM_V50 struInquestParam = new EVENT_INQUESTPARAM_V50(); |
|
7398 |
public EVENT_VCADETECTPARAM_V50 struVCADetect = new EVENT_VCADETECTPARAM_V50(); |
|
7399 |
public EVENT_STREAMIDPARAM_V50 struStreamIDParam = new EVENT_STREAMIDPARAM_V50(); |
|
7400 |
public EVENT_POSPARAM_V50 struPosAlarm = new EVENT_POSPARAM_V50(); |
|
7401 |
public EVENT_TRIALPARAM_V50 struTrialParam = new EVENT_TRIALPARAM_V50(); |
|
7402 |
public EVENT_ACSPARAM_V50 struACSAlarm = new EVENT_ACSPARAM_V50(); |
|
7403 |
public EVENT_IOTPARAM_V50 struIOTAlarm = new EVENT_IOTPARAM_V50(); |
|
7404 |
} |
|
7405 |
|
|
7406 |
public static class EVENT_ALARMPARAM_V50 extends HIKSDKStructure { |
|
7407 |
/*报警输入号,按值表示,采用紧凑型排列,0xffff表示后续无效*/ |
|
7408 |
public short[] wAlarmInNo = new short[128]; |
|
7409 |
public byte[] byRes = new byte[544]; //保留 |
|
7410 |
} |
|
7411 |
|
|
7412 |
//移动侦测 |
|
7413 |
public static class EVENT_MOTIONPARAM_V50 extends HIKSDKStructure { |
|
7414 |
/* 移动侦测通道,按值表示 ,采用紧凑型排列,0xffff表示后续无效*/ |
|
7415 |
public short[] wMotDetChanNo = new short[MAX_CHANNUM_V30]; |
|
7416 |
public byte[] byRes = new byte[672]; /*保留*/ |
|
7417 |
} |
|
7418 |
|
|
7419 |
//行为分析 |
|
7420 |
public static class EVENT_VCAPARAM_V50 extends HIKSDKStructure { |
|
7421 |
//行为分析对应的通道,按值表示,采用紧凑型排列,0xffff表示后续无效 |
|
7422 |
public short[] wChanNo = new short[MAX_CHANNUM_V30]; |
|
7423 |
public byte byRuleID; //行为分析类型,规则0xff表示全部,从0开始 |
|
7424 |
public byte byDriverBehaviortType; //司机驾驶行为类型:0-保留、1-抽烟、2-接打电话、3-疲劳驾驶、4-分神提醒、5-驾驶员异常、6-未系安全带、7-红外阻断墨镜 |
|
7425 |
public byte byADASType; //高级辅助驾驶类型:0-保留、1-前向碰撞、2-车道偏离、3-盲区检测、4-车距检测、5-行人防撞、6-急加速、7-急减速、8-急左转弯、9-急右转弯、10-车辆翻车、11-未礼让行人 |
|
7426 |
public byte byGSensorType; // G-Sensor事件:0-保留、1-急加速、2-急减速、3-急左转弯、4-急右转弯、5-车辆翻车、6-车辆碰撞 |
|
7427 |
public byte bySensorInType; // Sensor-In行为:0-保留、1-刹车、2-左转、3-右转、4-倒车 |
|
7428 |
public byte[] byRes = new byte[667]; /*保留*/ |
|
7429 |
} |
|
7430 |
|
|
7431 |
//审讯事件搜索条件 |
|
7432 |
public static class EVENT_INQUESTPARAM_V50 extends HIKSDKStructure { |
|
7433 |
public byte byRoomIndex; //审讯室编号,从1开始 |
|
7434 |
public byte[] byRes = new byte[799]; //保留 |
|
7435 |
} |
|
7436 |
|
|
7437 |
//智能侦测查找条件 ,通道号按值表示 |
|
7438 |
public static class EVENT_VCADETECTPARAM_V50 extends HIKSDKStructure { |
|
7439 |
public byte byAll; //查找全部通道,0-否,此时dwChanNo参数有效, |
|
7440 |
//1-查找全部通道,此时dwChanNo参数无效。 |
|
7441 |
public byte[] byRes1 = new byte[3]; |
|
7442 |
public short[] wChanNo = new short[MAX_CHANNUM_V30];// 触发通道号,按值表示,0xffff无效,且后续数据也表示无效值 |
|
7443 |
public byte[] byRes = new byte[668]; |
|
7444 |
} |
|
7445 |
|
|
7446 |
public static class EVENT_STREAMIDPARAM_V50 extends HIKSDKStructure { |
|
7447 |
public NET_DVR_STREAM_INFO struIDInfo = new NET_DVR_STREAM_INFO(); // 流id信息,72字节长 |
|
7448 |
public int dwCmdType; // 外部触发类型,NVR接入云存储使用 |
|
7449 |
public byte byBackupVolumeNum; //存档卷号,CVR使用 |
|
7450 |
public byte[] byRes1 = new byte[3]; |
|
7451 |
public byte[] byArchiveLabel = new byte[64]; //存档标签,CVR使用 |
|
7452 |
public byte[] byRes = new byte[656]; |
|
7453 |
} |
|
7454 |
|
|
7455 |
//pos录像 |
|
7456 |
public static class EVENT_POSPARAM_V50 extends HIKSDKStructure { |
|
7457 |
public short[] wChannel = new short[MAX_CHANNUM_V30]; //通道,按值表示,紧凑型排列,遇到0xffff时表示数组后续值无效 |
|
7458 |
public byte byAllChan; //是否查找全部通道,0-否,此时wChannel有效,1-全部通道,此时wChannel无效 |
|
7459 |
public byte byCaseSensitive; //0-不区分大小写, 1-区分大小写 |
|
7460 |
public byte byCombinateMode; //关键字组合方式,0-或,1-与 |
|
7461 |
public byte byRes1; //保留 |
|
7462 |
public byte[] sKeyWord = new byte[MAX_POS_KEYWORDS_NUM * MAX_POS_KEYWORD_LEN]; |
|
7463 |
//关键字查找时的条件 |
|
7464 |
public byte[] byRes = new byte[284]; //保留 |
|
7465 |
} |
|
7466 |
|
|
7467 |
public static class EVENT_TRIALPARAM_V50 extends HIKSDKStructure { |
|
7468 |
public byte[] byCaseNo = new byte[SEARCH_CASE_NO_LEN]; |
|
7469 |
public byte[] byCaseName = new byte[SEARCH_CASE_NAME_LEN]; |
|
7470 |
public byte[] byLitigant1 = new byte[SEARCH_LITIGANT_LEN]; |
|
7471 |
public byte[] byLitigant2 = new byte[SEARCH_LITIGANT_LEN]; |
|
7472 |
public byte[] byChiefJudge = new byte[SEARCH_CHIEF_JUDGE_LEN]; |
|
7473 |
public byte byCaseType; |
|
7474 |
public byte[] byRes = new byte[547]; |
|
7475 |
} |
|
7476 |
|
|
7477 |
//门禁事件搜索条件 |
|
7478 |
public static class EVENT_ACSPARAM_V50 extends HIKSDKStructure { |
|
7479 |
public int dwMajor; //报警主类型(与事件上传主类型一致,0代表全部) |
|
7480 |
public int dwMinor; //报警次类型(与事件上传主类型一致,0代表全部) |
|
7481 |
public byte[] byCardNo = new byte[ACS_CARD_NO_LEN]; //卡号 |
|
7482 |
public byte[] byName = new byte[NAME_LEN/*32*/]; //姓名 |
|
7483 |
public byte[] byMACAddr = new byte[MACADDR_LEN]; //物理MAC地址 |
|
7484 |
public byte[] byRes = new byte[722]; |
|
7485 |
} |
|
7486 |
|
|
7487 |
//非视频联动事件搜索条件 |
|
7488 |
public static class EVENT_IOTPARAM_V50 extends HIKSDKStructure { |
|
7489 |
public short wDeviceType; //设备类型,0-海康门禁主机,1-海康可视对讲设备, 2-海康报警主机(预留) 3-GJD报警主机 4-Luminite报警主机, 5-OPTEX报警主机,6-cameraDetector模拟相机传感器设备 |
|
7490 |
public short wEventType; //搜索次类型- 根据主类型变化,0xffff表示全部 |
|
7491 |
public short[] wChannel = new short[MAX_CHANNUM_V30/*64*/]; //通道号,按值表示,紧凑型排列,遇到0xffff时表示数组后续值无效 |
|
7492 |
public byte byAllChan; //是否查找全部通道,0-否,此时wChannel有效,1-全部通道,此时wChannel无效 |
|
7493 |
public byte byCaseSensitive; //0-不区分大小写, 1-区分大小写 |
|
7494 |
public byte byCombinateMode; //关键字组合方式,0-或,1-与 |
|
7495 |
public byte bySearchType; //搜索方式:0-按视频源搜索(此时通道号为视频通道号) |
|
7496 |
public byte[] sKeyWord = new byte[MAX_POS_KEYWORDS_NUM * MAX_POS_KEYWORD_LEN];//关键字查找时的条件 |
|
7497 |
public short wZoneNo; //防区号,仅当设备类型为海康报警主机,次类型为防区(wEventType为1)时有效 |
|
7498 |
public byte[] byRes = new byte[278]; //保留 |
|
7499 |
} |
|
7500 |
|
|
7501 |
//查找返回结果 |
|
7502 |
public static class NET_DVR_SEARCH_EVENT_RET extends HIKSDKStructure { |
|
7503 |
public short wMajorType; //主类型 |
|
7504 |
public short wMinorType; //次类型 |
|
7505 |
public NET_DVR_TIME struStartTime = new NET_DVR_TIME(); //事件开始的时间 |
|
7506 |
public NET_DVR_TIME struEndTime = new NET_DVR_TIME(); //事件停止的时间 |
|
7507 |
public byte[] byChan = new byte[MAX_CHANNUM_V30]; |
|
7508 |
public byte[] byChanEx = new byte[32]; //关联通道,按位表示,使用该字段后byChan可以不使用 |
|
7509 |
public byte[] byRes = new byte[4]; |
|
7510 |
public UNION_EVENT_RET uSeniorRet = new UNION_EVENT_RET(); |
|
7511 |
} |
|
7512 |
|
|
7513 |
public static class UNION_EVENT_RET extends Union { |
|
7514 |
public byte[] byLen = new byte[304]; |
|
7515 |
public EVENT_ALARMSTRET struAlarmRet = new EVENT_ALARMSTRET(); |
|
7516 |
public EVENT_INQUESTRET struInquestRet = new EVENT_INQUESTRET(); |
|
7517 |
} |
|
7518 |
|
|
7519 |
//报警输入结果 |
|
7520 |
public static class EVENT_ALARMSTRET extends HIKSDKStructure { |
|
7521 |
|
|
7522 |
public int dwAlarmInNo; //报警输入号 |
|
7523 |
public byte[] byRes = new byte[SEARCH_EVENT_INFO_LEN]; |
|
7524 |
} |
|
7525 |
|
|
7526 |
//审讯事件 |
|
7527 |
public static class EVENT_INQUESTRET extends HIKSDKStructure { |
|
7528 |
public byte byRoomIndex; //审讯室编号,从1开始 |
|
7529 |
public byte byDriveIndex; //刻录机编号,从1开始 |
|
7530 |
public byte[] byRes1 = new byte[6]; //保留 |
|
7531 |
public int dwSegmentNo; //本片断在本次审讯中的序号,从1开始 |
|
7532 |
public short wSegmetSize; //本片断的大小, 单位M |
|
7533 |
public short wSegmentState; //本片断状态 0 刻录正常,1 刻录异常,2 不刻录审讯 |
|
7534 |
public byte[] byRes2 = new byte[288]; //保留 |
|
7535 |
|
|
7536 |
@Override |
|
7537 |
protected List<String> getFieldOrder() { |
|
7538 |
// TODO Auto-generated method stub |
|
7539 |
return Arrays.asList("byRoomIndex", "byDriveIndex", "byRes1", "dwSegmentNo", "wSegmetSize", "wSegmentState", "byRes2"); |
|
7540 |
} |
|
7541 |
} |
|
7542 |
|
|
7543 |
//查找返回结果 |
|
7544 |
public static class NET_DVR_SEARCH_EVENT_RET_V50 extends HIKSDKStructure { |
|
7545 |
public short wMajorType; //主类型 |
|
7546 |
public short wMinorType; //次类型 |
|
7547 |
public NET_DVR_TIME_SEARCH struStartTime = new NET_DVR_TIME_SEARCH(); //事件开始的时间 |
|
7548 |
public NET_DVR_TIME_SEARCH struEndTime = new NET_DVR_TIME_SEARCH(); //事件停止的时间,脉冲事件时和开始时间一样 |
|
7549 |
public NET_DVR_ADDRESS struAddr = new NET_DVR_ADDRESS(); //片段所在的地址信息,集群回放时用到 |
|
7550 |
public short[] wChan = new short[MAX_CHANNUM_V40/*512*/]; //触发的通道号,0xffff表示后续无效 |
|
7551 |
public byte[] byRes = new byte[256]; |
|
7552 |
public UNION_EVENT_RET_V50 uSeniorRet = new UNION_EVENT_RET_V50(); |
|
7553 |
} |
|
7554 |
|
|
7555 |
public static class UNION_EVENT_RET_V50 extends Union { |
|
7556 |
public byte[] byLen = new byte[800]; |
|
7557 |
public EVENT_ALARMRET_V50 struAlarmRet = new EVENT_ALARMRET_V50(); |
|
7558 |
public EVENT_MOTIONRET_V50 struMotionRet = new EVENT_MOTIONRET_V50(); |
|
7559 |
public EVENT_VCARET_V50 struVcaRet = new EVENT_VCARET_V50(); |
|
7560 |
public EVENT_INQUESTRET_V50 struInquestRet = new EVENT_INQUESTRET_V50(); |
|
7561 |
public EVENT_STREAMIDRET_V50 struStreamIDRet = new EVENT_STREAMIDRET_V50(); |
|
7562 |
public EVENT_POSRET_V50 struPosRet = new EVENT_POSRET_V50(); |
|
7563 |
public EVENT_TRIALRET_V50 struTrialRet = new EVENT_TRIALRET_V50(); |
|
7564 |
public EVENT_IOTRET_V50 struIOTRet = new EVENT_IOTRET_V50(); |
|
7565 |
} |
|
7566 |
|
|
7567 |
//报警输入结果 |
|
7568 |
public static class EVENT_ALARMRET_V50 extends HIKSDKStructure { |
|
7569 |
public int dwAlarmInNo; //报警输入号 |
|
7570 |
public byte[] byRes = new byte[796]; |
|
7571 |
} |
|
7572 |
|
|
7573 |
//移动侦测结果 |
|
7574 |
public static class EVENT_MOTIONRET_V50 extends HIKSDKStructure { |
|
7575 |
public int dwMotDetNo; //移动侦测通道 |
|
7576 |
public byte[] byRes = new byte[796]; |
|
7577 |
} |
|
7578 |
|
|
7579 |
//行为分析结果 |
|
7580 |
public static class EVENT_VCARET_V50 extends HIKSDKStructure { |
|
7581 |
public int dwChanNo; //触发事件的通道号 |
|
7582 |
public byte byRuleID; //规则ID |
|
7583 |
public byte[] byRes1 = new byte[3]; //保留 |
|
7584 |
public byte[] byRuleName = new byte[NAME_LEN]; //规则名称 |
|
7585 |
public NET_VCA_EVENT_UNION uEvent = new NET_VCA_EVENT_UNION(); //行为事件参数 |
|
7586 |
public byte[] byRes = new byte[668]; //保留 |
|
7587 |
} |
|
7588 |
|
|
7589 |
//审讯事件 |
|
7590 |
public static class EVENT_INQUESTRET_V50 extends HIKSDKStructure { |
|
7591 |
public byte byRoomIndex; //审讯室编号,从1开始 |
|
7592 |
public byte byDriveIndex; //刻录机编号,从1开始 |
|
7593 |
public byte[] byRes1 = new byte[6]; //保留 |
|
7594 |
public int dwSegmentNo; //本片断在本次审讯中的序号,从1开始 |
|
7595 |
public short wSegmetSize; //本片断的大小, 单位M |
|
7596 |
public short wSegmentState; //本片断状态 0 刻录正常,1 刻录异常,2 不刻录审讯 |
|
7597 |
public byte[] byRes2 = new byte[784]; //保留 |
|
7598 |
} |
|
7599 |
|
|
7600 |
//流id录像查询结果 |
|
7601 |
public static class EVENT_STREAMIDRET_V50 extends HIKSDKStructure { |
|
7602 |
public int dwRecordType; //录像类型 0-定时录像 1-移动侦测 2-报警录像 3-报警|移动侦测 4-报警&移动侦测 5-命令触发 6-手动录像 7-震动报警 8-环境触发 9-智能报警 10-回传录像 |
|
7603 |
public int dwRecordLength; //录像大小 |
|
7604 |
public byte byLockFlag; // 锁定标志 0:没锁定 1:锁定 |
|
7605 |
public byte byDrawFrameType; // 0:非抽帧录像 1:抽帧录像 |
|
7606 |
public byte byPosition;// 文件所在存储位置:0-阵列上,1-带库机位上,可以直接下载,2-磁带库内,需要把磁盘切换到机位上,3-不在磁带库中,需要把磁盘插到磁带库中 |
|
7607 |
public byte byRes1; |
|
7608 |
public byte[] byFileName = new byte[NAME_LEN]; //文件名 |
|
7609 |
public int dwFileIndex; // 存档卷上的文件索引 |
|
7610 |
public byte[] byTapeIndex = new byte[NET_SDK_MAX_TAPE_INDEX_LEN]; //文件所在磁带编号 |
|
7611 |
public byte[] byFileNameEx = new byte[NET_SDK_MAX_FILE_LEN/*256*/]; //文件名扩展 |
|
7612 |
public byte[] byRes = new byte[464]; |
|
7613 |
} |
|
7614 |
|
|
7615 |
//POS录像查询结果 |
|
7616 |
public static class EVENT_POSRET_V50 extends HIKSDKStructure { |
|
7617 |
public int dwChanNo; //触发产生pos事件的通道 |
|
7618 |
public byte[] byRes = new byte[796]; |
|
7619 |
} |
|
7620 |
|
|
7621 |
public static class EVENT_TRIALRET_V50 extends HIKSDKStructure { |
|
7622 |
public byte byRoomIndex; //审讯室编号,从1开始 |
|
7623 |
public byte byDriveIndex; //刻录机编号,从1开始 |
|
7624 |
public short wSegmetSize; //本片断的大小, 单位M |
|
7625 |
public int dwSegmentNo; //本片断在本次审讯中的序号,从1开始 |
|
7626 |
public byte bySegmentState; //本片断状态,0-刻录正常,1-刻录异常,2-不刻录审讯 |
|
7627 |
public byte byCaseType; //案件类型;0-全部、1-刑事案件、2-民事案件 |
|
7628 |
public byte[] byRes = new byte[2]; |
|
7629 |
public byte[] byCaseNo = new byte[CASE_NO_RET_LEN]; //案件编号 |
|
7630 |
public byte[] byCaseName = new byte[CASE_NAME_RET_LEN]; //案件名称; |
|
7631 |
public byte[] byLitigant1 = new byte[LITIGANT_RET_LEN]; //当事人1; |
|
7632 |
public byte[] byLitigant2 = new byte[LITIGANT_RET_LEN]; //当事人2; |
|
7633 |
public byte[] byChiefJudge = new byte[CHIEF_JUDGE_RET_LEN];//审判长 |
|
7634 |
public byte[] byRes1 = new byte[600]; |
|
7635 |
} |
|
7636 |
|
|
7637 |
//非视频通道查询结果 |
|
7638 |
public static class EVENT_IOTRET_V50 extends HIKSDKStructure { |
|
7639 |
public int dwChanNo; //触发产生事件的通道号(事件源通道) |
|
7640 |
public byte[] byRes = new byte[796]; |
|
7641 |
} |
|
7642 |
|
|
7643 |
public static class NET_DVR_INQUEST_RESUME_SEGMENT extends HIKSDKStructure { |
|
7644 |
public NET_DVR_TIME struStartTime = new NET_DVR_TIME(); //事件起始时间 |
|
7645 |
public NET_DVR_TIME struStopTime = new NET_DVR_TIME(); //事件终止时间 |
|
7646 |
public byte byRoomIndex; //审讯室编号,从1开始 |
|
7647 |
public byte byDriveIndex; //刻录机编号,从1开始 |
|
7648 |
public short wSegmetSize; //本片断的大小, 单位M |
|
7649 |
public int dwSegmentNo; //本片断在本次审讯中的序号,从1开始 |
|
7650 |
public byte[] byRes = new byte[24]; //保留 |
|
7651 |
} |
|
7652 |
|
|
7653 |
public static class NET_DVR_INQUEST_RESUME_EVENT extends HIKSDKStructure { |
|
7654 |
public int dwResumeNum; //需恢复的事件个数 |
|
7655 |
public NET_DVR_INQUEST_RESUME_SEGMENT[] struResumeSegment = new NET_DVR_INQUEST_RESUME_SEGMENT[MAX_RESUME_SEGMENT]; |
|
7656 |
public byte byResumeMode; //恢复模式,0-单光盘恢复,1-双光盘恢复 |
|
7657 |
public byte[] byRes = new byte[199]; //保留 |
|
7658 |
} |
|
7659 |
|
|
7660 |
//报警信息查询条件结构体 |
|
7661 |
public static class NET_DVR_ALARM_SEARCH_COND extends HIKSDKStructure { |
|
7662 |
public int dwSize; |
|
7663 |
public NET_DVR_TIME_SEARCH_COND strStartTime; //开始时间,时间为空则代表不通过时间筛选。 |
|
7664 |
public NET_DVR_TIME_SEARCH_COND strStopTime; //结束时间, 时间为空则代表不通过时间筛选。 |
|
7665 |
/* |
|
7666 |
报警命令,该字段值与报警布防类型相同,目前支持: |
|
7667 |
COMM_VCA_ALARM 0x4993 智能检测报警 |
|
7668 |
COMM_UPLOAD_FACESNAP_RESULT 0x1112 人脸识别结果上传 |
|
7669 |
COMM_SNAP_MATCH_ALAR 0x2902 人脸比对结果上传 |
|
7670 |
*/ |
|
7671 |
public int dwAlarmComm; //若该命令为空这代表不进行报警命令过滤。 |
|
7672 |
public byte[] sAlarmUID = new byte[64]; //UID标识(上传报警时设备返回的UID标识,64字节的长度,可以使用时间(精确到毫秒)加上随即数的方式组成),为空则代表不区分UID |
|
7673 |
public byte[] byRes = new byte[128]; |
|
7674 |
} |
|
7675 |
|
|
7676 |
//报警信息查询结果结构体 |
|
7677 |
public static class NET_DVR_ALARM_SEARCH_RESULT extends HIKSDKStructure { |
|
7678 |
public int dwSize; |
|
7679 |
/* |
|
7680 |
报警命令,该字段值与报警布防类型相同,目前支持: |
|
7681 |
COMM_VCA_ALARM 0x4993 智能检测报警 |
|
7682 |
COMM_UPLOAD_FACESNAP_RESULT 0x1112 人脸识别结果上传 |
|
7683 |
COMM_SNAP_MATCH_ALARM 0x2902 人脸比对结果上传 |
|
7684 |
*/ |
|
7685 |
public int dwAlarmComm; |
|
7686 |
/* |
|
7687 |
报警信息,该字段值与报警信息相同,目前支持: |
|
7688 |
当COMM_VCA_ALARM时,该报警信息为JSON报文 |
|
7689 |
当COMM_UPLOAD_FACESNAP_RESULT时,该报警信息为NET_VCA_FACESNAP_RESULT |
|
7690 |
当COMM_SNAP_MATCH_ALARM¶,该报警信息为NET_VCA_FACESNAP_MATCH_ALARM |
|
7691 |
*/ |
|
7692 |
public int dwAlarmLen;//报警信息,即pAlarmInfo指针指向的数据长度 |
|
7693 |
public Pointer pAlarmInfo; |
|
7694 |
public NET_DVR_ALARMER struAlarmer = new NET_DVR_ALARMER(); |
|
7695 |
public byte[] byRes = new byte[128]; |
|
7696 |
} |
|
7697 |
|
|
7698 |
public static class NET_DVR_ALARM_ISAPI_INFO extends HIKSDKStructure { |
|
7699 |
public Pointer pAlarmData; // 报警数据(参见下表) |
|
7700 |
public int dwAlarmDataLen; // 报警数据长度 |
|
7701 |
public byte byDataType; // 0-invalid,1-xml,2-json |
|
7702 |
public byte byPicturesNumber; // 图片数量 |
|
7703 |
public byte[] byRes = new byte[2]; |
|
7704 |
public Pointer pPicPackData; // 图片变长部分 |
|
7705 |
//(byPicturesNumber个{NET_DVR_ALARM_ISAPI_PICDATA};) |
|
7706 |
public byte[] byRes1 = new byte[32]; |
|
7707 |
} |
|
7708 |
|
|
7709 |
public static class NET_DVR_LOCAL_GENERAL_CFG extends HIKSDKStructure { |
|
7710 |
public byte byExceptionCbDirectly; //0-通过线程池异常回调,1-直接异常回调给上层 |
|
7711 |
public byte byNotSplitRecordFile; //回放和预览中保存到本地录像文件不切片 0-默认切片,1-不切片 |
|
7712 |
public byte byResumeUpgradeEnable; //断网续传升级使能,0-关闭(默认),1-开启 |
|
7713 |
public byte byAlarmJsonPictureSeparate; //控制JSON透传报警数据和图片是否分离,0-不分离,1-分离(分离后走COMM_ISAPI_ALARM回调返回) |
|
7714 |
public byte[] byRes = new byte[4]; //保留 |
|
7715 |
public long i64FileSize; //单位:Byte |
|
7716 |
public int dwResumeUpgradeTimeout; //断网续传重连超时时间,单位毫秒 |
|
7717 |
public byte[] byRes1 = new byte[236]; //预留 |
|
7718 |
|
|
7719 |
} |
|
7720 |
|
|
7721 |
public static class NET_DVR_LOCAL_TCP_PORT_BIND_CFG extends HIKSDKStructure { |
|
7722 |
public short wLocalBindTcpMinPort; //本地绑定Tcp最小端口 |
|
7723 |
public short wLocalBindTcpMaxPort; //本地绑定Tcp最大端口 |
|
7724 |
public byte[] byRes = new byte[60]; //保留 |
|
7725 |
} |
|
7726 |
|
|
7727 |
|
|
7728 |
public static class NET_DVR_LOCAL_CHECK_DEV extends HIKSDKStructure { |
|
7729 |
public int dwCheckOnlineTimeout; //巡检时间间隔,单位ms 最小值为30s,最大值120s。为0时,表示用默认值(120s) |
|
7730 |
public int dwCheckOnlineNetFailMax; //由于网络原因失败的最大累加次数;超过该值SDK才回调用户异常,为0时,表示使用默认值1 |
|
7731 |
public byte[] byRes = new byte[256]; |
|
7732 |
} |
|
7733 |
|
|
7734 |
public static final int MAX_FILE_PATH_LEN = 256; //文件路径长度 |
|
7735 |
|
|
7736 |
public static class NET_DVR_ALARM_ISAPI_PICDATA extends HIKSDKStructure { |
|
7737 |
public int dwPicLen; |
|
7738 |
public byte byPicType; //图片格式: 1- jpg |
|
7739 |
public byte[] byRes = new byte[3]; |
|
7740 |
public byte[] szFilename = new byte[MAX_FILE_PATH_LEN]; |
|
7741 |
public Pointer pPicData; // 图片数据 |
|
7742 |
} |
|
7743 |
|
|
7744 |
public static class NET_DVR_FOCUSMODE_CFG extends HIKSDKStructure { |
|
7745 |
public int dwSize; |
|
7746 |
public byte byFocusMode; /* 聚焦模式,0-自动,1-手动,2-半自动 */ |
|
7747 |
public byte byAutoFocusMode; /* 自动聚焦模式,0-关,1-模式A,2-模式B,3-模式AB,4-模式C 自动聚焦模式,需要在聚焦模式为自动时才显示*/ |
|
7748 |
public short wMinFocusDistance; /* 最小聚焦距离,单位CM, 0-自动,0xffff-无穷远 */ |
|
7749 |
public byte byZoomSpeedLevel; /* 变倍速度,为实际取值,1-3 */ |
|
7750 |
public byte byFocusSpeedLevel; /* 聚焦速度,为实际取值,1-3 */ |
|
7751 |
public byte byOpticalZoom; /* 光学变倍,0-255 */ |
|
7752 |
public byte byDigtitalZoom; /* 数字变倍,0-255 */ |
|
7753 |
public float fOpticalZoomLevel; /* 光学变倍(倍率值) [1,32], 最小间隔0.5 ,内部设备交互的时候*1000 */ |
|
7754 |
public int dwFocusPos;/* dwFocusPos 是focus值(聚焦值),范围为[0x1000,0xC000],这个值是sony坐标值,使用这个值是为了对外统一,保证不同的镜头对外focus值都转换在这个范围内 (手动聚焦模式下下应用)*/ |
|
7755 |
public byte byFocusDefinitionDisplay;// 聚焦清晰度显示,0~不显示,1~显示, 开启会在码流上显示当前镜头目标的清晰度值,用于帮助客户调焦使相机抓拍能够达到最清晰的效果,该清晰度越大代表着越清晰,清晰度范围为:0~100.0000 |
|
7756 |
public byte byFocusSensitivity; //聚焦灵敏度,范围[0,2],聚焦模式为自动、半自动时生效 |
|
7757 |
public byte[] byRes1 = new byte[2]; |
|
7758 |
public int dwRelativeFocusPos;//相对focus值,其低16位表示聚焦值,0~4000;高16位代表当前聚焦值获取时的温度值 |
|
7759 |
public byte[] byRes = new byte[48]; |
|
7760 |
} |
|
7761 |
|
|
7762 |
public static class NET_DVR_SERIALSTART_V40 extends HIKSDKStructure { |
|
7763 |
public int dwSize; //结构体大小 |
|
7764 |
public int dwSerialType; //串口号(1-232串口,2-485串口) |
|
7765 |
public byte bySerialNum; //串口编号 |
|
7766 |
public byte[] byRes = new byte[255]; |
|
7767 |
|
|
7768 |
|
|
7769 |
} |
|
7770 |
|
|
7771 |
public static class NET_DVR_PRESET_NAME extends HIKSDKStructure { |
|
7772 |
public int dwSize; |
|
7773 |
public short wPresetNum; //预置点编号 |
|
7774 |
public byte[] byRes1 = new byte[2]; //字节对齐 |
|
7775 |
public byte[] byName = new byte[NAME_LEN]; |
|
7776 |
public short wPanPos; //水平参数 如果获取到的数据大于360默认减去360 |
|
7777 |
public short wTiltPos; //垂直参数 如果获取到的数据大于360默认减去360 |
|
7778 |
public short wZoomPos; //变倍参数如果获取到的数据大于360默认减去360 |
|
7779 |
public byte[] byRes = new byte[58]; |
|
7780 |
} |
|
7781 |
|
|
7782 |
//Sensor信息 |
|
7783 |
public static class NET_DVR_SENSOR_PARAM extends HIKSDKStructure { |
|
7784 |
public byte bySensorType;//SensorType:0-CCD,1-CMOS |
|
7785 |
public byte[] byRes = new byte[31]; |
|
7786 |
public float fHorWidth;//水平宽度 精确到小数点后两位 *10000 |
|
7787 |
public float fVerWidth;//垂直宽度 精确到小数点后两位 *10000 |
|
7788 |
public float fFold;//zoom=1没变时的焦距 精确到小数点后两位 *100 |
|
7789 |
} |
|
7790 |
|
|
7791 |
//球机位置信息 |
|
7792 |
public static class NET_DVR_PTZPOS_PARAM extends HIKSDKStructure { |
|
7793 |
public float fPanPos;//水平参数,精确到小数点后1位 |
|
7794 |
public float fTiltPos;//垂直参数,精确到小数点后1位 |
|
7795 |
public float fZoomPos;//变倍参数,精确到小数点后1位 |
|
7796 |
public byte[] byRes = new byte[16]; |
|
7797 |
} |
|
7798 |
|
|
7799 |
public static class NET_DVR_LLI_PARAM extends HIKSDKStructure { |
|
7800 |
public float fSec;//秒[0.000000,60.000000] |
|
7801 |
public byte byDegree;//度:纬度[0,90] 经度[0,180] |
|
7802 |
public byte byMinute;//分[0,59] |
|
7803 |
public byte[] byRes = new byte[6]; |
|
7804 |
} |
|
7805 |
|
|
7806 |
//GIS信息上传 |
|
7807 |
public static class NET_DVR_GIS_UPLOADINFO extends HIKSDKStructure { |
|
7808 |
public int dwSize;//结构体大小 |
|
7809 |
public int dwRelativeTime; //相对时标 |
|
7810 |
public int dwAbsTime; //绝对时标 |
|
7811 |
public NET_VCA_DEV_INFO struDevInfo = new NET_VCA_DEV_INFO();//前端设备 |
|
7812 |
public float fAzimuth;//电子罗盘的方位信息;方位角[0.00°,360.00°) |
|
7813 |
public byte byLatitudeType;//纬度类型,0-北纬,1-南纬 |
|
7814 |
public byte byLongitudeType;// 经度类型,0-东度,1-西度 |
|
7815 |
public byte[] byRes1 = new byte[2]; |
|
7816 |
public NET_DVR_LLI_PARAM struLatitude = new NET_DVR_LLI_PARAM(); /*纬度*/ |
|
7817 |
public NET_DVR_LLI_PARAM struLongitude = new NET_DVR_LLI_PARAM(); /*经度*/ |
|
7818 |
public float fHorizontalValue;//水平视场角,精确到小数点后面两位 |
|
7819 |
public float fVerticalValue;//垂直视场角,精确到小数点后面两位 |
|
7820 |
public float fVisibleRadius;//当前可视半径,精确到小数点后面两位 |
|
7821 |
public float fMaxViewRadius;//最大可视半径,精确到小数点后面0位(预留处理) |
|
7822 |
public NET_DVR_SENSOR_PARAM struSensorParam;//Sensor信息 |
|
7823 |
public NET_DVR_PTZPOS_PARAM struPtzPos; //ptz坐标 |
|
7824 |
public byte[] byRes = new byte[256]; |
|
7825 |
} |
|
7826 |
|
|
7827 |
public static class NET_DVR_DAYTIME extends HIKSDKStructure { |
|
7828 |
public byte byHour;//0~24 |
|
7829 |
public byte byMinute;//0~60 |
|
7830 |
public byte bySecond;//0~60 |
|
7831 |
public byte byRes; |
|
7832 |
public short wMilliSecond; //0~1000 |
|
7833 |
public byte[] byRes1 = new byte[2]; |
|
7834 |
} |
|
7835 |
|
|
7836 |
public static class NET_DVR_SCHEDULE_DAYTIME extends HIKSDKStructure { |
|
7837 |
public NET_DVR_DAYTIME struStartTime; //开始时间 |
|
7838 |
public NET_DVR_DAYTIME struStopTime; //结束时间 |
|
7839 |
} |
|
7840 |
|
|
7841 |
public static class NET_DVR_BUILTIN_SUPPLEMENTLIGHT extends HIKSDKStructure { |
|
7842 |
public int dwSize;//结构体大小 |
|
7843 |
public byte byMode;//补光灯模式 0-定时,1-开启,2-关闭,3-自动(非光敏,算法画面识别) |
|
7844 |
public byte byBrightnessLimit;//亮度限制[0,100] |
|
7845 |
public byte bySupplementLightMode;//补光灯类型,0~白光模式,1~混合模式 |
|
7846 |
public byte byMixedLightRegulatMode;//混合补光灯亮度调节模式,0~自动,1~手动,当bySupplementLightMode = 1时生效 |
|
7847 |
public byte byLrLightBrightness;//红外亮度控制[0,100],当byMixedLightRegulatMode = 1时生效。 |
|
7848 |
public byte byHighLrLightBrightness;// 远光红外光亮度配置[0,100],当byMixedLightRegulatMode = 1时生效 |
|
7849 |
public byte byHighBrightnessLimit;// 远光白光亮度配置[0,100],当byMixedLightRegulatMode = 1时生效 |
|
7850 |
public byte byLowLrLightBrightness;// 近光红外光亮度配置[0,100],当byMixedLightRegulatMode = 1时生效 |
|
7851 |
public NET_DVR_SCHEDULE_DAYTIME struSchedTime;//定时时间段 |
|
7852 |
public byte byLowBrightnessLimit;//近光白光亮度配置[0,100],当byMixedLightRegulatMode = 1时生效 |
|
7853 |
public byte byWhiteLightBrightness;// 白光灯亮度 |
|
7854 |
public byte[] byRes1 = new byte[254]; |
|
7855 |
} |
|
7856 |
|
|
7857 |
public static class NET_DVR_HANDLEEXCEPTION_V41 extends HIKSDKStructure { |
|
7858 |
public int dwHandleType; //异常处理,异常处理方式的"或"结果 |
|
7859 |
/*0x00: 无响应*/ |
|
7860 |
/*0x01: 监视器上警告*/ |
|
7861 |
/*0x02: 声音警告*/ |
|
7862 |
/*0x04: 上传中心*/ |
|
7863 |
/*0x08: 触发报警输出*/ |
|
7864 |
/*0x10: 触发JPRG抓图并上传Email*/ |
|
7865 |
/*0x20: 无线声光报警器联动*/ |
|
7866 |
/*0x40: 联动电子地图(目前只有PCNVR支持)*/ |
|
7867 |
/*0x200: 抓图并上传FTP*/ |
|
7868 |
/*0x400: 虚交侦测 联动 聚焦模式(提供可配置项,原先设备自动完成)IPC5.1.0*/ |
|
7869 |
/*0x800: PTZ联动跟踪(球机跟踪目标)*/ |
|
7870 |
/*0x4000:白光灯报警*/ |
|
7871 |
/*0x10000:短信报警*/ |
|
7872 |
public int dwMaxRelAlarmOutChanNum; //触发的报警输出通道数(只读)最大支持数 |
|
7873 |
public int[] dwRelAlarmOut = new int[MAX_ALARMOUT_V40]; //触发报警通道 |
|
7874 |
public byte[] byRes = new byte[64]; //保留 |
|
7875 |
} |
|
7876 |
|
|
7877 |
public static class NET_DVR_PRESETCHAN_INFO extends HIKSDKStructure { |
|
7878 |
public int dwEnablePresetChan; /*启用预置点的通道, 0xfffffff表示不调用预置点*/ |
|
7879 |
public int dwPresetPointNo; /*调用预置点通道对应的预置点序号, 0xfffffff表示不调用预置点。*/ |
|
7880 |
} |
|
7881 |
|
|
7882 |
public static class NET_DVR_CRUISECHAN_INFO extends HIKSDKStructure { |
|
7883 |
public int dwEnableCruiseChan; /*启用巡航的通道*/ |
|
7884 |
public int dwCruiseNo; /*巡航通道对应的巡航编号, 0xfffffff表示无效*/ |
|
7885 |
} |
|
7886 |
|
|
7887 |
public static class NET_DVR_PTZTRACKCHAN_INFO extends HIKSDKStructure { |
|
7888 |
public int dwEnablePtzTrackChan; /*启用云台轨迹的通道*/ |
|
7889 |
public int dwPtzTrackNo; /*云台轨迹通道对应的编号, 0xfffffff表示无效*/ |
|
7890 |
} |
|
7891 |
|
|
7892 |
public static class NET_DVR_EVENT_TRIGGER extends HIKSDKStructure { |
|
7893 |
public int dwSize;//结构体大小 |
|
7894 |
public NET_DVR_HANDLEEXCEPTION_V41 struHandleException; //异常处理方式 |
|
7895 |
public int[] dwRelRecordChan = new int[MAX_CHANNUM_V40]; //实际触发录像通道,按值表示,采用紧凑型排列,从下标0开始顺序读取,中间遇到0xffffffff则后续无效。 |
|
7896 |
public NET_DVR_PRESETCHAN_INFO[] struPresetChanInfo = new NET_DVR_PRESETCHAN_INFO[MAX_CHANNUM_V40]; //启用的预置点信息 |
|
7897 |
public NET_DVR_CRUISECHAN_INFO[] struCruiseChanInfo = new NET_DVR_CRUISECHAN_INFO[MAX_CHANNUM_V40]; //启用巡航功能通道的信息 |
|
7898 |
public NET_DVR_PTZTRACKCHAN_INFO[] struPtzTrackInfo = new NET_DVR_PTZTRACKCHAN_INFO[MAX_CHANNUM_V40]; //调用云台轨迹的通道信息 |
|
7899 |
public byte byDirection;//触发方向:0-保留;1-全部;2-正向;3-反向 |
|
7900 |
public byte[] byRes2 = new byte[255]; |
|
7901 |
} |
|
7902 |
|
|
7903 |
public static class NET_DVR_FACELIB_GUARD_COND extends HIKSDKStructure { |
|
7904 |
public int dwSize; |
|
7905 |
public int dwChannel; //通道号 |
|
7906 |
public byte[] szFDID = new byte[68];//人脸库的ID |
|
7907 |
public byte[] byRes = new byte[128]; |
|
7908 |
} |
|
7909 |
|
|
7910 |
//导入人脸数据条件 |
|
7911 |
public static class NET_DVR_FACELIB_COND extends HIKSDKStructure { |
|
7912 |
public int dwSize; |
|
7913 |
public byte[] szFDID = new byte[NET_SDK_MAX_FDID_LEN/*256*/];//人脸库ID |
|
7914 |
public byte byConcurrent;//设备并发处理 0-不开启,1-开始 |
|
7915 |
public byte byCover;//是否覆盖式导入 0-否,1-是 |
|
7916 |
public byte byCustomFaceLibID;//FDID是否是自定义,0-不是,1-是; |
|
7917 |
public byte byPictureSaveMode;//上传原图保存模式,0-保存,1-不保存; |
|
7918 |
public byte[] byIdentityKey = new byte[NET_SDK_MAX_INDENTITY_KEY_LEN/*64*/];//交互操作口令 |
|
7919 |
public byte[] byRes = new byte[60]; |
|
7920 |
} |
|
7921 |
|
|
7922 |
public static class NET_DVR_SEND_PARAM_IN extends HIKSDKStructure { |
|
7923 |
public Pointer pSendData; //发送的缓冲区,PicURL == 1 的时候,内存中存储的是 URL 字符串,byUploadModeling == 1 的时候,内存中存储的是 建模base64加密数据 |
|
7924 |
public int dwSendDataLen; //发送数据长度,PicURL == 1 的时候,表示的 URL 字符串的长度,byUploadModeling == 1 的时候,表示为建模数据base64后的加密长度 |
|
7925 |
public NET_DVR_TIME_V30 struTime = new NET_DVR_TIME_V30(); //图片时间 |
|
7926 |
public byte byPicType; //图片格式,1-jpg,2-bmp,3-png,4-SWF,5-GIF |
|
7927 |
public byte byPicURL; //图片数据采用URL方式 0-二进制图片数据,1-图片数据走URL方式 |
|
7928 |
/*是否上传建模数据; |
|
7929 |
0- 二进制图片数据方式(pSendData指向二进制图片数据, dwPicDataLen为图片二进制数据长度), |
|
7930 |
1- 直接上传建模数据(pSendData指向建模base64加密数据, dwPicDataLen为建模数据base64后的加密长度)。 |
|
7931 |
注:建模数据采用base64加密方式,选择为建模数据上传后,byPicURL 无需。 |
|
7932 |
当”/ISAPI/Intelligent/channels/<ID>/faceContrast/capabilities”能力中返回isSupportUploadModeling能力节点时,支持上传建模数据. */ |
|
7933 |
public byte byUploadModeling; |
|
7934 |
public byte byRes1; |
|
7935 |
public int dwPicMangeNo; //图片管理号 |
|
7936 |
public byte[] sPicName = new byte[NAME_LEN]; //图片名称 |
|
7937 |
public int dwPicDisplayTime; //图片播放时长,单位秒 |
|
7938 |
public Pointer pSendAppendData; //发送图片的附加信息缓冲区,对应FaceAppendData 的XML描述; |
|
7939 |
public int dwSendAppendDataLen; //发送图片的附加信息数据长度 FaceAppendData XML的长度; |
|
7940 |
public byte[] byRes = new byte[192]; |
|
7941 |
} |
|
7942 |
|
|
7943 |
public static class NET_DVR_INQUEST_ROOM extends HIKSDKStructure { |
|
7944 |
public byte byRoomIndex; //审讯室编号 |
|
7945 |
public byte byFileType; //0-审讯文件,1-开庭上传文件 |
|
7946 |
public byte[] byRes = new byte[22]; //保留 |
|
7947 |
} |
|
7948 |
|
|
7949 |
public static class NET_DVR_INQUEST_CDRW_CFG extends HIKSDKStructure { |
|
7950 |
public int dwSize; |
|
7951 |
public int dwNum; //刻录机的数量 |
|
7952 |
public int[] dwRwSelectPara = new int[MAX_CHANNUM_V30];// 是否选中该光驱 |
|
7953 |
public int dwModeSelect; //0表示循环刻录模式 1表示并行刻录模式(默认模式) |
|
7954 |
public byte[] byRes = new byte[24]; //保留 |
|
7955 |
public int dwStartCDRW; //DVR 本地已经开始刻录 |
|
7956 |
public int dwHdExcp; //硬盘有异 常 |
|
7957 |
public int dwInterval; //时间间隔,10分钟(0)、20分钟(1)、30分钟(2) |
|
7958 |
public byte[] sLable = new byte[64]; //光盘名称 |
|
7959 |
} |
|
7960 |
|
|
7961 |
public static class NET_DVR_INQUEST_CDRW_STATUS extends HIKSDKStructure { |
|
7962 |
/*运行状态:0-审讯开始, |
|
7963 |
1-审讯过程中刻录,2-审讯停止, |
|
7964 |
3-刻录审讯文件, |
|
7965 |
4-备份(事后备份和本地备份) |
|
7966 |
5-空闲 |
|
7967 |
6-初始化硬盘 |
|
7968 |
7-恢复审讯*/ |
|
7969 |
public int dwType; |
|
7970 |
public NET_DVR_INQUEST_CDRW[] strCDRWNum = new NET_DVR_INQUEST_CDRW[MAX_INQUEST_CDRW_NUM]; //数组0表示刻录机1 |
|
7971 |
public NET_DVR_TIME_EX struInquestStartTime = new NET_DVR_TIME_EX(); //审讯开始的时间点 |
|
7972 |
public byte[] byRes = new byte[16]; //保留 |
|
7973 |
} |
|
7974 |
|
|
7975 |
public static class NET_DVR_INQUEST_CDRW extends HIKSDKStructure { |
|
7976 |
public int dwEnable; //刻录机状态是否有效,0-无效,1-有效 |
|
7977 |
public int dwStatus; /*当dwType=0时, 0-光盘正常,1-无光盘或光盘异常, |
|
7978 |
当dwType=1或2时,0-刻录正常,1-无光盘或光盘异常,2-光盘已封盘(81不支持),3-光盘空间不足, 4-异常导致审讯终止(81不支持) |
|
7979 |
当dwType=3时, 0-刻录正常,1-无光盘或光盘异常,2-光盘已封盘(81不支持),3-光盘空间不足 |
|
7980 |
当dwType=4时,0-刻录正常,1-无光盘或光盘异常,2-光盘已封盘(81不支持),3-光盘空间不足 |
|
7981 |
当dwType=5时,0-光盘正常, 1-无光盘或光盘异常,2-光盘已封盘(81不支持) |
|
7982 |
当dwType=6或7时, 0-刻录正常, 1-无光盘或光盘异常, 2-光盘已封盘(81不支持), 3-光盘空间不足*/ |
|
7983 |
public int dwVolumn; //光盘容量,单位M |
|
7984 |
public int dwFreeSpace; //光盘剩余容量,单位M |
|
7985 |
public int dwTimeLeft; // 光盘剩余时间,单位秒 |
|
7986 |
public byte byCDType; // 光盘类型 |
|
7987 |
public byte[] byRes = new byte[3]; //保留字节 |
|
7988 |
} |
|
7989 |
|
|
7990 |
//实时温度检测条件参数 |
|
7991 |
public static class NET_DVR_REALTIME_THERMOMETRY_COND extends HIKSDKStructure { |
|
7992 |
public int dwSize; /*结构体大小*/ |
|
7993 |
public int dwChan; /*通道号,从1开始,0xffffffff代表获取全部通道*/ |
|
7994 |
public byte byRuleID;/*规则ID,0代表获取全部规则,具体规则ID从1开始*/ |
|
7995 |
public byte byMode; //长连接模式:0- 保留(兼容不支持该功能的老设备),1- 定时模式,2- 温差模式 |
|
7996 |
public short wInterval; //上传间隔(仅温差模式支持),取值范围:1-3600 秒,填0则默认3600S上传一次 |
|
7997 |
public byte[] byRes2 = new byte[60]; |
|
7998 |
} |
|
7999 |
|
|
8000 |
//点测温实时信息 |
|
8001 |
public static class NET_DVR_POINT_THERM_CFG extends HIKSDKStructure { |
|
8002 |
public float fTemperature; |
|
8003 |
public NET_VCA_POINT struPoint; |
|
8004 |
public byte[] byRes = new byte[120]; |
|
8005 |
} |
|
8006 |
|
|
8007 |
//框/线测温实时信息 |
|
8008 |
public static class NET_DVR_LINEPOLYGON_THERM_CFG extends HIKSDKStructure { |
|
8009 |
public float fMaxTemperature; |
|
8010 |
public float fMinTemperature; |
|
8011 |
public float fAverageTemperature; |
|
8012 |
public float fTemperatureDiff; |
|
8013 |
public NET_VCA_POLYGON struRegion; |
|
8014 |
public byte[] byRes = new byte[32]; |
|
8015 |
} |
|
8016 |
|
|
8017 |
//实时温度信息 |
|
8018 |
public static class NET_DVR_THERMOMETRY_UPLOAD extends HIKSDKStructure { |
|
8019 |
public int dwSize; /* 结构体大小 */ |
|
8020 |
public int dwRelativeTime; |
|
8021 |
public int dwAbsTime; |
|
8022 |
public byte[] szRuleName = new byte[NAME_LEN]; |
|
8023 |
public byte byRuleID;/* 规则ID,0代表获取全部规则,具体规则ID从1开始 */ |
|
8024 |
public byte byRuleCalibType; |
|
8025 |
public short wPresetNo; |
|
8026 |
public NET_DVR_POINT_THERM_CFG struPointThermCfg; |
|
8027 |
public NET_DVR_LINEPOLYGON_THERM_CFG struLinePolygonThermCfg; |
|
8028 |
public byte byThermometryUnit; |
|
8029 |
public byte byDataType; |
|
8030 |
public byte byRes1; |
|
8031 |
public byte bySpecialPointThermType; |
|
8032 |
public float fCenterPointTemperature; |
|
8033 |
public float fHighestPointTemperature; |
|
8034 |
public float fLowestPointTemperature; |
|
8035 |
public NET_VCA_POINT struHighestPoint; |
|
8036 |
public NET_VCA_POINT struLowestPoint; |
|
8037 |
public byte byIsFreezedata; |
|
8038 |
public byte[] byRes = new byte[95]; |
|
8039 |
} |
|
8040 |
|
|
8041 |
public static class NET_PTZ_INFO extends HIKSDKStructure { |
|
8042 |
public float fPan; |
|
8043 |
public float fTilt; |
|
8044 |
public float fZoom; |
|
8045 |
public int dwFocus;// 聚焦参数,聚焦范围:归一化0-100000 |
|
8046 |
public byte[] byRes = new byte[4]; |
|
8047 |
} |
|
8048 |
|
|
8049 |
//测温模式配置 |
|
8050 |
public static class NET_DVR_THERMOMETRY_MODE extends HIKSDKStructure { |
|
8051 |
public int dwSize;//结构体大小 |
|
8052 |
public byte byMode;//测温模式,0~普通模式,1~专家模式 |
|
8053 |
public byte byThermometryROIEnabled; //测温ROI使能 0-保留 1-不开启 2-开启(基于互斥兼容考虑) |
|
8054 |
public byte[] byRes = new byte[62]; |
|
8055 |
} |
|
8056 |
|
|
8057 |
public static class NET_DVR_THERMOMETRY_COND extends HIKSDKStructure { |
|
8058 |
public int dwSize;//结构体大小 |
|
8059 |
public int dwChannel; |
|
8060 |
public short wPresetNo;//0-保留 |
|
8061 |
public byte[] byRes = new byte[62]; |
|
8062 |
} |
|
8063 |
|
|
8064 |
public static class NET_DVR_THERMOMETRY_PRESETINFO_PARAM extends HIKSDKStructure { |
|
8065 |
public byte byEnabled; //是否使能:0- 否,1- 是 |
|
8066 |
public byte byRuleID;//规则ID 0-表示无效,从1开始 (list内部判断数据有效性) |
|
8067 |
public short wDistance;//距离(m)[0, 10000] |
|
8068 |
public float fEmissivity;//发射率(发射率 精确到小数点后两位)[0.01, 1.00](即:物体向外辐射能量的本领) |
|
8069 |
public byte byDistanceUnit;//距离单位: 0-米(m),1-英尺(feet),2-厘米(centimeter) |
|
8070 |
public byte[] byRes = new byte[2]; |
|
8071 |
public byte byReflectiveEnabled;//反射温度使能:0- 否,1- 是 |
|
8072 |
public float fReflectiveTemperature;//反射温度 精确到小数后2位 |
|
8073 |
public byte[] szRuleName = new byte[NAME_LEN/*32*/];//规则名称 |
|
8074 |
public byte byemissivityMode; //发射率配置类型 1-粗糙,2-较粗糙,3-较光滑, 4-光滑, 0xff-自定义 |
|
8075 |
public byte[] byRes1 = new byte[62]; |
|
8076 |
public byte byRuleCalibType;//规则标定类型 0-点,1-框,2-线 |
|
8077 |
public NET_VCA_POINT struPoint = new NET_VCA_POINT();//点测温坐标(当规则标定类型为"点"的时候生效) |
|
8078 |
public NET_VCA_POLYGON struRegion = new NET_VCA_POLYGON();//区域、线(当规则标定类型为"框"或者"线"的时候生效) |
|
8079 |
} |
|
8080 |
|
|
8081 |
public static class NET_DVR_THERMOMETRY_PRESETINFO extends HIKSDKStructure { |
|
8082 |
public int dwSize;//结构体大小 |
|
8083 |
public short wPresetNo;//0-保留 |
|
8084 |
public byte[] byRes = new byte[2]; |
|
8085 |
public NET_DVR_THERMOMETRY_PRESETINFO_PARAM[] struPresetInfo = new NET_DVR_THERMOMETRY_PRESETINFO_PARAM[40]; |
|
8086 |
} |
|
8087 |
|
|
8088 |
//温度报警(检测温度和配置温度比较报警) |
|
8089 |
public static class NET_DVR_THERMOMETRY_ALARM extends HIKSDKStructure { |
|
8090 |
public int dwSize; |
|
8091 |
public int dwChannel;//通道号 |
|
8092 |
public byte byRuleID;//规则ID |
|
8093 |
public byte byThermometryUnit;//测温单位: 0-摄氏度(℃),1-华氏度(℉),2-开尔文(K) |
|
8094 |
public short wPresetNo; //预置点号 |
|
8095 |
public NET_PTZ_INFO struPtzInfo = new NET_PTZ_INFO();//ptz坐标信息 |
|
8096 |
public byte byAlarmLevel;//0-预警 1-报警 |
|
8097 |
public byte byAlarmType;/*报警类型 0-最高温度 1-最低温度 2-平均温度 3-温差 4-温度突升 5-温度突降*/ |
|
8098 |
public byte byAlarmRule;//0-大于,1-小于 |
|
8099 |
public byte byRuleCalibType;//规则标定类型 0-点,1-框,2线 |
|
8100 |
public NET_VCA_POINT struPoint = new NET_VCA_POINT();//点测温坐标(当规则标定类型为点的时候生效) |
|
8101 |
public NET_VCA_POLYGON struRegion = new NET_VCA_POLYGON();//区域(当规则标定类型为框的时候生效) |
|
8102 |
public float fRuleTemperature;/*配置规则温度,精确到小数点后一位(-40-1000),(浮点数+100) */ |
|
8103 |
public float fCurrTemperature;/*当前温度,精确到小数点后一位(-40-1000),(浮点数+100) */ |
|
8104 |
public int dwPicLen;//可见光图片长度 |
|
8105 |
public int dwThermalPicLen;//热成像图片长度 |
|
8106 |
public int dwThermalInfoLen;//热成像附加信息长度 |
|
8107 |
public Pointer pPicBuff; ///可见光图片指针 |
|
8108 |
public Pointer pThermalPicBuff;// 热成像图片指针 |
|
8109 |
public Pointer pThermalInfoBuff; //热成像附加信息指针 |
|
8110 |
public NET_VCA_POINT struHighestPoint = new NET_VCA_POINT();//线、框测温最高温度位置坐标(当规则标定类型为线、框的时候生效) |
|
8111 |
public float fToleranceTemperature;/* 容差温度,精确到小数点后一位(-40-1000),(浮点数+100) */ |
|
8112 |
public int dwAlertFilteringTime;//温度预警等待时间 单位秒 范围为0-200秒,默认为0秒 |
|
8113 |
public int dwAlarmFilteringTime;//温度报警等待时间 单位秒 范围为0-200秒,默认为0秒 |
|
8114 |
public int dwTemperatureSuddenChangeCycle;//温度突变记录周期,单位秒 |
|
8115 |
public float fTemperatureSuddenChangeValue;//温度突变值,精确到小数点后一位(大于0) |
|
8116 |
public byte byPicTransType; //图片数据传输方式: 0-二进制;1-url |
|
8117 |
public byte[] byRes = new byte[39]; |
|
8118 |
} |
|
8119 |
|
|
8120 |
//温差报警 |
|
8121 |
public static class NET_DVR_THERMOMETRY_DIFF_ALARM extends HIKSDKStructure { |
|
8122 |
public int dwSize; |
|
8123 |
public int dwChannel;//通道号 |
|
8124 |
public byte byAlarmID1;//规则AlarmID1 |
|
8125 |
public byte byAlarmID2;//规则AlarmID2 |
|
8126 |
public short wPresetNo; //预置点号 |
|
8127 |
public byte byAlarmLevel;//0-预警 1-报警 |
|
8128 |
public byte byAlarmType;/*报警类型 0-最高温度 1-最低温度 2-平均温度*/ |
|
8129 |
public byte byAlarmRule;//0-大于,1-小于 |
|
8130 |
public byte byRuleCalibType;//规则标定类型 0-点,1-框,2线 |
|
8131 |
public NET_VCA_POINT[] struPoint = (NET_VCA_POINT[]) new NET_VCA_POINT().toArray(2);//点测温坐标(当规则标定类型为点的时候生效)数组下标0代表着AlarmID1,数组下标1代表着AlarmID2. |
|
8132 |
public NET_VCA_POLYGON[] struRegion = (NET_VCA_POLYGON[]) new NET_VCA_POLYGON().toArray(2);//区域(当规则标定类型为框的时候生效)数组下标0代表着AlarmID1,数组下标1代表着AlarmID2. |
|
8133 |
float fRuleTemperatureDiff;/*配置规则温差,精确到小数点后一位(-40-1000))*/ |
|
8134 |
float fCurTemperatureDiff;/*当前温差,精确到小数点后一位(-40-1000),(浮点数+100) */ |
|
8135 |
NET_PTZ_INFO struPtzInfo;//ptz坐标信息 |
|
8136 |
public int dwPicLen;//可见光图片长度 |
|
8137 |
public int dwThermalPicLen;//热成像图片长度 |
|
8138 |
public int dwThermalInfoLen;//热成像附加信息长度 |
|
8139 |
public Pointer pPicBuff; ///可见光图片指针 |
|
8140 |
public Pointer pThermalPicBuff;// 热成像图片指针 |
|
8141 |
public Pointer pThermalInfoBuff; //热成像附加信息指针 |
|
8142 |
public byte byThermometryUnit;//测温单位: 0-摄氏度(℃),1-华氏度(℉),2-开尔文(K) |
|
8143 |
public byte byPicTransType; //图片数据传输方式: 0-二进制;1-url |
|
8144 |
public byte[] byRes1 = new byte[2]; |
|
8145 |
float fToleranceTemperature;/*容差温度,精确到小数点后一位(-40-1000),(浮点数+100) */ |
|
8146 |
public int dwAlarmFilteringTime;//温度报警等待时间 单位秒 范围为0-200秒,默认为0秒 |
|
8147 |
public int dwVisibleChannel; //可见光通道通道号 |
|
8148 |
public byte[] byRes = new byte[48]; |
|
8149 |
} |
|
8150 |
|
|
8151 |
//船只检测报警上传 |
|
8152 |
public static class NET_DVR_SHIPSDETECTION_ALARM extends HIKSDKStructure { |
|
8153 |
public int dwSize; |
|
8154 |
public NET_VCA_DEV_INFO struDevInfo; //设备信息 |
|
8155 |
public int dwRelativeTime; //相对时标 |
|
8156 |
public int dwAbsTime; //绝对时标 |
|
8157 |
public byte byShipsNum; //船只数;(正跨越检测线的船只数) |
|
8158 |
public byte byShipsNumHead;//船只数;(船头检测船只数) |
|
8159 |
public byte byShipsNumEnd; //船只数;(船尾检测船只数) |
|
8160 |
public byte byPicTransType; //图片数据传输方式: 0-二进制;1-url |
|
8161 |
public NET_DVR_SHIPSINFO[] struShipInfo = (NET_DVR_SHIPSINFO[]) new NET_DVR_SHIPSINFO().toArray(MAX_SHIPS_NUM); /*20*///船只信息;最大支持20艘 |
|
8162 |
public int dwPicLen;//可见光图片长度 |
|
8163 |
public int dwThermalPicLen;//热成像图片长度 |
|
8164 |
public Pointer pPicBuffer; //可见光图片数据指针 |
|
8165 |
public Pointer pThermalPicBuffer; //热成像图片数据指针 |
|
8166 |
public short wDevInfoIvmsChannelEx; //与NET_VCA_DEV_INFO里的byIvmsChannel含义相同,能表示更大的值。老客户端用byIvmsChannel能继续兼容,但是最大到255。新客户端版本请使用wDevInfoIvmsChannelEx。 |
|
8167 |
public byte byTimeDiffFlag; /*时差字段是否有效 0-时差无效, 1-时差有效 */ |
|
8168 |
public byte cTimeDifferenceH; /*与UTC的时差(小时),-12 ... +14, +表示东区,,byTimeDiffFlag为1时有效*/ |
|
8169 |
public byte cTimeDifferenceM; /*与UTC的时差(分钟),-30, 30, 45, +表示东区,byTimeDiffFlag为1时有效*/ |
|
8170 |
public byte bySID;//场景ID |
|
8171 |
public byte[] byRes1 = new byte[2]; |
|
8172 |
public byte[] szSceneName = new byte[NAME_LEN];//场景名称,不超过32字符 |
|
8173 |
public byte[] byRes = new byte[216]; |
|
8174 |
} |
|
8175 |
|
|
8176 |
public static final int MAX_SHIPS_NUM = 20; //船只检测最大船只数 |
|
8177 |
|
|
8178 |
//船只信息 |
|
8179 |
public static class NET_DVR_SHIPSINFO extends HIKSDKStructure { |
|
8180 |
public float fShipsLength; //船只长度;1~1000.0m,精确到小数点后一位 |
|
8181 |
public float fShipsHeight; //船只高度;1~1000.0m,精确到小数点后一位 |
|
8182 |
public float fShipsWidth; //船只宽度;1~1000.0m,精确到小数点后一位 |
|
8183 |
public float fShipsSpeed; //船只速度;1~1000.0m/s,精确到小数点后一位 |
|
8184 |
public byte byShipsDirection;//船只方向;0~up,1~down,2~left,3~right |
|
8185 |
public byte byShipsDetState;//船只检测状态;0~正跨越检测线,1~船头检测,2~船尾检测 |
|
8186 |
public byte byTriggerLineID;//检测线ID |
|
8187 |
public byte[] byRes = new byte[61]; |
|
8188 |
public NET_VCA_POLYGON struShipsRect; //船只区域,归一化值,相对于大图(可见光图、热成像图)的分辨率 |
|
8189 |
} |
|
8190 |
|
|
8191 |
public static class NET_DVR_ARRAY_LIST extends HIKSDKStructure { |
|
8192 |
public int dwSize; // 结构体大小 |
|
8193 |
public int dwCount; // 阵列个数 |
|
8194 |
public NET_DVR_ARRAY_INFO[] struArrayInfo = new NET_DVR_ARRAY_INFO[SUPPORT_ARRAY_NUM]; |
|
8195 |
} |
|
8196 |
|
|
8197 |
public static class NET_DVR_BGA_INFO extends HIKSDKStructure { |
|
8198 |
public byte byBga; // 后台任务及类型 |
|
8199 |
public byte byBgaState; /*函数返回值--后台任务状态*/ |
|
8200 |
public short wBgaPercentage; /*函数返回值--后台任务执行百分比*/ |
|
8201 |
public byte[] byRes = new byte[4]; // 保留字节 |
|
8202 |
} |
|
8203 |
|
|
8204 |
// 阵列信息 |
|
8205 |
public static class NET_DVR_ARRAY_INFO extends HIKSDKStructure { |
|
8206 |
public short wArrayID; // 阵列ID |
|
8207 |
public byte byRaidMode; // raid模式 参照RAID_MODE |
|
8208 |
public byte byStatus; // 0-在线 1-磁盘丢失 2-下线 3-降级 4-异常 5-次正常 6-外来盘 7-已删除 8-SMART状态异常 0xff-不存在 |
|
8209 |
public int dwHCapacity; // 阵列容量高32位 |
|
8210 |
public int dwLCapacity; // 阵列容量低32位 |
|
8211 |
public int dwHFreeSpace; // 阵列剩余空间高32位 |
|
8212 |
public int dwLFreeSpace; // 阵列剩余空间高32位 |
|
8213 |
public byte[] byArrayName = new byte[MAX_NAMELEN]; // 阵列名称 |
|
8214 |
public byte byPDCount; // 物理磁盘数目 |
|
8215 |
public byte bySpareCount; // 热备数目 |
|
8216 |
public byte[] byRes1 = new byte[2]; |
|
8217 |
public short[] wPDSlots = new short[SUPPORT_PD_NUM]; // 物理磁盘索引 |
|
8218 |
public short[] wSparePDSlots = new short[SUPPORT_PD_NUM]; // 热备磁盘索引 |
|
8219 |
public NET_DVR_BGA_INFO struBgaInfo; // 后台任务运行状态 |
|
8220 |
public short[] wPDSlotsPartTwo = new short[SUPPORT_PD_NUM_PARTTWO]; //物理磁盘索引扩展,0表示无效 |
|
8221 |
public short[] wSparePDSlotsPartTwo = new short[SUPPORT_PD_NUM_PARTTWO]; // 热备磁盘索引扩展,0表示无效 |
|
8222 |
public byte[] byRes2 = new byte[48]; // 保留字节 |
|
8223 |
} |
|
8224 |
|
|
8225 |
//物理磁盘 |
|
8226 |
public static class NET_DVR_PHY_DISK_INFO extends HIKSDKStructure { |
|
8227 |
public short wPhySlot; // 硬盘槽位 |
|
8228 |
public byte byType; // 硬盘信息;0 普通,1全局热备,2-阵列热备 3-阵列盘 |
|
8229 |
public byte byStatus; // 硬盘状态; 0-正常 1-降级 2-已删除 3-磁盘丢失 4-下线 5-次正常 6-外来 7-异常 8-SMART状态异常 9-休眠 10-有坏块 0xff-不存在 |
|
8230 |
public byte[] byMode = new byte[40]; // 硬盘类型 字符串 |
|
8231 |
public int dwHCapacity; // 磁盘总量高32位 单位kb |
|
8232 |
public int dwLCapacity; // 磁盘总量低32位 |
|
8233 |
public byte[] byArrrayName = new byte[MAX_NAMELEN]; |
|
8234 |
public short wArrayID; // 所属阵列ID |
|
8235 |
public byte byArrayInformation; // 是否含有阵列信息:0 否,1是 |
|
8236 |
public byte[] byRes = new byte[101]; // 保留字节 |
|
8237 |
} |
|
8238 |
|
|
8239 |
public static class NET_DVR_WORKSTATE_V40 extends HIKSDKStructure { |
|
8240 |
public int dwSize; //结构体大小 |
|
8241 |
public int dwDeviceStatic; //设备的状态,0-正常,1-CPU占用率太高,超过85%,2-硬件错误,例如串口死掉 |
|
8242 |
public NET_DVR_DISKSTATE[] struHardDiskStatic = new NET_DVR_DISKSTATE[MAX_DISKNUM_V30]; //硬盘状态,一次最多只能获取33个硬盘信息 |
|
8243 |
public NET_DVR_CHANNELSTATE_V30[] struChanStatic = new NET_DVR_CHANNELSTATE_V30[MAX_CHANNUM_V40/*512*/];//通道的状态,从前往后顺序排列 |
|
8244 |
public int[] dwHasAlarmInStatic = new int[MAX_ALARMIN_V40]; //有报警的报警输入口,按值表示,按下标值顺序排列,值为0xffffffff时当前及后续值无效 |
|
8245 |
public int[] dwHasAlarmOutStatic = new int[MAX_ALARMOUT_V40]; //有报警输出的报警输出口,按值表示,按下标值顺序排列,值为0xffffffff时当前及后续值无效 |
|
8246 |
public int dwLocalDisplay; //本地显示状态,0-正常,1-不正常 |
|
8247 |
public byte[] byAudioInChanStatus = new byte[MAX_AUDIO_V30/*2*/]; //按位表示语音通道的状态 0-未使用,1-使用中,第0位表示第1个语音通道 |
|
8248 |
public byte[] byRes1 = new byte[2]; |
|
8249 |
public float fHumidity; //传感器获知的湿度,范围:0.0 ~100.0 |
|
8250 |
public float fTemperature; //传感器获知的温度,范围:-20.0 ~ 90.0 |
|
8251 |
public byte[] byRes = new byte[116]; //保留 |
|
8252 |
} |
|
8253 |
|
|
8254 |
public static class NET_DVR_GETWORKSTATE_COND extends HIKSDKStructure { |
|
8255 |
public int dwSize; //结构体长度 |
|
8256 |
public byte byFindHardByCond; /*0-查找全部磁盘(但一次最多只能查找33个),此时dwFindHardStatusNum无效*/ |
|
8257 |
public byte byFindChanByCond; /*0-查找全部通道,此时dwFindChanNum无效*/ |
|
8258 |
public byte[] byRes1 = new byte[2];//保留 |
|
8259 |
public int[] dwFindHardStatus = new int[MAX_DISKNUM_V30/*33*/]; /*要查找的硬盘号,按值表示,该值采用顺序排列, 遇到0xffffffff则认为后续无效 */ |
|
8260 |
public int[] dwFindChanNo = new int[MAX_CHANNUM_V40/*512*/]; /*要查找的通道号,按值表示,该值采用顺序排列, 遇到0xffffffff则认为后续无效 */ |
|
8261 |
public byte[] byRes = new byte[64]; //保留 |
|
8262 |
} |
|
8263 |
|
|
8264 |
//多边型结构体 |
|
8265 |
public static class NET_ITC_POLYGON extends HIKSDKStructure { |
|
8266 |
public int dwPointNum; //有效点 大于等于3,若是3点在一条线上认为是无效区域,线交叉认为是无效区域 |
|
8267 |
public NET_VCA_POINT[] struPos = new NET_VCA_POINT[ITC_MAX_POLYGON_POINT_NUM]; //多边形边界点,最多20个 |
|
8268 |
} |
|
8269 |
|
|
8270 |
public static class CUSTOM_uRegion extends Union { |
|
8271 |
public NET_VCA_RECT struRect = new NET_VCA_RECT(); |
|
8272 |
public NET_ITC_POLYGON struPolygon = new NET_ITC_POLYGON(); |
|
8273 |
} |
|
8274 |
|
|
8275 |
public static class NET_ITC_PLATE_RECOG_REGION_PARAM extends HIKSDKStructure { |
|
8276 |
public byte byMode; //区域类型,0-矩形,1-多边形 |
|
8277 |
public byte[] byRes1 = new byte[3]; |
|
8278 |
public CUSTOM_uRegion uRegion = new CUSTOM_uRegion(); |
|
8279 |
public byte[] byRes = new byte[16]; //保留 |
|
8280 |
} |
|
8281 |
|
|
8282 |
//单组IO测速参数 |
|
8283 |
public static class NET_ITC_SINGLE_IOSPEED_PARAM extends HIKSDKStructure { |
|
8284 |
public byte byEnable; //是否启用,0-不启用,1-启用 |
|
8285 |
public byte byTrigCoil1; //第一线圈关联IO,0-IO1,1-IO2,2-IO3,3-IO4,4-IO5,5-IO6 |
|
8286 |
public byte byCoil1IOStatus;//第一线圈IO输入口状态,0-下降沿(默认),1-上升沿,2-上升沿和下降沿,3-高电平,4-低电平 |
|
8287 |
public byte byTrigCoil2; //第二线圈关联IO,0-IO1,1-IO2,2-IO3,3-IO4,4-IO5,5-IO6 |
|
8288 |
public byte byCoil2IOStatus;//第二线圈IO输入口状态,0-下降沿(默认),1-上升沿,2-上升沿和下降沿,3-高电平,4-低电平 |
|
8289 |
public byte byRelatedDriveWay;//关联的车道号 |
|
8290 |
public byte byTimeOut;//超时时间(默认10),单位s |
|
8291 |
public byte byRelatedIOOutEx;//第0位表示IO输出口1,以此类推,0-不关联,1-关联 支持关联到8个(兼容byRelatedIOOut字段) |
|
8292 |
public int dwDistance;//线圈距离(默认1000),单位:厘米 |
|
8293 |
public byte byCapSpeed;//起拍速度(默认30),单位km/h |
|
8294 |
public byte bySpeedLimit;//限速值(默认60),单位km/h |
|
8295 |
public byte bySpeedCapEn; //是否启用超速抓拍,0-否,1-是 |
|
8296 |
public byte bySnapTimes1; //线圈1抓拍次数(默认不抓拍),0-不抓拍,非0-连拍次数,最大5次 |
|
8297 |
public byte bySnapTimes2; //线圈2抓拍次数(默认1),0-不抓拍,非0-连拍次数,最大5次 |
|
8298 |
public byte byBigCarSpeedLimit; //大车车速限制值 |
|
8299 |
public byte byBigCarSignSpeed;//标志限速(大车),单位km/h(3.7Ver) |
|
8300 |
public byte byIntervalType; //间隔类型(默认按时间),0-时间起效,1-距离起效 |
|
8301 |
public short[] wInterval1 = new short[MAX_INTERVAL_NUM];//线圈1连拍间隔时间(单位ms)或连拍间隔距离(单位分米),当byIntervalType为0时,表示间隔时间,当byIntervalType为1时,表示距离 |
|
8302 |
public short[] wInterval2 = new short[MAX_INTERVAL_NUM];//线圈2连拍间隔时间(单位ms)或连拍间隔距离(单位分米),当byIntervalType为0时,表示间隔时间,当byIntervalType为1时,表示距离 |
|
8303 |
public byte[] byRelatedIOOut = new byte[MAX_IOOUT_NUM]; //关联的IO输出口(可以同时关联多个),数组0表示IO输出口1,数组1表示IO输出口2,以此类推,0-不关联,1-关联 |
|
8304 |
public byte byFlashMode; //闪光灯闪烁模式,0-同时闪,1-轮流闪 |
|
8305 |
public byte byLaneType; //车道类型,0-未配置、1-高速公路、2-城市快速路、0xff-其他道路 |
|
8306 |
public byte byCarSignSpeed;//标志限速,单位km/h(3.7Ver) |
|
8307 |
public byte byUseageType; //车道用途类型,详见ITC_LANE_USEAGE_TYPE |
|
8308 |
public NET_ITC_PLATE_RECOG_REGION_PARAM[] struPlateRecog = new NET_ITC_PLATE_RECOG_REGION_PARAM[MAX_LANEAREA_NUM]; //牌识参数(可用牌识区域1个,保留一个) |
|
8309 |
//关联车道方向类型,参考ITC_RELA_LANE_DIRECTION_TYPE |
|
8310 |
//该参数为车道方向参数,与关联车道号对应,确保车道唯一性。 |
|
8311 |
public byte byRelaLaneDirectionType; |
|
8312 |
public byte byLowSpeedLimit; //小车限底速值,单位km/h |
|
8313 |
public byte byBigCarLowSpeedLimit; //大车限底速值,单位km/h |
|
8314 |
public byte byLowSpeedCapEn; //是否启用低速抓拍,0-否,1-是 |
|
8315 |
public byte byEmergencyCapEn; //是否启用应急车道抓拍,0-否,1-是 |
|
8316 |
public byte[] byRes = new byte[27]; |
|
8317 |
} |
|
8318 |
|
|
8319 |
//牌识参数 |
|
8320 |
public static class NET_ITC_PLATE_RECOG_PARAM extends HIKSDKStructure { |
|
8321 |
public byte[] byDefaultCHN = new byte[MAX_CHJC_NUM]; /*设备运行省份的汉字简写*/ |
|
8322 |
public byte byEnable; //是否启用该区域牌识,0-否,1-是 |
|
8323 |
public int dwRecogMode; |
|
8324 |
/*识别的类型, |
|
8325 |
bit0-背向识别:0-正向车牌识别,1-背向识别(尾牌识别) ; |
|
8326 |
bit1-大车牌识别或小车牌识别:0-小车牌识别,1-大车牌识别 ; |
|
8327 |
bit2-车身颜色识别:0-不采用车身颜色识别,在背向识别或小车牌识别时禁止启用,1-车身颜色识别; |
|
8328 |
bit3-农用车识别:0-不采用农用车识别,1-农用车识别; |
|
8329 |
bit4-模糊识别:0-不采用模糊识别,1-模糊识别; |
|
8330 |
bit5-帧定位或场定位:0-帧定位,1-场定位; |
|
8331 |
bit6-帧识别或场识别:0-帧识别,1-场识别; |
|
8332 |
bit7-晚上或白天:0-白天,1-晚上 |
|
8333 |
bit8-摩托车识别:0-不采用摩托车识别,1-摩托车识别; |
|
8334 |
bit9-场景模式:0-电警/多帧,1-卡口; |
|
8335 |
bit10-微小车牌:0-不启用,1-启用微小车牌识别(像素60~80) |
|
8336 |
bit11-安全带检测:0-不启用,1-启用安全带检测 |
|
8337 |
bit12-民航车牌识别: 0-不启用,1-开启民航车牌识别 |
|
8338 |
bit13-车牌过渡倾斜处理: 0-不启用,1-开启过渡倾斜处理(PRS) |
|
8339 |
bit14-超大车牌识别: 0-不启用,1-开启超大车牌识别(PRS) |
|
8340 |
bit15-遮阳板检测:0-不启用,1-启用遮阳板检测 |
|
8341 |
bit16-黄标车检测:0-不启用,1-启用黄标车检测 |
|
8342 |
bit17-危险品车辆检测:0-不启用,1-启用危险品车辆检测 |
|
8343 |
bit18-使馆车牌识别:0-不启用,1-启用使馆车牌识别 |
|
8344 |
bit19-车辆子品牌识别:0-不启用,1-启用车辆子品牌识别 |
|
8345 |
bit20-打电话识别:0-不启用,1-启用 |
|
8346 |
bit21-车窗悬挂物识别:0-不启用,1-启用 |
|
8347 |
*/ |
|
8348 |
public byte byVehicleLogoRecog;//车标识别 0-不启用,1-启用 |
|
8349 |
/* |
|
8350 |
0-保留,1-澳,2-京,3-渝,4-闽,5-甘,6-粤,7-桂,8-贵,9-琼,10-冀,11-豫, |
|
8351 |
12-黑,13-鄂,14-湘,15-吉,16-苏,17-赣,18-辽,19-蒙,20-宁,21-青,22-鲁, |
|
8352 |
23-晋,24-陕,25-沪,26-川,27-台,28-津,29-藏,30-港,31-新,32-云,33-浙, |
|
8353 |
34-皖,0xff-全部 |
|
8354 |
*/ |
|
8355 |
public byte byProvince;//省份索引值 |
|
8356 |
public byte byRegion;// 区域索引值 0-保留,1-欧洲,2-俄语区域, 3-欧洲&俄罗斯(EU&CIS),4-中东(Middle East) |
|
8357 |
public byte byCountry;//国家索引,参照枚举COUNTRY_INDEX(不支持“COUNTRY_ALL = 0xff,//ALL 全部”) |
|
8358 |
public short wPlatePixelWidthMin;//车牌像素识别宽度最小值(单位是像素)当前推荐范围[130,500] |
|
8359 |
public short wPlatePixelWidthMax;//车牌像素识别宽度最大值(单位是像素)当前推荐范围[130,500] |
|
8360 |
public byte[] byRes = new byte[24]; |
|
8361 |
} |
|
8362 |
|
|
8363 |
//卡口IO测速参数 |
|
8364 |
public static class NET_ITC_POST_IOSPEED_PARAM extends HIKSDKStructure { |
|
8365 |
public NET_ITC_PLATE_RECOG_PARAM struPlateRecog; //牌识参数 |
|
8366 |
public NET_ITC_SINGLE_IOSPEED_PARAM[] struSingleIOSpeed = new NET_ITC_SINGLE_IOSPEED_PARAM[MAX_IOSPEED_GROUP_NUM]; //单个IO测速组参数 |
|
8367 |
public byte[] byRes = new byte[32]; |
|
8368 |
} |
|
8369 |
|
|
8370 |
public static class NET_DVR_GEOGLOCATION extends HIKSDKStructure { |
|
8371 |
public int[] iRes = new int[2]; /*保留*/ |
|
8372 |
public int dwCity; /*城市,详见PROVINCE_CITY_IDX */ |
|
8373 |
} |
|
8374 |
|
|
8375 |
public static class NET_ITC_INTERVAL_PARAM extends HIKSDKStructure { |
|
8376 |
public byte byIntervalType; //间隔类型(默认按时间),0-时间起效,1-距离起效 |
|
8377 |
public byte[] byRes1 = new byte[3]; |
|
8378 |
public short[] wInterval = new short[MAX_INTERVAL_NUM];//连拍间隔时间(单位ms)或连拍间隔距离(单位分米),当byIntervalType为0时,表示间隔时间,当byIntervalType为1时,表示距离 |
|
8379 |
public byte[] byRes = new byte[8]; |
|
8380 |
} |
|
8381 |
|
|
8382 |
public static class NET_ITC_VTLANE_PARAM extends HIKSDKStructure { |
|
8383 |
public byte byRelatedDriveWay;//关联的车道号 |
|
8384 |
public byte bySpeedCapEn; //是否启用超速抓拍,0-否,1-是 |
|
8385 |
public byte bySignSpeed;//标志限速,单位km/h |
|
8386 |
public byte bySpeedLimit;//限速值,单位km/h |
|
8387 |
public byte bySnapTimes; //抓拍次数(默认1),0-不抓拍,非0-连拍次数,最大5 |
|
8388 |
public byte byBigCarSignSpeed;///*大车标志限速,单位km/h*/ |
|
8389 |
public byte byBigCarSpeedLimit;/*大车限速值,单位km/h*/ |
|
8390 |
public byte byRelatedIOOutEx;//第0位表示IO输出口1,以此类推,0-不关联,1-关联 支持关联到8个(兼容byRelatedIOOut字段) |
|
8391 |
public NET_ITC_INTERVAL_PARAM struInterval = new NET_ITC_INTERVAL_PARAM(); //抓拍间隔参数 |
|
8392 |
public byte[] byRelatedIOOut = new byte[MAX_IOOUT_NUM]; //关联的IO输出口,可以同时关联多个 |
|
8393 |
public byte byFlashMode; //闪光灯闪烁模式,0-同时闪,1-轮流闪 |
|
8394 |
public byte byLowSpeedLimit;/*限低速,单位km/h*/ |
|
8395 |
public byte byBigCarLowSpeedLimit; /*大车限低速,单位km/h*/ |
|
8396 |
//关联车道方向类型,参考ITC_RELA_LANE_DIRECTION_TYPE |
|
8397 |
//该参数为车道方向参数,与关联车道号对应,确保车道唯一性。 |
|
8398 |
public byte byRelaLaneDirectionType; |
|
8399 |
public NET_ITC_PLATE_RECOG_REGION_PARAM[] struPlateRecog = new NET_ITC_PLATE_RECOG_REGION_PARAM[MAX_LANEAREA_NUM]; //车道牌识参数 |
|
8400 |
public NET_VCA_LINE struLine = new NET_VCA_LINE(); //车道线 |
|
8401 |
} |
|
8402 |
|
|
8403 |
public static class NET_ITC_VTCOIL_INFO extends HIKSDKStructure { |
|
8404 |
public NET_VCA_RECT struLaneRect = new NET_VCA_RECT(); /*虚拟线圈区域*/ |
|
8405 |
public byte byTrigFlag; //触发标志,0-车头触发;1-车尾触发;2-车头/车尾都触发 |
|
8406 |
public byte byTrigSensitive; //触发灵敏度,1-100 |
|
8407 |
public byte[] byRelatedIOOut = new byte[MAX_IOOUT_NUM]; //关联的IO输出口(可以同时关联多个),数组0表示IO输出口1,数组1表示IO输出口2,以此类推,0-不关联,1-关联 |
|
8408 |
public byte byFlashMode; //闪光灯闪烁模式,0-同时闪,1-轮流闪 |
|
8409 |
public byte byLaneType; //车道类型,0-未配置、1-高速公路、2-城市快速路、0xff-其他道路 |
|
8410 |
public byte byEnableRadar; //是否启用雷达测速,0-否,1-是 |
|
8411 |
public NET_ITC_VTLANE_PARAM struLane = new NET_ITC_VTLANE_PARAM(); //关联的车道参数 |
|
8412 |
//车道用途类型,详见ITC_LANE_USEAGE_TYPE,使用1和8两种类型(3.7Ver) |
|
8413 |
public byte byUseageType; |
|
8414 |
//车辆行驶方向,详见ITC_LANE_CAR_DRIVE_DIRECT(3.7Ver) |
|
8415 |
public byte byCarDriveDirect; |
|
8416 |
public byte[] byRes = new byte[30]; |
|
8417 |
} |
|
8418 |
|
|
8419 |
public static class NET_ITC_RADAR_PARAM extends HIKSDKStructure { |
|
8420 |
public byte byRadarType; //雷达类型,0-无雷达,1-安道雷雷达,2-奥利维亚,3-川速微波4,雷达接IO扩展盒(此参数在卡口虚拟线圈、混行卡口界面中使用,卡口RS485雷达不使用),0xff-其它类型 |
|
8421 |
public byte byLevelAngle; //与水平线所成角度,默认为25°(0到90度) |
|
8422 |
public short wRadarSensitivity; //雷达灵敏度 |
|
8423 |
public short wRadarSpeedValidTime;//雷达速度有效时间(0~2000] ,0表示不支持 |
|
8424 |
public byte[] byRes1 = new byte[2]; |
|
8425 |
public float fLineCorrectParam;//线性矫正参数[0.0~2.0] |
|
8426 |
public int iConstCorrectParam;//常量矫正参数[-100~100] |
|
8427 |
public byte[] byRes2 = new byte[8]; |
|
8428 |
} |
|
8429 |
|
|
8430 |
//卡口虚拟线圈触发参数 |
|
8431 |
public static class NET_ITC_POST_VTCOIL_PARAM extends HIKSDKStructure { |
|
8432 |
public byte byRelatedLaneNum;//关联的车道个数 |
|
8433 |
public byte byIsDisplay; //视频中是否显示虚拟线圈,0-不显示,1-显示 |
|
8434 |
public byte byLoopPos; //晚间触发线圈的偏向(默认10) |
|
8435 |
public byte byPolarLenType; /*偏振镜类型,0:不加偏振镜;1:加施耐德偏振镜。*/ |
|
8436 |
public byte byDayAuxLightMode; /*白天辅助照明模式,0:无辅助照明;1:LED灯照明;2:闪光灯照明*/ |
|
8437 |
public byte byVideoLaneNO; //视频参考亮度的参考车道号 |
|
8438 |
public byte byVideoLowTh; /*视频参考亮度低阈值初始化值(默认40)*/ |
|
8439 |
public byte byVideoHighTh; /*视频参考亮度高阈值初始化值(默认55)*/ |
|
8440 |
public byte byRecordMode; //录像标志:0-不录像,1-录像 |
|
8441 |
public byte bySnapMode;//抓拍模式:0-频闪模式;1-爆闪模式 |
|
8442 |
/*测速方式:0-不测速,0x1-雷达测速,0x2-视频测速*/ |
|
8443 |
public byte bySpeedDetector; |
|
8444 |
public byte byRes2; |
|
8445 |
public short wResolutionX;/* 设备当前分辨率宽*/ |
|
8446 |
public short wResolutionY;/* 设备当前分辨率高*/ |
|
8447 |
public int dwDayInitExp; /*视频白天曝光时间的初始值2000*/ |
|
8448 |
public int dwDayMaxExp; /*视频白天曝光时间的最大值20000*/ |
|
8449 |
public int dwNightExp; /*晚间视频曝光时间的设置值3000*/ |
|
8450 |
public int dwSnapExp; /*抓拍曝光时间*/ |
|
8451 |
public byte byDayInitGain; /*视频白天增益的初始值200*/ |
|
8452 |
public byte byDayMaxGain; /*视频白天增益的最大值400*/ |
|
8453 |
public byte byNightGain; /*晚间视频增益*/ |
|
8454 |
public byte bySnapGain; /*抓拍增益*/ |
|
8455 |
public int dwSceneMode; //场景模式, 详见SCENE_MODE |
|
8456 |
public NET_DVR_GEOGLOCATION struGeogLocation = new NET_DVR_GEOGLOCATION(); //地址位置(默认浙江) |
|
8457 |
public NET_ITC_PLATE_RECOG_PARAM struPlateRecog = new NET_ITC_PLATE_RECOG_PARAM(); //牌识参数 |
|
8458 |
public NET_ITC_VTCOIL_INFO[] struVtCoil = new NET_ITC_VTCOIL_INFO[MAX_VL_NUM]; //虚拟线圈参数 |
|
8459 |
public NET_ITC_RADAR_PARAM struRadar = new NET_ITC_RADAR_PARAM(); //雷达参数 |
|
8460 |
public NET_VCA_LINE struLine = new NET_VCA_LINE(); //右车道线 |
|
8461 |
//违规检测类型,按位表示,详见ITC_VIOLATION_DETECT_TYPE,0-不启用,1-启用(3.7Ver) |
|
8462 |
public int dwVioDetectType; |
|
8463 |
public byte byDebugMode; /*调试模式,0-不启用,1-启用*/ |
|
8464 |
public byte[] byRes = new byte[11]; |
|
8465 |
} |
|
8466 |
|
|
8467 |
//车道属性参数结构 |
|
8468 |
public static class NET_ITC_LANE_LOGIC_PARAM extends HIKSDKStructure { |
|
8469 |
public byte byUseageType; //车道用途类型,详见ITC_LANE_USEAGE_TYPE |
|
8470 |
public byte byDirectionType; //车道方向类型,详见ITC_LANE_DIRECTION_TYPE |
|
8471 |
public byte byCarDriveDirect; //车辆行驶方向,详见ITC_LANE_CAR_DRIVE_DIRECT |
|
8472 |
public byte[] byRes = new byte[33]; //保留 |
|
8473 |
} |
|
8474 |
|
|
8475 |
//视频电警线结构 |
|
8476 |
public static class NET_ITC_LINE extends HIKSDKStructure { |
|
8477 |
public NET_VCA_LINE struLine = new NET_VCA_LINE(); //线参数 |
|
8478 |
public byte byLineType; //线类型,详见ITC_LINE_TYPE |
|
8479 |
public byte[] byRes = new byte[7]; |
|
8480 |
} |
|
8481 |
|
|
8482 |
public static class NET_ITC_SNAPMODE_PARAM extends HIKSDKStructure { |
|
8483 |
public byte byVehicleCapMode;//机动车抓拍模式,0-频闪模式;1-爆闪模式 |
|
8484 |
public byte byNoVehicleCapMode;//非机动车抓拍模式,0-频闪模式;1-爆闪模式 |
|
8485 |
public byte byPasserCapMode;//行人抓拍模式,0-频闪模式;1-爆闪模式 |
|
8486 |
public byte[] byRes = new byte[29]; |
|
8487 |
} |
|
8488 |
|
|
8489 |
//size = 128 |
|
8490 |
public static class NET_ITC_HVT_EC_PARAM extends HIKSDKStructure { |
|
8491 |
public int dwCapShutter; //抓拍快门0~65535 |
|
8492 |
public short wCapGain; //抓拍增益0~100 |
|
8493 |
public byte[] byRes = new byte[2]; |
|
8494 |
public int dwDayTimeVideoShutter; //白天曝光时间最大值 |
|
8495 |
public short wDayTimeVideoGain; //白天增益最大值 |
|
8496 |
public short wNightVideoGain; //晚上增益最大值 |
|
8497 |
public short wNightVideoShutter; //晚上曝光时间最大值 |
|
8498 |
public byte[] byRes1 = new byte[108]; |
|
8499 |
} |
|
8500 |
|
|
8501 |
public static class NET_ITC_LANE_HVT_PARAM extends HIKSDKStructure { |
|
8502 |
public byte byLaneNO; //关联的车道号 1~255(用于叠加和上传) |
|
8503 |
public byte bySignSpeed; //标志限速,单位km/h 0~255 70 |
|
8504 |
public byte bySpeedLimit; //限速值,单位km/h 0~255 80 实际起效 |
|
8505 |
public byte byBigCarSignSpeed;///*大车标志限速,单位km/h*/ |
|
8506 |
public byte byBigCarSpeedLimit;/*大车限速值,单位km/h*/ |
|
8507 |
public byte bySpeedCapEn; //是否启用超速抓拍,0-否,1-是 |
|
8508 |
public byte byCaptureCount;//抓拍张数1~5(正常) |
|
8509 |
public byte byRelatedIOOut; /*关联的IO输出口(可以同时关联多个),按位表示IO输出口,第0位表示IO输出口1,以此类推,0-不关联,1-关联*/ |
|
8510 |
public byte byFlashMode; /*闪光灯闪烁模式,0-同时闪,1-轮流闪*/ |
|
8511 |
public byte byEnableRadar; //是否启用雷达测速,0-否,1-是 |
|
8512 |
public byte byChangeLaneEnable; //违章变道抓拍使能,0-关闭,1-开启 |
|
8513 |
public byte byChangeLaneCapNo; //违章变道抓拍张数2-3 |
|
8514 |
public int dwCapTarget; //抓拍类型 bit0 表示机动车 bit1 表示非机动车 bit2 表示行人 0~表示不选择 1~表示选择 |
|
8515 |
public NET_ITC_INTERVAL_PARAM struInterval; //抓拍间隔参数 |
|
8516 |
public byte[] byRes3 = new byte[24]; |
|
8517 |
public NET_ITC_LANE_LOGIC_PARAM struLane; //车道属性,用byUseageType和byCarDriveDirect |
|
8518 |
public NET_ITC_LINE struLeftLaneLine; //左车道线,线类型为虚线、实线、单黄线和双黄线 |
|
8519 |
public NET_ITC_LINE struRightLaneLine; //右车道线,线类型为虚线、实线、单黄线和双黄线 |
|
8520 |
public NET_ITC_POLYGON struPlateRecog; //牌识区域参数 |
|
8521 |
public NET_ITC_POLYGON struTraceArea; //视频触发焦点区域 |
|
8522 |
public NET_VCA_LINE struForwardTrigLine; //正向触发线:一条线段,关心端点位置,目前只支持水平配置,接口按线段的两个端点保存。(一般配置为正向车辆的最佳触发位置) |
|
8523 |
public NET_VCA_LINE struBackwardTrigLine; //背向触发线:一条线段,关心端点位置,目前只支持水平配置,接口按线段的两个端点保存(一般配置为背向车辆的最佳触发位置) |
|
8524 |
public NET_VCA_LINE struLeftTrigLine; //左边触发线:一条线段,关心端点位置,目前只支持垂直配置,接口按线段的两个端点保存(一般配置为从左边进入车辆的最佳触发位置) |
|
8525 |
public NET_VCA_LINE struRightTrigLine; //右边触发线:一条线段,关心端点位置,目前只支持垂直配置,接口按线段的两个端点保存(一般配置为从右边进入车辆的最佳触发位置) |
|
8526 |
public byte[] byRes4 = new byte[60]; |
|
8527 |
} |
|
8528 |
|
|
8529 |
public static class NET_ITC_POST_HVT_PARAM extends HIKSDKStructure { |
|
8530 |
public byte byLaneNum;//识别的车道个数,1-6 |
|
8531 |
public byte bySceneMode;//0-未知1-城区道路;2-小区出入口 |
|
8532 |
public byte byRoadExpBright;//路面期望亮度(视频曝光参数调整的依据之一。在无机动车时,依据此亮度期望值,调整视频曝光参数) |
|
8533 |
public byte byPlateExpBright;//车牌期望亮度(视频曝光参数调整的依据之一。在有机动车通过并识别到车牌时,依据此亮度期望值,对视频曝光参数调整) |
|
8534 |
public NET_ITC_POLYGON struDetectArea; //视频检测区域 |
|
8535 |
public NET_ITC_SNAPMODE_PARAM struCapMode = new NET_ITC_SNAPMODE_PARAM();//抓拍模式 |
|
8536 |
public NET_ITC_HVT_EC_PARAM struEcParam = new NET_ITC_HVT_EC_PARAM(); //曝光控制参数 |
|
8537 |
public NET_ITC_LANE_HVT_PARAM[] struLaneParam = new NET_ITC_LANE_HVT_PARAM[MAX_ITC_LANE_NUM]; //单车道属性 |
|
8538 |
public NET_ITC_PLATE_RECOG_PARAM struPlateRecog = new NET_ITC_PLATE_RECOG_PARAM(); //牌识参数 |
|
8539 |
public NET_DVR_GEOGLOCATION struGeogLocation = new NET_DVR_GEOGLOCATION(); //地址位置(默认浙江) |
|
8540 |
public byte[] byRes = new byte[324]; |
|
8541 |
} |
|
8542 |
|
|
8543 |
//抓拍机4.0新增 |
|
8544 |
public static class NET_ITC_LANE_HVT_PARAM_V50 extends HIKSDKStructure { |
|
8545 |
public byte byLaneNO; //关联的车道号1~255(用于叠加和上传) |
|
8546 |
public byte byFlashMode; //闪光灯闪烁模式,0-同时闪,1-轮流闪 |
|
8547 |
public byte bySignSpeed; //小车标志限高速,单位km/h |
|
8548 |
public byte bySpeedLimit; //小车限高速值,单位km/h |
|
8549 |
public byte bySignLowSpeed; //小车标志限底速,单位km/h |
|
8550 |
public byte byLowSpeedLimit; //小车限底速值,单位km/h |
|
8551 |
public byte byBigCarSignSpeed; //大车标志限高速,单位km/h(新交规) |
|
8552 |
public byte byBigCarSpeedLimit; //大车限高速值,单位km/h(新交规) |
|
8553 |
public byte byBigCarSignLowSpeed; //大车标志限底速,单位km/h |
|
8554 |
public byte byBigCarLowSpeedLimit; //大车限底速值,单位km/h |
|
8555 |
public byte bySnapTimes; //卡口抓拍张数,1~3 |
|
8556 |
public byte byDriveLineSnapTime;// 压线抓拍张数 1~3 |
|
8557 |
public byte byHighSpeedSnapTime;// 超高速抓拍张数1~3 |
|
8558 |
public byte byLowSpeedSnapTime;// 超低速抓拍张数1~3 |
|
8559 |
public byte byBanSnapTime;// 违反禁令抓拍张数 1~3 |
|
8560 |
public byte byReverseSnapTime;//逆行抓拍张数 1~3 |
|
8561 |
public byte byRelatedDriveWay; //关联车道号,用于匹配车检器 |
|
8562 |
public byte byLaneType; //车道类型,0-未配置、1-高速公路、2-城市快速路、0xff-其他道路 |
|
8563 |
//关联车道方向类型,参考ITC_RELA_LANE_DIRECTION_TYPE |
|
8564 |
//该参数为车道方向参数,与关联车道号byRelatedDriveWay对应,确保车道唯一性。 |
|
8565 |
public byte byRelaLaneDirectionType; |
|
8566 |
public byte[] byRes1 = new byte[27]; |
|
8567 |
public byte byChangeLaneEnable; //违章变道抓拍使能,0-关闭,1-开启 |
|
8568 |
public byte byChangeLaneCapNo; //违章变道抓拍张数2-3 |
|
8569 |
//目前仅使用第一个车道的,以后可能会扩展为多车道分别配置 |
|
8570 |
//类型, 按位表示,0-不启用,1-启用参考 ITC_VIOLATION_DETECT_TYPE |
|
8571 |
public int dwVioDetectType; |
|
8572 |
public int dwRelatedIOOut; //关联的IO输出口(可以同时关联多个),按位表示IO输出口,第0位表示IO输出口1,以此类推,0-不关联,1-关联 |
|
8573 |
public NET_ITC_LINE struTrigLine; //触发线,目前仅使用第一个车道的,以后可能会扩展为多车道分别配置 |
|
8574 |
public NET_ITC_LINE struLineLeft; //左车道线 |
|
8575 |
public NET_ITC_POLYGON struPlateRecog; //牌识区域 |
|
8576 |
public NET_ITC_LANE_LOGIC_PARAM struLane; //车道属性,用byUseageType和byCarDriveDirect |
|
8577 |
public NET_ITC_INTERVAL_PARAM struInterval;//抓拍间隔参数(20byte) |
|
8578 |
public byte[] byRes2 = new byte[280]; |
|
8579 |
} |
|
8580 |
|
|
8581 |
public static class NET_ITC_POST_HVT_PARAM_V50 extends HIKSDKStructure { |
|
8582 |
public byte byLaneNum; //识别的车道个数,1-6 |
|
8583 |
public byte byCapType; //抓拍类型,0-机、非、人(默认),1-机动车 |
|
8584 |
public byte byCapMode; //抓拍方式,0-视频抽帧,1-打断抓拍,2-混合模式, |
|
8585 |
public byte bySecneMode; //场景模式,0-城区道路(默认),1-小区出入口,2-高速公路 |
|
8586 |
public byte bySpeedMode; //测速模式,0-无测速,1-雷达测速,2-视频测速 |
|
8587 |
public byte byLineRuleEffect; //触发规则线有效性,每一位代表一条触发线,0-无效;1-有效。bit0-左触发线;bit1-右触发线;bit2-视频检测区域 |
|
8588 |
public byte[] byRes1 = new byte[78]; |
|
8589 |
public NET_ITC_LINE struLeftTrigLine; //左触发线(一条垂直线) |
|
8590 |
public NET_ITC_LINE struRigtTrigLine; //右触发线(一条垂直线) |
|
8591 |
public NET_ITC_LINE struLaneBoundaryLine; //车道边界线(最右边车道的右车道线) |
|
8592 |
public NET_ITC_POLYGON struDetectArea; //视频检测区域 |
|
8593 |
public NET_DVR_GEOGLOCATION struGeogLocation; //地理位置(默认浙江省)计算时区 |
|
8594 |
public NET_ITC_LANE_HVT_PARAM_V50[] struLaneParam = new NET_ITC_LANE_HVT_PARAM_V50[MAX_ITC_LANE_NUM/*6*/]; //单车道属性 |
|
8595 |
public NET_ITC_PLATE_RECOG_PARAM struPlateRecog; //牌识参数 |
|
8596 |
public byte[] byRes2 = new byte[260]; |
|
8597 |
} |
|
8598 |
|
|
8599 |
|
|
8600 |
public static class NET_ITC_LANE_PARAM extends HIKSDKStructure { |
|
8601 |
public byte byEnable; //是否启用该车道,0-不启用,1-启用 |
|
8602 |
public byte byRelatedDriveWay;//关联的车道号 |
|
8603 |
public short wDistance; //线圈距离,计算速度 |
|
8604 |
public short wTrigDelayTime; //触发延迟时间(默认200),单位:毫秒 |
|
8605 |
public byte byTrigDelayDistance; //触发延迟距离(默认0),单位:分米 |
|
8606 |
public byte bySpeedCapEn; //是否启用超速抓拍,0-否,1-是 |
|
8607 |
public byte bySignSpeed;//标志限速,单位km/h |
|
8608 |
public byte bySpeedLimit;//限速值,单位km/h |
|
8609 |
public byte bySnapTimes; //抓拍次数(默认1),0-不抓拍,非0-连拍次数,最大5 |
|
8610 |
public byte byOverlayDriveWay; //OSD叠加的车道号 |
|
8611 |
public NET_ITC_INTERVAL_PARAM struInterval; //抓拍间隔参数 |
|
8612 |
public byte[] byRelatedIOOut = new byte[MAX_IOOUT_NUM]; //关联的IO输出口,可以同时关联多个 |
|
8613 |
public byte byFlashMode; //闪光灯闪烁模式,0-同时闪,1-轮流闪 |
|
8614 |
public byte byCartSignSpeed;//标志限速(大车),单位km/h |
|
8615 |
public byte byCartSpeedLimit;//限速值(大车),单位km/h |
|
8616 |
public byte byRelatedIOOutEx;//第0位表示IO输出口1,以此类推,0-不关联,1-关联 支持关联到8个(兼容byRelatedIOOut字段) |
|
8617 |
public NET_ITC_PLATE_RECOG_REGION_PARAM[] struPlateRecog = new NET_ITC_PLATE_RECOG_REGION_PARAM[MAX_LANEAREA_NUM]; //车道牌识参数 |
|
8618 |
public byte byLaneType; //车道类型,0-未配置、1-高速公路、2-城市快速路、0xff-其他道路 |
|
8619 |
public byte byUseageType; //车道用途类型,详见ITC_LANE_USEAGE_TYPE |
|
8620 |
//关联车道方向类型,参考ITC_RELA_LANE_DIRECTION_TYPE |
|
8621 |
//该参数为车道方向参数,与关联车道号对应,确保车道唯一性。 |
|
8622 |
public byte byRelaLaneDirectionType; |
|
8623 |
public byte byLowSpeedLimit; //小车限底速值,单位km/h |
|
8624 |
public byte byBigCarLowSpeedLimit; //大车限底速值,单位km/h |
|
8625 |
public byte byLowSpeedCapEn; //是否启用低速抓拍,0-否,1-是 |
|
8626 |
public byte byEmergencyCapEn; //是否启用应急车道抓拍,0-否,1-是 |
|
8627 |
public byte[] byRes = new byte[9]; |
|
8628 |
} |
|
8629 |
|
|
8630 |
//卡口RS485车检器触发参数 |
|
8631 |
public static class NET_ITC_POST_RS485_PARAM extends HIKSDKStructure { |
|
8632 |
public byte byRelatedLaneNum;//关联的车道个数 |
|
8633 |
public byte byTriggerSpareMode; //触发备用模式,0-默认,1-卡口虚拟线圈模式,2-卡口混合车道模式 |
|
8634 |
public byte byFaultToleranceTime;//容错时间(单位:分钟),用于检测车检器是否正常的最大时间 |
|
8635 |
public byte byRes1; |
|
8636 |
public NET_ITC_PLATE_RECOG_PARAM struPlateRecog = new NET_ITC_PLATE_RECOG_PARAM(); //牌识参数 |
|
8637 |
public NET_ITC_LANE_PARAM[] struLane = new NET_ITC_LANE_PARAM[MAX_ITC_LANE_NUM]; //关联的车道参数 |
|
8638 |
public byte[] byRes = new byte[32]; |
|
8639 |
} |
|
8640 |
|
|
8641 |
//卡口RS485雷达触发参数 |
|
8642 |
public static class NET_ITC_POST_RS485_RADAR_PARAM extends HIKSDKStructure { |
|
8643 |
public byte byRelatedLaneNum;//关联的车道个数 |
|
8644 |
public byte[] byRes1 = new byte[3]; |
|
8645 |
public NET_ITC_PLATE_RECOG_PARAM struPlateRecog = new NET_ITC_PLATE_RECOG_PARAM(); //牌识参数 |
|
8646 |
public NET_ITC_LANE_PARAM[] struLane = new NET_ITC_LANE_PARAM[MAX_ITC_LANE_NUM]; //关联的车道参数 |
|
8647 |
public NET_ITC_RADAR_PARAM struRadar = new NET_ITC_RADAR_PARAM(); //雷达参数 |
|
8648 |
public byte[] byRes = new byte[32]; |
|
8649 |
} |
|
8650 |
|
|
8651 |
public static class NET_ITC_TRIGGER_PARAM_UNION extends Union { |
|
8652 |
public int[] uLen = new int[1070]; //参数 |
|
8653 |
public NET_ITC_POST_IOSPEED_PARAM struIOSpeed = new NET_ITC_POST_IOSPEED_PARAM(); //(卡口)IO测速参数 |
|
8654 |
// public NET_ITC_POST_SINGLEIO_PARAM struSingleIO = new NET_ITC_POST_SINGLEIO_PARAM(); //(卡口)单IO参数 |
|
8655 |
public NET_ITC_POST_RS485_PARAM struPostRs485 = new NET_ITC_POST_RS485_PARAM(); //(卡口)RS485车检器参数 |
|
8656 |
public NET_ITC_POST_RS485_RADAR_PARAM struPostRadar = new NET_ITC_POST_RS485_RADAR_PARAM(); //(卡口)RS485雷达参数 |
|
8657 |
public NET_ITC_POST_VTCOIL_PARAM struVtCoil = new NET_ITC_POST_VTCOIL_PARAM(); //(卡口)虚拟线圈参数 |
|
8658 |
public NET_ITC_POST_HVT_PARAM struHvt = new NET_ITC_POST_HVT_PARAM(); //(卡口)混行卡口参数 |
|
8659 |
// public NET_ITC_EPOLICE_IOTL_PARAM struIOTL = new NET_ITC_EPOLICE_IOTL_PARAM(); //(电警)IO红绿灯参数 |
|
8660 |
// public NET_ITC_EPOLICE_RS485_PARAM struEpoliceRs485 = new NET_ITC_EPOLICE_RS485_PARAM(); //(电警)RS485车检器触发参数 |
|
8661 |
// public NET_ITC_EPOLICE_RS485_PARAM struPERs485 = new NET_ITC_EPOLICE_RS485_PARAM(); //(卡式电警)RS485车检器触发参数 |
|
8662 |
// public NET_ITC_POST_MPR_PARAM struPostMpr = new NET_ITC_POST_MPR_PARAM(); //多帧检测触发(MPR) |
|
8663 |
// public NET_DVR_VIA_VTCOIL_PARAM struViaVtCoil = new NET_DVR_VIA_VTCOIL_PARAM(); //(VIA)视频检测参数 |
|
8664 |
// public NET_ITC_POST_IMT_PARAM struPostImt = new NET_ITC_POST_IMT_PARAM();//智慧监控触发 |
|
8665 |
// public NET_ITC_POST_PRS_PARAM struPostPrs = new NET_ITC_POST_PRS_PARAM();//视频检测触发 |
|
8666 |
// public NET_IPC_POST_HVT_PARAM struIpcHvt = new NET_IPC_POST_HVT_PARAM();//(IPC) 混行卡口参数 |
|
8667 |
public NET_ITC_POST_HVT_PARAM_V50 struHvtV50 = new NET_ITC_POST_HVT_PARAM_V50(); /*(卡口)混行卡口参数V50*/ |
|
8668 |
// public NET_ITC_POST_MOBILE_PARAM struPostMobile = new NET_ITC_POST_MOBILE_PARAM();// 移动交通触发模式 |
|
8669 |
// public NET_ITC_NOCOMITY_PEDESTRIAN_PARAM struNoComityPed = new NET_ITC_NOCOMITY_PEDESTRIAN_PARAM();//不礼让行人参数 |
|
8670 |
// public NET_ITC_REDLIGHT_PEDESTRIAN_PARAM struRedLightPed = new NET_ITC_REDLIGHT_PEDESTRIAN_PARAM();//行人闯红灯参数 |
|
8671 |
} |
|
8672 |
|
|
8673 |
//单个触发参数结构 |
|
8674 |
public static class NET_ITC_SINGLE_TRIGGERCFG extends HIKSDKStructure { |
|
8675 |
public byte byEnable; //是否启用该触发模式,0-否,1-是 |
|
8676 |
public byte[] byRes1 = new byte[3]; |
|
8677 |
public int dwTriggerType; //触发类型,详见ITC_TRIGGERMODE_TYPE |
|
8678 |
public NET_ITC_TRIGGER_PARAM_UNION uTriggerParam = new NET_ITC_TRIGGER_PARAM_UNION(); //触发参数 |
|
8679 |
public byte[] byRes = new byte[64]; |
|
8680 |
} |
|
8681 |
|
|
8682 |
//触发参数结构 |
|
8683 |
public static class NET_ITC_TRIGGERCFG extends HIKSDKStructure { |
|
8684 |
public int dwSize; //结构长度 |
|
8685 |
public NET_ITC_SINGLE_TRIGGERCFG struTriggerParam; //单个触发参数 |
|
8686 |
public byte[] byRes = new byte[32]; |
|
8687 |
} |
|
8688 |
|
|
8689 |
//单个IO接入信号灯参数 |
|
8690 |
public static class NET_ITC_SINGLE_IO_LIGHT_PARAM extends HIKSDKStructure { |
|
8691 |
public byte byLightType; //交通灯导向类型,0-左转灯,1-直行灯,2-右转灯 |
|
8692 |
public byte byRelatedIO; //关联的IO口号 |
|
8693 |
public byte byRedLightState; //红灯电平状态,0-高电平红灯,1-低电平红灯 |
|
8694 |
public byte[] byRes = new byte[17]; |
|
8695 |
} |
|
8696 |
|
|
8697 |
//IO接入信号灯参数 |
|
8698 |
public static class NET_ITC_IO_LIGHT_PARAM extends HIKSDKStructure { |
|
8699 |
public NET_ITC_SINGLE_IO_LIGHT_PARAM[] struIOLight = new NET_ITC_SINGLE_IO_LIGHT_PARAM[MAX_LIGHT_NUM]; //单个IO接入信号灯参数 |
|
8700 |
public byte[] byRes = new byte[8]; |
|
8701 |
} |
|
8702 |
|
|
8703 |
//单个485接入信号灯参数 |
|
8704 |
public static class NET_ITC_SINGLE_RS485_LIGHT_PARAM extends HIKSDKStructure { |
|
8705 |
public byte byLightType; //交通灯导向类型,0-左转灯,1-直行灯,2-右转灯 |
|
8706 |
public byte byRelatedLightChan; //关联的红绿灯检测器通道号 |
|
8707 |
public byte byInputLight; //接入的信号灯类型,0-接红灯,1-接绿灯 |
|
8708 |
public byte byRelatedYLightChan; //关联的黄灯检测器通道号 |
|
8709 |
public byte[] byRes = new byte[16]; |
|
8710 |
} |
|
8711 |
|
|
8712 |
//485接入信号灯参数 |
|
8713 |
public static class NET_ITC_RS485_LIGHT_PARAM extends HIKSDKStructure { |
|
8714 |
public NET_ITC_SINGLE_RS485_LIGHT_PARAM[] struRS485Light = new NET_ITC_SINGLE_RS485_LIGHT_PARAM[MAX_LIGHT_NUM]; //单个485接入信号灯参数 |
|
8715 |
public byte[] byRes = new byte[8]; |
|
8716 |
} |
|
8717 |
|
|
8718 |
public static class NET_POS_PARAM extends HIKSDKStructure { |
|
8719 |
public short wLeft; |
|
8720 |
public short wTop; |
|
8721 |
public short wRight; |
|
8722 |
public short wBottom; |
|
8723 |
} |
|
8724 |
|
|
8725 |
//单组视频检测交通信号灯参数结构 |
|
8726 |
public static class NET_ITC_SINGLE_VIDEO_DETECT_LIGHT_PARAM extends HIKSDKStructure { |
|
8727 |
public byte byLightNum; //交通灯个数 |
|
8728 |
public byte byStraightLight; //是否有直行标志灯,0-否 ,1-是 |
|
8729 |
public byte byLeftLight; //是否有左转标志灯,0-否,1-是 |
|
8730 |
public byte byRightLight; //是否有右转标志灯,0-否,1-是 |
|
8731 |
public byte byRedLight;//是否有红灯,0-否,1-是 |
|
8732 |
public byte byGreenLight; //是否有绿灯,0-否,1-是 |
|
8733 |
public byte byYellowLight; //是否有黄灯,0-否,1-是 |
|
8734 |
public byte byYellowLightTime;//取值范围(0~10s)(ITC3.7Ver) |
|
8735 |
public NET_POS_PARAM struLightRect; //交通灯区域 |
|
8736 |
public byte[] byRes = new byte[24]; |
|
8737 |
} |
|
8738 |
|
|
8739 |
//视频检测交通信号灯参数结构(最大可有12个区域检测,488字节) |
|
8740 |
public static class NET_ITC_VIDEO_DETECT_LIGHT_PARAM extends HIKSDKStructure { |
|
8741 |
public NET_ITC_SINGLE_VIDEO_DETECT_LIGHT_PARAM[] struTrafficLight = new NET_ITC_SINGLE_VIDEO_DETECT_LIGHT_PARAM[MAX_VIDEO_DETECT_LIGHT_NUM]; //单个视频检测信号灯参数 |
|
8742 |
public byte[] byRes = new byte[8]; |
|
8743 |
} |
|
8744 |
|
|
8745 |
//交通信号灯接入参数 |
|
8746 |
public static class NET_ITC_LIGHT_ACCESSPARAM_UNION extends Union { |
|
8747 |
public int[] uLen = new int[122]; |
|
8748 |
public NET_ITC_IO_LIGHT_PARAM struIOLight; //IO接入信号灯参数 |
|
8749 |
public NET_ITC_RS485_LIGHT_PARAM struRS485Light; //485接入信号灯参数 |
|
8750 |
public NET_ITC_VIDEO_DETECT_LIGHT_PARAM struVideoDelectLight; //视频检测信号灯参数 |
|
8751 |
} |
|
8752 |
|
|
8753 |
//交通信号灯参数结构 |
|
8754 |
public static class NET_ITC_TRAFFIC_LIGHT_PARAM extends HIKSDKStructure { |
|
8755 |
public byte bySource; //交通信号灯接入源,0-IO接入,1-RS485接入 |
|
8756 |
public byte[] byRes1 = new byte[3]; |
|
8757 |
public NET_ITC_LIGHT_ACCESSPARAM_UNION struLightAccess = new NET_ITC_LIGHT_ACCESSPARAM_UNION();//信号灯接入参数 |
|
8758 |
public byte[] byRes = new byte[32]; |
|
8759 |
} |
|
8760 |
|
|
8761 |
//违规检测参数结构 |
|
8762 |
public static class NET_ITC_VIOLATION_DETECT_PARAM extends HIKSDKStructure { |
|
8763 |
public int dwVioDetectType; //违规检测类型, 按位表示, 详见ITC_VIOLATION_DETECT_TYPE ,0-不启用,1-启用 |
|
8764 |
public byte byDriveLineSnapTimes; //压车道线抓拍张数,2-3 |
|
8765 |
public byte byReverseSnapTimes; //逆行抓拍,2-3 |
|
8766 |
public short wStayTime; //机占非停留时间(该时间后抓拍),单位s |
|
8767 |
public byte byNonDriveSnapTimes;//机占非抓拍张数2-3 |
|
8768 |
public byte byChangeLaneTimes;//违法变道抓拍张数 2-3 |
|
8769 |
public byte bybanTimes;//违法禁令抓拍张数2-3 |
|
8770 |
public byte byDriveLineSnapSen;// 压线灵敏度(0~100)(3.7Ver) |
|
8771 |
public short wSnapPosFixPixel; //第2,3张抓拍位置最小偏移(违反信号灯时起效)(单位:像素) 命名需改进 |
|
8772 |
public byte bySpeedTimes;//违法超速抓拍张数2-3(3.8Ver) |
|
8773 |
public byte byTurnAroundEnable;//违章掉头使能 0~关闭 1~开启 |
|
8774 |
public byte byThirdPlateRecogTime;//第三张牌识时间 0~180s |
|
8775 |
public byte byPostSnapTimes;//卡口抓拍张数,1-2张 |
|
8776 |
public byte[] byRes1 = new byte[18]; |
|
8777 |
public short wStopLineDis; //电警第2张违规图片与停止线的最短距离,[0,300]单位(像素) |
|
8778 |
public byte[] byRes = new byte[14]; |
|
8779 |
} |
|
8780 |
|
|
8781 |
//违规检测线参数结构 |
|
8782 |
public static class NET_ITC_VIOLATION_DETECT_LINE extends HIKSDKStructure { |
|
8783 |
public NET_ITC_LINE struLaneLine = new NET_ITC_LINE(); //车道线参数 |
|
8784 |
public NET_ITC_LINE struStopLine = new NET_ITC_LINE(); //停止线参数 |
|
8785 |
public NET_ITC_LINE struRedLightLine = new NET_ITC_LINE(); //闯红灯触发线参数 |
|
8786 |
public NET_ITC_LINE struCancelLine = new NET_ITC_LINE(); //直行触发位置取消线 |
|
8787 |
public NET_ITC_LINE struWaitLine = new NET_ITC_LINE(); //待行区停止线参数 |
|
8788 |
public NET_ITC_LINE[] struRes = new NET_ITC_LINE[8]; |
|
8789 |
} |
|
8790 |
|
|
8791 |
//单个车道视频电警触发参数结构 |
|
8792 |
public static class NET_ITC_LANE_VIDEO_EPOLICE_PARAM extends HIKSDKStructure { |
|
8793 |
public byte byLaneNO; //关联的车道号 |
|
8794 |
public byte bySensitivity; //线圈灵敏度,[1,100] |
|
8795 |
public byte byEnableRadar;//启用雷达测试0-不启用,1-启用 |
|
8796 |
//关联车道方向类型,参考ITC_RELA_LANE_DIRECTION_TYPE |
|
8797 |
//该参数为车道方向参数,与关联车道号对应,确保车道唯一性。 |
|
8798 |
public byte byRelaLaneDirectionType; |
|
8799 |
public NET_ITC_LANE_LOGIC_PARAM struLane; //车道参数 |
|
8800 |
public NET_ITC_VIOLATION_DETECT_PARAM struVioDetect; //违规检测参数 |
|
8801 |
public NET_ITC_VIOLATION_DETECT_LINE struLine; //违规检测线 |
|
8802 |
public NET_ITC_POLYGON struPlateRecog; //牌识区域参数 |
|
8803 |
public byte byRecordEnable;//闯红灯周期录像标志,0-不录像,1-录像 |
|
8804 |
public byte byRecordType;//闯红灯录像类型,0-预录,1-延时录像 |
|
8805 |
public byte byPreRecordTime;//闯红灯录像片段预录时间(默认0),单位:秒 |
|
8806 |
public byte byRecordDelayTime;//闯红灯录像片段延时时间(默认0),单位:秒 |
|
8807 |
public byte byRecordTimeOut;//闯红灯周期录像超时时间(秒) |
|
8808 |
public byte byCarSpeedLimit; //车速限制值,单位km/h |
|
8809 |
public byte byCarSignSpeed;//标志限速,单位km/h |
|
8810 |
public byte bySnapPicPreRecord; //抓拍图片预录时间点;0-默认值(第二张图片),1-第一张图片,2-第二张图片,3-第三张图片 |
|
8811 |
public NET_ITC_INTERVAL_PARAM struInterval;//抓拍间隔参数(20byte) |
|
8812 |
public byte[] byRes = new byte[36]; |
|
8813 |
} |
|
8814 |
|
|
8815 |
//视频电警触发参数结构 |
|
8816 |
public static class NET_ITC_VIDEO_EPOLICE_PARAM extends HIKSDKStructure { |
|
8817 |
public byte byEnable; //是否启用,0-不启用,1-启用 |
|
8818 |
public byte byLaneNum; //识别的车道个数 |
|
8819 |
public byte byLogicJudge;//闯红灯违规判断逻辑,设置值为:0-按方向,1-按车道 |
|
8820 |
public byte byRes1; |
|
8821 |
public NET_ITC_PLATE_RECOG_PARAM struPlateRecog; //牌识参数 |
|
8822 |
public NET_ITC_TRAFFIC_LIGHT_PARAM struTrafficLight; //交通信号灯参数 |
|
8823 |
public NET_ITC_LANE_VIDEO_EPOLICE_PARAM[] struLaneParam = new NET_ITC_LANE_VIDEO_EPOLICE_PARAM[MAX_ITC_LANE_NUM]; //单车道参数 |
|
8824 |
public NET_ITC_LINE struLaneBoundaryLine; //车道边界线(最右边车道的边界线) |
|
8825 |
public NET_ITC_LINE struLeftLine; //左转弯分界线 |
|
8826 |
public NET_ITC_LINE struRightLine; //右转弯分界线 |
|
8827 |
public NET_ITC_LINE struTopZebraLine; //上部斑马线 |
|
8828 |
public NET_ITC_LINE struBotZebraLine; //下部斑马线 |
|
8829 |
public byte[] byRes = new byte[32]; |
|
8830 |
} |
|
8831 |
|
|
8832 |
public static class NET_DVR_CURTRIGGERMODE extends HIKSDKStructure { |
|
8833 |
public int dwSize; |
|
8834 |
public int dwTriggerType; //触发类型,详见ITC_TRIGGERMODE_TYPE |
|
8835 |
public byte[] byRes = new byte[24]; |
|
8836 |
} |
|
8837 |
|
|
8838 |
public static class NET_ITC_VIDEO_TRIGGER_COND extends HIKSDKStructure { |
|
8839 |
public int dwSize; |
|
8840 |
public int dwChannel; |
|
8841 |
public int dwTriggerMode; //视频触发模式类型,详见ITC_TRIGGERMODE_TYPE |
|
8842 |
public byte[] byRes = new byte[16]; |
|
8843 |
} |
|
8844 |
|
|
8845 |
public static class NET_ITC_VIDEO_TRIGGER_PARAM_UNION extends Union { |
|
8846 |
public int[] uLen = new int[1150]; |
|
8847 |
public NET_ITC_VIDEO_EPOLICE_PARAM struVideoEP = new NET_ITC_VIDEO_EPOLICE_PARAM(); //视频电警参数 |
|
8848 |
} |
|
8849 |
|
|
8850 |
public static class NET_ITC_VIDEO_TRIGGER_PARAM extends HIKSDKStructure { |
|
8851 |
public int dwSize; |
|
8852 |
public int dwMode; //触发模式,详见ITC_TRIGGERMODE_TYPE |
|
8853 |
public NET_ITC_VIDEO_TRIGGER_PARAM_UNION uVideoTrigger = new NET_ITC_VIDEO_TRIGGER_PARAM_UNION(); //触发模式参数 |
|
8854 |
public byte[] byRes = new byte[32]; |
|
8855 |
} |
|
8856 |
|
|
8857 |
public static class NET_DVR_CMS_PARAM extends HIKSDKStructure { |
|
8858 |
public int dwSize; |
|
8859 |
public NET_DVR_IPADDR struAddr = new NET_DVR_IPADDR(); // 平台服务器IP |
|
8860 |
public short wServerPort; // 平台服务器侦听端口, |
|
8861 |
public byte bySeverProtocolType; //平台协议类型 1-私有,2-Ehome |
|
8862 |
public byte byStatus; //设备注册到该平台的状态,1-未注册,2-已注册 |
|
8863 |
public byte[] sDeviceId = new byte[NAME_LEN/*32*/]; //设备ID,由平台提供 |
|
8864 |
public byte[] sPassWord = new byte[PASSWD_LEN]; //密码 |
|
8865 |
/********* |
|
8866 |
* IPC5.1.7 新增参数 Begin 2014-03-21 |
|
8867 |
***********/ |
|
8868 |
public byte[] sPlatformEhomeVersion = new byte[NAME_LEN];//平台EHOME协议版本 |
|
8869 |
/********* |
|
8870 |
* IPC5.1.7 新增参数 end 2014-03-21 |
|
8871 |
***********/ |
|
8872 |
public byte byNetWork; //网络类型:0- 无意义,1-自动,2-有线网络优先,3-有线网络,4-3G网络(无线网络),5-有线网络1,6-有线网络2 |
|
8873 |
public byte byAddressType; //0 - 无意义, 1 - ipv4/ipv6地址,2 - 域名 |
|
8874 |
public byte byProtocolVersion; //协议版本 0 - 无意义, 1 – v2.0,2 – v4.0,3-v2.6 |
|
8875 |
public byte byRes1; |
|
8876 |
public byte[] sDomainName = new byte[MAX_DOMAIN_NAME/*64*/]; //平台服务器域名,byAddressType为2时有效 |
|
8877 |
public byte byEnable; //0-关闭,1-开启 |
|
8878 |
public byte[] byRes = new byte[139]; // 保留字节 |
|
8879 |
} |
|
8880 |
|
|
8881 |
//设置完全获取出厂值 |
|
8882 |
public static class NET_DVR_COMPLETE_RESTORE_INFO extends HIKSDKStructure { |
|
8883 |
public int dwSize; //结构体长度 |
|
8884 |
public int dwChannel; //通道号 |
|
8885 |
public byte[] byRes = new byte[64]; |
|
8886 |
} |
|
8887 |
|
|
8888 |
public static class NET_DVR_STD_ABILITY extends HIKSDKStructure { |
|
8889 |
public Pointer lpCondBuffer; //[in]条件参数(码字格式),例如通道号等.可以为NULL |
|
8890 |
public int dwCondSize; //[in] dwCondSize指向的内存大小 |
|
8891 |
public Pointer lpOutBuffer; //[out]输出参数(XML格式),不为NULL |
|
8892 |
public int dwOutSize; //[in] lpOutBuffer指向的内存大小 |
|
8893 |
public Pointer lpStatusBuffer; //[out]返回的状态参数(XML格式),获取成功时不会赋值,如果不需要,可以置NULL |
|
8894 |
public int dwStatusSize; //[in] lpStatusBuffer指向的内存大小 |
|
8895 |
public int dwRetSize; //[out]获取到的数据长度(lpOutBuffer或者lpStatusBuffer指向的实际数据长度) |
|
8896 |
public byte[] byRes = new byte[32]; //保留字节 |
|
8897 |
} |
|
8898 |
|
|
8899 |
public static class NET_DVR_STD_CONFIG extends HIKSDKStructure { |
|
8900 |
public Pointer lpCondBuffer; //[in]条件参数(结构体格式),例如通道号等.可以为NULL |
|
8901 |
public int dwCondSize; //[in] lpCondBuffer指向的内存大小 |
|
8902 |
public Pointer lpInBuffer; //[in]输入参数(结构体格式),设置时不为NULL,获取时为NULL |
|
8903 |
public int dwInSize; //[in] lpInBuffer指向的内存大小 |
|
8904 |
public Pointer lpOutBuffer; //[out]输出参数(结构体格式),获取时不为NULL,设置时为NULL |
|
8905 |
public int dwOutSize; //[in] lpOutBuffer指向的内存大小 |
|
8906 |
public Pointer lpStatusBuffer; //[out]返回的状态参数(XML格式),获取成功时不会赋值,如果不需要,可以置NULL |
|
8907 |
public int dwStatusSize; //[in] lpStatusBuffer指向的内存大小 |
|
8908 |
public Pointer lpXmlBuffer; //[in/out]byDataType = 1时有效,xml格式数据 |
|
8909 |
public int dwXmlSize; //[in/out]lpXmlBuffer指向的内存大小,获取时同时作为输入和输出参数,获取成功后会修改会实际长度,设置时表示实际长度,而不是整个内存大小 |
|
8910 |
public byte byDataType; //[in]输入/输出参数类型,0-使用结构体类型lpInBuffer/lpOutBuffer有效,1-使用XML类型lpXmlBuffer有效 |
|
8911 |
public byte[] byRes = new byte[23]; |
|
8912 |
} |
|
8913 |
|
|
8914 |
public static final int NET_SDK_MAX_FILE_PATH = 256;//路径长度 |
|
8915 |
|
|
8916 |
public static class NET_DVR_LOCAL_SDK_PATH extends HIKSDKStructure { |
|
8917 |
public byte[] sPath = new byte[NET_SDK_MAX_FILE_PATH];//组件库地址 |
|
8918 |
public byte[] byRes = new byte[128]; |
|
8919 |
} |
|
8920 |
|
|
8921 |
public static class BYTE_ARRAY extends HIKSDKStructure { |
|
8922 |
public byte[] byValue; |
|
8923 |
|
|
8924 |
public BYTE_ARRAY(int iLen) { |
|
8925 |
byValue = new byte[iLen]; |
|
8926 |
} |
|
8927 |
} |
|
8928 |
|
|
8929 |
public static class INT_ARRAY extends HIKSDKStructure { |
|
8930 |
public int[] intValue; |
|
8931 |
|
|
8932 |
public INT_ARRAY(int iLen) { |
|
8933 |
intValue = new int[iLen]; |
|
8934 |
} |
|
8935 |
} |
|
8936 |
|
|
8937 |
public static class INTRef_ARRAY extends HIKSDKStructure { |
|
8938 |
public IntByReference[] intValue; |
|
8939 |
|
|
8940 |
public INTRef_ARRAY(int iLen) { |
|
8941 |
intValue = new IntByReference[iLen]; |
|
8942 |
} |
|
8943 |
} |
|
8944 |
|
|
8945 |
|
|
8946 |
public static class NET_DVR_JSON_DATA_CFG extends HIKSDKStructure { |
|
8947 |
public int dwSize; //结构体大小 |
|
8948 |
public Pointer lpJsonData; //JSON报文 |
|
8949 |
public int dwJsonDataSize; //JSON报文大小 |
|
8950 |
public Pointer lpPicData; //图片内容 |
|
8951 |
public int dwPicDataSize; //图片内容大小 |
|
8952 |
public int lpInfraredFacePicBuffer; //红外人脸图片数据缓存 |
|
8953 |
public Pointer dwInfraredFacePicSize; //红外人脸图片数据大小,等于0时,代表无人脸图片数据(当JSON报文为当ResponseStatus(JSON)报文时,该字段无意义;当Inbound Data(JSON)报文中没有infraredFaceURL时,该字段需要带上二进制图片内容) |
|
8954 |
public byte[] byRes = new byte[248]; |
|
8955 |
} |
|
8956 |
|
|
8957 |
public static class CallBack_USER extends HIKSDKStructure { |
|
8958 |
public byte[] byDeviceID = new byte[16]; |
|
8959 |
public byte[] byCardNo = new byte[32]; |
|
8960 |
public byte[] byDevIP = new byte[16]; |
|
8961 |
} |
|
8962 |
|
|
8963 |
|
|
8964 |
public static class NET_DVR_CAMERAPARAMCFG_EX extends HIKSDKStructure { |
|
8965 |
public int dwSize; |
|
8966 |
public NET_DVR_VIDEOEFFECT struVideoEffect = new NET_DVR_VIDEOEFFECT();/*亮度、对比度、饱和度、锐度、色调配置*/ |
|
8967 |
public NET_DVR_GAIN struGain = new NET_DVR_GAIN();/*自动增益*/ |
|
8968 |
public NET_DVR_WHITEBALANCE struWhiteBalance = new NET_DVR_WHITEBALANCE();/*白平衡*/ |
|
8969 |
public NET_DVR_EXPOSURE struExposure = new NET_DVR_EXPOSURE(); /*曝光控制*/ |
|
8970 |
public NET_DVR_GAMMACORRECT struGammaCorrect = new NET_DVR_GAMMACORRECT();/*Gamma校正*/ |
|
8971 |
public NET_DVR_WDR struWdr = new NET_DVR_WDR();/*宽动态*/ |
|
8972 |
public NET_DVR_DAYNIGHT struDayNight = new NET_DVR_DAYNIGHT();/*日夜转换*/ |
|
8973 |
public NET_DVR_BACKLIGHT struBackLight = new NET_DVR_BACKLIGHT();/*背光补偿*/ |
|
8974 |
public NET_DVR_NOISEREMOVE struNoiseRemove = new NET_DVR_NOISEREMOVE();/*数字降噪*/ |
|
8975 |
public byte byPowerLineFrequencyMode; /*0-50HZ; 1-60HZ*/ |
|
8976 |
/* |
|
8977 |
0-自动光圈, |
|
8978 |
1-手动光圈, |
|
8979 |
2-P-Iris1, |
|
8980 |
3-Union 3-9mm F1.6-2.7 (T5280-PQ1) [IPC5.1.7] |
|
8981 |
4-Union 2.8-12mm F1.6-2.7 (T5289-PQ1) [IPC5.1.7] |
|
8982 |
5-HIK 3.8-16mm F1.5(HV3816P-8MPIR) |
|
8983 |
6-HIK 11-40mm F1.7 (HV1140P-8MPIR) |
|
8984 |
7-HIK 2.7-12mm F1.2(TV2712P-MPIR) |
|
8985 |
8- MZ5721D-12MPIR |
|
8986 |
9- MZ1555D-12MPIR |
|
8987 |
10- MZ5721D-12MPIR(RS485) |
|
8988 |
11- MZ1555D-12MPIR(RS485) |
|
8989 |
*/ |
|
8990 |
public byte byIrisMode; |
|
8991 |
public byte byMirror; /* 镜像:0 off,1- leftright,2- updown,3-center 4-Auto*/ |
|
8992 |
public byte byDigitalZoom; /*数字缩放:0 dsibale 1 enable*/ |
|
8993 |
public byte byDeadPixelDetect; /*坏点检测,0 dsibale 1 enable*/ |
|
8994 |
public byte byBlackPwl;/*黑电平补偿 , 0-255*/ |
|
8995 |
public byte byEptzGate;// EPTZ开关变量:0-不启用电子云台,1-启用电子云台 |
|
8996 |
public byte byLocalOutputGate;//本地输出开关变量0-本地输出关闭1-本地BNC输出打开 2-HDMI输出关闭 |
|
8997 |
//20-HDMI_720P50输出开 |
|
8998 |
//21-HDMI_720P60输出开 |
|
8999 |
//22-HDMI_1080I60输出开 |
|
9000 |
//23-HDMI_1080I50输出开 |
|
9001 |
//24-HDMI_1080P24输出开 |
|
9002 |
//25-HDMI_1080P25输出开 |
|
9003 |
//26-HDMI_1080P30输出开 |
|
9004 |
//27-HDMI_1080P50输出开 |
|
9005 |
//28-HDMI_1080P60输出开 |
|
9006 |
public byte byCoderOutputMode;//编码器fpga输出模式0直通3像素搬家 |
|
9007 |
public byte byLineCoding; //是否开启行编码:0-否,1-是 |
|
9008 |
public byte byDimmerMode; //调光模式:0-半自动,1-自动 |
|
9009 |
public byte byPaletteMode; //调色板:0-白热,1-黑热,2-调色板2,…,8-调色板8, 9-融合1,10-彩虹,11-融合2,12-铁红1,13-铁红2,14-深褐色,15-色彩1,16-色彩2,17-冰火,18-雨,19-红热,20-绿热,21-深蓝,22-色彩3 |
|
9010 |
public byte byEnhancedMode; //增强方式(探测物体周边):0-不增强,1-1,2-2,3-3,4-4 |
|
9011 |
public byte byDynamicContrastEN; //动态对比度增强 0-1 |
|
9012 |
public byte byDynamicContrast; //动态对比度 0-100 |
|
9013 |
public byte byJPEGQuality; //JPEG图像质量 0-100 |
|
9014 |
public NET_DVR_CMOSMODECFG struCmosModeCfg = new NET_DVR_CMOSMODECFG();//CMOS模式下前端参数配置,镜头模式从能力集获取 |
|
9015 |
public byte byFilterSwitch; //滤波开关:0-不启用,1-启用 |
|
9016 |
public byte byFocusSpeed; //镜头调焦速度:0-10 |
|
9017 |
public byte byAutoCompensationInterval; //定时自动快门补偿:1-120,单位:分钟 |
|
9018 |
public byte bySceneMode; //场景模式:0-室外,1-室内,2-默认,3-弱光 |
|
9019 |
public NET_DVR_DEFOGCFG struDefogCfg = new NET_DVR_DEFOGCFG();//透雾参数 |
|
9020 |
public NET_DVR_ELECTRONICSTABILIZATION struElectronicStabilization = new NET_DVR_ELECTRONICSTABILIZATION();//电子防抖 |
|
9021 |
public NET_DVR_CORRIDOR_MODE_CCD struCorridorMode = new NET_DVR_CORRIDOR_MODE_CCD();//走廊模式 |
|
9022 |
public byte byExposureSegmentEnable; //0~不启用,1~启用 曝光时间和增益呈阶梯状调整,比如曝光往上调整时,先提高曝光时间到中间值,然后提高增益到中间值,再提高曝光到最大值,最后提高增益到最大值 |
|
9023 |
public byte byBrightCompensate;//亮度增强 [0~100] |
|
9024 |
/* |
|
9025 |
0-关闭、1-640*480@25fps、2-640*480@30ps、3-704*576@25fps、4-704*480@30fps、5-1280*720@25fps、6-1280*720@30fps、 |
|
9026 |
7-1280*720@50fps、8-1280*720@60fps、9-1280*960@15fps、10-1280*960@25fps、11-1280*960@30fps、 |
|
9027 |
12-1280*1024@25fps、13--1280*1024@30fps、14-1600*900@15fps、15-1600*1200@15fps、16-1920*1080@15fps、 |
|
9028 |
17-1920*1080@25fps、18-1920*1080@30fps、19-1920*1080@50fps、20-1920*1080@60fps、21-2048*1536@15fps、22-2048*1536@20fps、 |
|
9029 |
23-2048*1536@24fps、24-2048*1536@25fps、25-2048*1536@30fps、26-2560*2048@25fps、27-2560*2048@30fps、 |
|
9030 |
28-2560*1920@7.5fps、29-3072*2048@25fps、30-3072*2048@30fps、31-2048*1536@12.5、32-2560*1920@6.25、 |
|
9031 |
33-1600*1200@25、34-1600*1200@30、35-1600*1200@12.5、36-1600*900@12.5、37-1280*960@12.5fps、38-800*600@25fps、39-800*600@30fps40、 |
|
9032 |
4000*3000@12.5fps、41-4000*3000@15fps、42-4096*2160@20fps、43-3840*2160@20fps 、44-960*576@25fps、45-960*480@30fps、46-752*582@25fps、 |
|
9033 |
47-768*494@30fps、48-2560*1440@25fps、49-2560*1440@30fps 、50-720P@100fps、51-720P@120fps、52-2048*1536@50fps、53-2048*1536@60fps、 |
|
9034 |
54-3840*2160@25fps、55-3840*2160@30fps、56-4096*2160@25fps、57-4096*2160@30fps 、58-1280*1024@50fps、59-1280*1024@60fps、 |
|
9035 |
60-3072*2048@50fps、61-3072*2048@60fps、62-3072*1728@25fps、63-3072*1728@30fps、64-3072*1728@50fps、65-3072*1728@60fps、66-336*256@50fps、67-336*256@60fps、 |
|
9036 |
68-384*288@50fps、69-384*288@60fps 、70- 640 * 512@50fps 、71- 640 * 512@60fps、72-2592*1944@25fps、73-2592*1944@30fps、74-2688*1536@25fps、75-2688*1536@30fps |
|
9037 |
76-2592*1944@20fps、77-2592*1944@15fps、78-2688*1520@20fps、79-2688*1520@15fps、80-2688*1520@25fps、81-2688*1520@30fps、82- 2720*2048@25fps、 83- 2720*2048@30fps、 |
|
9038 |
84-336*256@25fps、85- 384*288@25fps、86-640*512@25fps、87-1280*960@50fps、88-1280*960@60fps、89-1280*960@100fps、90-1280*960@120fps、91-4000*3000@20fps、 |
|
9039 |
92-1920*1200@25fps、93-1920*1200@30fps、94-2560*1920@25fps、95-2560*1920@20fps、96-2560*1920@30fps、97-1280*1920@25fps、98-1280*1920@30fps |
|
9040 |
99-4000*3000@24fps、100-4000*3000@25fps、101-4000*3000@10fps、102- 384*288@30fps、103-2560*1920@15fps、104-2400*3840@25fps、105-1200*1920@25fps |
|
9041 |
106-4096*1800@30fps、107-3840*1680@30fps、108-2560*1120@30fps、109-704*320@30fps、110-1280*560@30fps、111-4096*1800@25fps、112-3840*1680@25fps |
|
9042 |
113-2560*1120@25fps、114-704*320@25fps、115-1280*560@25fps、116-2400*3840@24fps、117-3840*2400@24fps、118-3840*2400@25fps、119-2560*1920@12.5fps |
|
9043 |
120-2560*2048@12fps、121-2560*2048@15fps、122-2560*1536@25fps、123-2560*1536@30fps、124-2256*2048@25fps、125-2256*2048@30fps、126-2592*2592@12.5fps、127-2592*2592@15fps、 |
|
9044 |
128 - 640*512@30fps、129-2048*1520@30fps、130-2048*1520@25fps、131-3840*2160@24fps、132-2592*1520@25fps、133-2592*1520@30fps、134-2592*1536@25fps、135-2592*1536@30fps |
|
9045 |
136-640*960@25fps、137-640*960@24fps、142-2992*2192@25fps、143-2992*2192@30fps、144-3008*2160@25fps、145-3008*2160@30fps、146-3072*1728@20fps、147-2560*1440@20fps、 |
|
9046 |
148-2160*3840@25fps、149-2160*3840@30fps、150-7008*1080@25fps、151-7008*1080@30fps、152-3072*2048@20fps、153-1536*864@25fps、154-2560*1920@24fps、155-2400*3840@30fps、 |
|
9047 |
156-3840*2400@30fps、157-3840*2160@15fps |
|
9048 |
158-384*288@8.3fps、159-640*512@8.3fps、160-160*120@8.3fps、161-1024*768@8.3fps、162-640*480@8.3fps、163-3840*2160@12.5fps、164-2304*1296@30fps、165-2304*1296@25fps、 |
|
9049 |
166-2560*1440@24fps、167-2688*1512@25fps、168-2688*1512@30fps、169-2688*1512@50fps、170-2688*1512@60fps、171-1536*864@30fps、172-2560*1440@50fps、173-2560*1440@60fps、 |
|
9050 |
174-2048*2048@25fps、175-2048*2048@30fps、176-4000*3060@20fps、177-3060*3060@25fps、178-3060*3060@30fps、179-3000*3000@25fps、180-3000*3000@30fps、181-8160*3616@30fps、 |
|
9051 |
182-8160*3616@25fps、183-3000*3000@20fps、184-3000*3000@15fps、185-3000*3000@12.5fps、186-5472*3648@25fps、187-5472*3648@30fps、188-7680*4320@25fps、189-7680*4320@30fps、 |
|
9052 |
190-8160*2400@25fps、191-8160*2400@30fps、192-5520*2400@25fps、193-5520*2400@30fps、194-2560*1440@15fps、195-1944*1212@24fps、196-1944*1212@25fps、197-3456*1920@30fps、 |
|
9053 |
198-4800*2688@25fps、199-4800*2688@30fps、200-6480*1080@25fps、201-6480*1080@30fps、202-8640*1440@25fps、203-8640*1440@30fps、204-3456*1920@25fps、205-2688*1520@50fps、 |
|
9054 |
206-2688*1520@60fps、207-4976*1452@25fps、208-4976*1452@30fps、 209-3200*1800@25fps、210-3200*1800@30fps、211-5472*3648@24fps、212-1920*1080@12.5fps、213-2944*1656@20fps、 |
|
9055 |
214-1920*1080@24fps、215-4800*1600@25fps、216-4800*1600@30fps、217-2560*1440@12.5fps、218-6560*3690@1fps、219-5120*1400@20fps*/ |
|
9056 |
public byte byCaptureModeN; //视频输入模式(N制) |
|
9057 |
public byte byCaptureModeP; //视频输入模式(P制) |
|
9058 |
public NET_DVR_SMARTIR_PARAM struSmartIRParam = new NET_DVR_SMARTIR_PARAM(); //红外放过爆配置信息 |
|
9059 |
public NET_DVR_PIRIS_PARAM struPIrisParam = new NET_DVR_PIRIS_PARAM();//PIris配置信息对应byIrisMode字段从2-PIris1开始生效 |
|
9060 |
//2014-02-25 新增参数 |
|
9061 |
public NET_DVR_LASER_PARAM_CFG struLaserParam = new NET_DVR_LASER_PARAM_CFG(); //激光参数 |
|
9062 |
public NET_DVR_FFC_PARAM struFFCParam = new NET_DVR_FFC_PARAM(); |
|
9063 |
public NET_DVR_DDE_PARAM struDDEParam = new NET_DVR_DDE_PARAM(); |
|
9064 |
public NET_DVR_AGC_PARAM struAGCParam = new NET_DVR_AGC_PARAM(); |
|
9065 |
public byte byLensDistortionCorrection;//镜头畸变校正 0-关闭,1-开启 |
|
9066 |
public byte byDistortionCorrectionLevel;//畸变校正等级:0-保留;1-等级一;2-等级二;3-等级三;255-自定义 |
|
9067 |
public byte byCalibrationAccurateLevel;// 畸变校正强度[0-100] |
|
9068 |
public byte byZoomedInDistantViewLevel;//远端放大等级[0-100] |
|
9069 |
public NET_DVR_SNAP_CAMERAPARAMCFG struSnapCCD = new NET_DVR_SNAP_CAMERAPARAMCFG(); //抓拍机CCD参数,只用于抓拍机 |
|
9070 |
public NET_DVR_OPTICAL_DEHAZE struOpticalDehaze = new NET_DVR_OPTICAL_DEHAZE();//光学透雾参数 |
|
9071 |
public NET_DVR_THERMOMETRY_AGC struThermAGC = new NET_DVR_THERMOMETRY_AGC();//测温AGC配置 |
|
9072 |
public byte byFusionMode;//双光谱视频融合模式,0~热成像模式,1~融合模式,2~画中画模式,3~可见光模式, 4~融合黑白模式, 5~融合彩色模式-草地,6~融合彩色模式-荒地,7~融合彩色模式-雪地,8~融合彩色模式-海洋,9~融合彩色模式-城市 |
|
9073 |
public byte byHorizontalFOV;//水平视场角[0-100] |
|
9074 |
public byte byVerticalFOV;//垂直视场角[0-100] |
|
9075 |
public byte byBrightnessSuddenChangeSuppression;//亮度突变抑制0-关闭,1-开启 |
|
9076 |
public byte byGPSEnabled;//GPS开关使能,0-关,1-开 |
|
9077 |
public byte[] byRes2 = new byte[155]; |
|
9078 |
} |
|
9079 |
|
|
9080 |
|
|
9081 |
public static class NET_DVR_VIDEOEFFECT extends HIKSDKStructure { |
|
9082 |
public byte byBrightnessLevel; /*0-100*/ |
|
9083 |
public byte byContrastLevel; /*0-100*/ |
|
9084 |
public byte bySharpnessLevel; /*0-100*/ |
|
9085 |
public byte bySaturationLevel; /*0-100*/ |
|
9086 |
public byte byHueLevel; /*0-100,(保留)*/ |
|
9087 |
public byte byEnableFunc; //使能,按位表示,bit0-SMART IR(防过曝),bit1-低照度,bit2-强光抑制使能,0-否,1-是 |
|
9088 |
public byte byLightInhibitLevel; //强光抑制等级,[1-3]表示等级 |
|
9089 |
public byte byGrayLevel; //灰度值域,0-[0-255],1-[16-235] |
|
9090 |
} |
|
9091 |
|
|
9092 |
|
|
9093 |
public static class NET_DVR_GAIN extends HIKSDKStructure { |
|
9094 |
public byte byGainLevel; /*增益:0-100*/ |
|
9095 |
public byte byGainUserSet; /*用户自定义增益;0-100,对于抓拍机,是CCD模式下的抓拍增益*/ |
|
9096 |
public byte[] byRes = new byte[2]; |
|
9097 |
public int dwMaxGainValue;/*最大增益值,单位dB*/ |
|
9098 |
} |
|
9099 |
|
|
9100 |
public static class NET_DVR_WHITEBALANCE extends HIKSDKStructure { |
|
9101 |
public byte byWhiteBalanceMode; /*0-手动白平衡(MWB),1-自动白平衡1(AWB1),2-自动白平衡2 (AWB2),3-自动控制改名为锁定白平衡(Locked WB), |
|
9102 |
4-室外(Indoor),5-室内(Outdoor)6-日光灯(Fluorescent Lamp),7-钠灯(Sodium Lamp), |
|
9103 |
8-自动跟踪(Auto-Track)9-一次白平衡(One Push),10-室外自动(Auto-Outdoor), |
|
9104 |
11-钠灯自动 (Auto-Sodiumlight),12-水银灯(Mercury Lamp),13-自动白平衡(Auto), |
|
9105 |
14-白炽灯 (IncandescentLamp),15-暖光灯(Warm Light Lamp),16-自然光(Natural Light) */ |
|
9106 |
public byte byWhiteBalanceModeRGain; /*手动白平衡时有效,手动白平衡 R增益*/ |
|
9107 |
public byte byWhiteBalanceModeBGain; /*手动白平衡时有效,手动白平衡 B增益*/ |
|
9108 |
public byte[] byRes = new byte[5]; |
|
9109 |
} |
|
9110 |
|
|
9111 |
public static class NET_DVR_EXPOSURE extends HIKSDKStructure { |
|
9112 |
public byte byExposureMode; /*0 手动曝光 1自动曝光*/ |
|
9113 |
public byte byAutoApertureLevel; /* 自动光圈灵敏度, 0-10 */ |
|
9114 |
public byte[] byRes = new byte[2]; |
|
9115 |
public int dwVideoExposureSet; /* 自定义视频曝光时间(单位us)*//*注:自动曝光时该值为曝光最慢值 新增20-1s(1000000us)*/ |
|
9116 |
public int dwExposureUserSet; /* 自定义曝光时间,在抓拍机上应用时,CCD模式时是抓拍快门速度*/ |
|
9117 |
public int dwRes; |
|
9118 |
} |
|
9119 |
|
|
9120 |
public static class NET_DVR_GAMMACORRECT extends HIKSDKStructure { |
|
9121 |
public byte byGammaCorrectionEnabled; /*0 dsibale 1 enable*/ |
|
9122 |
public byte byGammaCorrectionLevel; /*0-100*/ |
|
9123 |
public byte[] byRes = new byte[6]; |
|
9124 |
} |
|
9125 |
|
|
9126 |
|
|
9127 |
public static class NET_DVR_WDR extends HIKSDKStructure { |
|
9128 |
public byte byWDREnabled; /*宽动态:0 dsibale 1 enable 2 auto*/ |
|
9129 |
public byte byWDRLevel1; /*0-F*/ |
|
9130 |
public byte byWDRLevel2; /*0-F*/ |
|
9131 |
public byte byWDRContrastLevel; /*0-100*/ |
|
9132 |
public byte[] byRes = new byte[16]; |
|
9133 |
} |
|
9134 |
|
|
9135 |
public static class NET_DVR_DAYNIGHT extends HIKSDKStructure { |
|
9136 |
public byte byDayNightFilterType; /*日夜切换:0-白天,1-夜晚,2-自动,3-定时,4-报警输入触发, 5-自动模式2(无光敏),6-黑光,7-黑光自动,8-黑光定时*/ |
|
9137 |
public byte bySwitchScheduleEnabled; /*0 dsibale 1 enable,(保留)*/ |
|
9138 |
//定时模式参数 |
|
9139 |
public byte byBeginTime; /*开始时间(小时),0-23*/ |
|
9140 |
public byte byEndTime; /*结束时间(小时),0-23*/ |
|
9141 |
//模式2 |
|
9142 |
public byte byDayToNightFilterLevel; //0-7 |
|
9143 |
public byte byNightToDayFilterLevel; //0-7 |
|
9144 |
public byte byDayNightFilterTime;//(60秒) |
|
9145 |
//定时模式参数 |
|
9146 |
public byte byBeginTimeMin; //开始时间(分),0-59 |
|
9147 |
public byte byBeginTimeSec; //开始时间(秒),0-59 |
|
9148 |
public byte byEndTimeMin; //结束时间(分),0-59 |
|
9149 |
public byte byEndTimeSec; //结束时间(秒),0-59 |
|
9150 |
//报警输入触发模式参数 |
|
9151 |
public byte byAlarmTrigState; //报警输入触发状态,0-白天,1-夜晚 |
|
9152 |
} |
|
9153 |
|
|
9154 |
public static class NET_DVR_BACKLIGHT extends HIKSDKStructure { |
|
9155 |
public byte byBacklightMode; /*背光补偿:0 off 1 UP、2 DOWN、3 LEFT、4 RIGHT、5MIDDLE、6自定义,10-开,11-自动,12-多区域背光补偿*/ |
|
9156 |
public byte byBacklightLevel; /*0x0-0xF*/ |
|
9157 |
public byte[] byRes1 = new byte[2]; |
|
9158 |
public int dwPositionX1; //(X坐标1) |
|
9159 |
public int dwPositionY1; //(Y坐标1) |
|
9160 |
public int dwPositionX2; //(X坐标2) |
|
9161 |
public int dwPositionY2; //(Y坐标2) |
|
9162 |
public byte[] byRes2 = new byte[4]; |
|
9163 |
} |
|
9164 |
|
|
9165 |
|
|
9166 |
public static class NET_DVR_NOISEREMOVE extends HIKSDKStructure { |
|
9167 |
public byte byDigitalNoiseRemoveEnable; /*0-不启用,1-普通模式数字降噪,2-专家模式数字降噪*/ |
|
9168 |
public byte byDigitalNoiseRemoveLevel; /*普通模式数字降噪级别:0x0-0xF*/ |
|
9169 |
public byte bySpectralLevel; /*专家模式下空域强度:0-100*/ |
|
9170 |
public byte byTemporalLevel; /*专家模式下时域强度:0-100*/ |
|
9171 |
public byte byDigitalNoiseRemove2DEnable; /* 抓拍帧2D降噪,0-不启用,1-启用 */ |
|
9172 |
public byte byDigitalNoiseRemove2DLevel; /* 抓拍帧2D降噪级别,0-100 */ |
|
9173 |
public byte[] byRes = new byte[2]; |
|
9174 |
} |
|
9175 |
|
|
9176 |
|
|
9177 |
public static class NET_DVR_CMOSMODECFG extends HIKSDKStructure { |
|
9178 |
public byte byCaptureMod; //抓拍模式:0-抓拍模式1;1-抓拍模式2 |
|
9179 |
public byte byBrightnessGate;//亮度阈值 |
|
9180 |
public byte byCaptureGain1; //抓拍增益1,0-100 |
|
9181 |
public byte byCaptureGain2; //抓拍增益2,0-100 |
|
9182 |
public int dwCaptureShutterSpeed1;//抓拍快门速度1 |
|
9183 |
public int dwCaptureShutterSpeed2;//抓拍快门速度2 |
|
9184 |
public byte[] byRes = new byte[4]; |
|
9185 |
} |
|
9186 |
|
|
9187 |
public static class NET_DVR_DEFOGCFG extends HIKSDKStructure { |
|
9188 |
public byte byMode; //模式,0-不启用,1-自动模式,2-常开模式 |
|
9189 |
public byte byLevel; //等级,0-100 |
|
9190 |
public byte[] byRes = new byte[6]; |
|
9191 |
} |
|
9192 |
|
|
9193 |
public static class NET_DVR_CMOSMODCFG extends HIKSDKStructure { |
|
9194 |
public byte byCaptureMod; //抓拍模式:0-抓拍模式1;1-抓拍模式2 |
|
9195 |
public byte byBrightnessGate;//亮度阈值 |
|
9196 |
public byte byCaptureGain1; //抓拍增益1,0-100 |
|
9197 |
public byte byCaptureGain2; //抓拍增益2,0-100 |
|
9198 |
public int dwCaptureShutterSpeed1;//抓拍快门速度1 |
|
9199 |
public int dwCaptureShutterSpeed2;//抓拍快门速度2 |
|
9200 |
public byte[] byRes = new byte[4]; |
|
9201 |
} |
|
9202 |
|
|
9203 |
public static class NET_DVR_ELECTRONICSTABILIZATION extends HIKSDKStructure { |
|
9204 |
public byte byEnable;//使能 0- 不启用,1- 启用 |
|
9205 |
public byte byLevel; //等级,0-100 |
|
9206 |
public byte[] byRes = new byte[6]; |
|
9207 |
} |
|
9208 |
|
|
9209 |
public static class NET_DVR_CORRIDOR_MODE_CCD extends HIKSDKStructure { |
|
9210 |
public byte byEnableCorridorMode; //是否启用走廊模式 0~不启用, 1~启用 |
|
9211 |
public byte[] byRes = new byte[11]; |
|
9212 |
} |
|
9213 |
|
|
9214 |
public static class NET_DVR_SMARTIR_PARAM extends HIKSDKStructure { |
|
9215 |
public byte byMode;//0~手动,1~自动 |
|
9216 |
public byte byIRDistance;//红外距离等级(等级,距离正比例)level:1~100 默认:50(手动模式下增加) |
|
9217 |
public byte byShortIRDistance;// 近光灯距离等级(1~100) |
|
9218 |
public byte byLongIRDistance;// 远光灯距离等级(1~100) |
|
9219 |
} |
|
9220 |
|
|
9221 |
public static class NET_DVR_PIRIS_PARAM extends HIKSDKStructure { |
|
9222 |
public byte byMode;//0-自动,1-手动 |
|
9223 |
public byte byPIrisAperture;//红外光圈大小等级(等级,光圈大小正比例)level:1~100 默认:50(手动模式下增加) |
|
9224 |
public byte[] byRes = new byte[6]; |
|
9225 |
} |
|
9226 |
|
|
9227 |
public static class NET_DVR_LASER_PARAM_CFG extends HIKSDKStructure { |
|
9228 |
public byte byControlMode; //控制模式 0-无效,1-自动,2-手动 默认自动 |
|
9229 |
public byte bySensitivity; //激光灯灵敏度 0-100 默认50 |
|
9230 |
public byte byTriggerMode; //激光灯触发模式 0-无效,1-机芯触发,2-光敏触发 默认机芯触发 |
|
9231 |
public byte byBrightness; //控制模式为手动模式下有效;激光灯亮度 0-255 默认100 |
|
9232 |
public byte byAngle; //激光灯角度 0-无效,范围1-36 默认12,激光灯照射范围为一个圆圈,调节激光角度是调节这个圆的半径的大小 |
|
9233 |
public byte byLimitBrightness; //控制模式为自动模式下有效;激光灯亮度限制 0~100 (新增)2014-01-26 |
|
9234 |
public byte byEnabled; //手动控制激光灯使能 0-关闭,1-启动 |
|
9235 |
public byte byIllumination; //激光灯强度配置0~100 |
|
9236 |
public byte byLightAngle; //补光角度 0~100 |
|
9237 |
public byte[] byRes = new byte[7]; //保留 |
|
9238 |
} |
|
9239 |
|
|
9240 |
public static class NET_DVR_FFC_PARAM extends HIKSDKStructure { |
|
9241 |
//1-Schedule Mode,2-Temperature Mode, 3-Off |
|
9242 |
public byte byMode; |
|
9243 |
//(时间:按能力显示,单位分钟,选项有10,20,30,40,50,60,120,180,240) |
|
9244 |
public byte byRes1; |
|
9245 |
public short wCompensateTime; //定时模式下生效 |
|
9246 |
public byte[] byRes2 = new byte[4]; |
|
9247 |
} |
|
9248 |
|
|
9249 |
public static class NET_DVR_DDE_PARAM extends HIKSDKStructure { |
|
9250 |
public byte byMode;//1-Off,2-Normal Mode,3-Expert Mode |
|
9251 |
public byte byNormalLevel;//普通模式等级范围[1,100],普通模式下生效 |
|
9252 |
public byte byExpertLevel;//专家模式等级范围[1,100],专家模式下生效 |
|
9253 |
public byte[] byRes = new byte[5]; |
|
9254 |
} |
|
9255 |
|
|
9256 |
public static class NET_DVR_AGC_PARAM extends HIKSDKStructure { |
|
9257 |
public byte bySceneType;//1-Normal Sence,2-Highlight Sence,3-Manual Sence |
|
9258 |
public byte byLightLevel;//亮度等级[1,100];手动模式下生效 |
|
9259 |
public byte byGainLevel; //增益等级[1,100];手动模式下生效 |
|
9260 |
public byte[] byRes = new byte[5]; |
|
9261 |
} |
|
9262 |
|
|
9263 |
public static class NET_DVR_SNAP_CAMERAPARAMCFG extends HIKSDKStructure { |
|
9264 |
public byte byWDRMode; // 宽动态模式;0~关闭,1~数字宽动态 2~宽动态 |
|
9265 |
public byte byWDRType; // 宽动态切换模式; 0~强制启用,1~按时间启用,2~按亮度启用 |
|
9266 |
public byte byWDRLevel; // 宽动态等级,0~6索引对应1-7,默认索引2(即3级); |
|
9267 |
public byte byRes1; |
|
9268 |
public NET_DVR_TIME_EX struStartTime = new NET_DVR_TIME_EX(); //开始宽动态时间 |
|
9269 |
public NET_DVR_TIME_EX struEndTime = new NET_DVR_TIME_EX(); //结束宽动态时间 |
|
9270 |
public byte byDayNightBrightness; //日夜转换亮度阈值,0-100,默认50; |
|
9271 |
//记忆色增强 |
|
9272 |
public byte byMCEEnabled;//记忆色增强使能,true:开启,false:关闭 |
|
9273 |
public byte byMCELevel;//记忆色增强强度,0~100,默认值50 |
|
9274 |
//自动对比度 |
|
9275 |
public byte byAutoContrastEnabled;//自动对比度使能,true:开启,false:关闭 |
|
9276 |
public byte byAutoContrastLevel;//自动对比等级(0-100),默认50 |
|
9277 |
//细节增强 |
|
9278 |
public byte byLSEDetailEnabled;//细节增强使能,true:开启,false:关闭 |
|
9279 |
public byte byLSEDetailLevel;//细节增强等级(0-100),默认50 |
|
9280 |
// License Plate Definition Enhancement车牌增强 |
|
9281 |
public byte byLPDEEnabled;//车牌增强使能,true:开启,false:关闭 |
|
9282 |
public byte byLPDELevel;//车牌增强等级(0-100),默认50 |
|
9283 |
//对比度增强 |
|
9284 |
public byte byLseEnabled; //对比度增强使能,true:开启,false:关闭 |
|
9285 |
public byte byLseLevel; //对比度增强等级(0-100),默认0 |
|
9286 |
public byte byLSEHaloLevel;//光晕抑制等级。范围 0-100,默认0 |
|
9287 |
public byte byLseType; //对比度增强切换模式; 0~强制启用,1~按时间启用,2~按亮度启用(该字段可同时控制byLseLevel、byLSEHaloLevel两个参数) |
|
9288 |
public byte[] byRes2 = new byte[3]; |
|
9289 |
public NET_DVR_TIME_EX struLSEStartTime = new NET_DVR_TIME_EX(); //开始对比度增强时间(当byLseType为1时生效) |
|
9290 |
public NET_DVR_TIME_EX struLSEEndTime = new NET_DVR_TIME_EX(); //结束对比度增强时间(当byLseType为1时生效) |
|
9291 |
public byte byLightLevel;//为亮度等级参数(0-100),默认0,(当byLseType为2时生效) |
|
9292 |
//车牌对比度 |
|
9293 |
public byte byPlateContrastLevel;//车牌对比度等级,0~100,默认0 |
|
9294 |
//车牌饱和度 |
|
9295 |
public byte byPlateSaturationLevel;//车牌饱和度等级,0~100,默认0 |
|
9296 |
public byte[] byRes = new byte[9]; |
|
9297 |
} |
|
9298 |
|
|
9299 |
public static class NET_DVR_OPTICAL_DEHAZE extends HIKSDKStructure { |
|
9300 |
public byte byEnable; //0~不启用光学透雾,1~启用光学透雾 |
|
9301 |
public byte[] byRes = new byte[7]; |
|
9302 |
} |
|
9303 |
|
|
9304 |
public static class NET_DVR_THERMOMETRY_AGC extends HIKSDKStructure { |
|
9305 |
public byte byMode;//AGC模式,0~无效,1~自动,2~手动 |
|
9306 |
public byte byRes1[] = new byte[3]; |
|
9307 |
public int iHighTemperature;//最高温度,范围为:-273~9999摄氏度(1~手动模式下生效) |
|
9308 |
public int iLowTemperature;//最低温度,范围为:-273~9999摄氏度(1~手动模式下生效) |
|
9309 |
public byte[] byRes = new byte[8]; |
|
9310 |
} |
|
9311 |
|
|
9312 |
public static class NET_DVR_CHECK_DEV_STATE extends HIKSDKStructure { |
|
9313 |
public int dwTimeout; //定时检测设备工作状态,单位ms,为0时,表示使用默认值(30000)。最小值为1000 |
|
9314 |
public DEV_WORK_STATE_CB fnStateCB; |
|
9315 |
Pointer pUserData; |
|
9316 |
public byte[] byRes = new byte[60]; |
|
9317 |
} |
|
9318 |
|
|
9319 |
public static class NET_DVR_FLOW_INFO extends HIKSDKStructure { |
|
9320 |
public int dwSize; //结构大小 |
|
9321 |
public int dwSendFlowSize; //发送流量大小,单位kbps |
|
9322 |
public int dwRecvFlowSize; //接收流量大小,单位kbps |
|
9323 |
public byte[] byRes = new byte[20]; //保留 |
|
9324 |
} |
|
9325 |
|
|
9326 |
public static class NET_DVR_AES_KEY_INFO extends HIKSDKStructure { |
|
9327 |
public byte[] sAESKey = new byte[16]; /*码流加密密钥*/ |
|
9328 |
public byte[] byRes = new byte[64]; /*保留字节*/ |
|
9329 |
} |
|
9330 |
|
|
9331 |
public static class NET_DVR_ALARM_RS485CFG extends HIKSDKStructure { |
|
9332 |
public int dwSize; // 结构体大小 |
|
9333 |
public byte[] sDeviceName = new byte[NAME_LEN]; // 前端设备名称 |
|
9334 |
public short wDeviceType; // 前端设备类型,通过NET_DVR_GetDeviceTypeList获取 |
|
9335 |
public short wDeviceProtocol; // 前端设备协议 通过获取协议列表获取 |
|
9336 |
public int dwBaudRate; //波特率(bps),0-50,1-75,2-110,3-150,4-300,5-600,6-1200,7-2400,8-4800,9-9600,10-19200,11-38400,12-57600,13-76800,14-115.2k |
|
9337 |
public byte byDataBit; // 数据有几位:0-5位,1-6位,2-7位,3-8位 |
|
9338 |
public byte byStopBit; // 停止位:0-1位,1-2位 |
|
9339 |
public byte byParity; //是否校验:0-无校验,1-奇校验,2-偶校验 |
|
9340 |
public byte byFlowcontrol; // 是否流控:0-无,1-软流控,2-硬流控 |
|
9341 |
public byte byDuplex; // 0 - 半双工1- 全双工 只有通道1可以是全双工其他都只能是半双工 |
|
9342 |
public byte byWorkMode; // 工作模式 0-控制台 1-透明通道,2-梯控,3-读卡器,4-门禁安全模块,0xfe-自定义,0xff-禁用 |
|
9343 |
public byte byChannel; //485通道号 |
|
9344 |
public byte bySerialType; //串口类型: 0--485, 1--232 |
|
9345 |
public byte byMode; //模式 0-连接读卡器 1-连接客户端 2-连接扩展模块 3-连接门禁主机 4-连接梯控主机 0xff-禁用 |
|
9346 |
public byte byOutputDataType; //0-无效,1-输出卡号,2-输出工号 |
|
9347 |
public byte byAddress; //串口地址 |
|
9348 |
public byte[] byRes = new byte[33]; // 保留字节 |
|
9349 |
} |
|
9350 |
|
|
9351 |
public static class NET_DVR_ALARMHOST_RS485_SLOT_CFG extends HIKSDKStructure { |
|
9352 |
public int dwSize; // 结构体大小 |
|
9353 |
public byte[] sDeviceName = new byte[NAME_LEN]; // 前端设备名称 |
|
9354 |
public short wDeviceType; // 前端设备类型ALARM_FRONT_DEVICE _TYPE |
|
9355 |
public byte wDeviceProtocol; // 前端设备协议 通过获取协议列表获取 |
|
9356 |
public short wAddress; //设备地址 |
|
9357 |
public byte byChannel; //485通道号 |
|
9358 |
public byte bySlotChan; //槽位号 |
|
9359 |
public byte[] byRes = new byte[60]; // 保留字节 |
|
9360 |
} |
|
9361 |
|
|
9362 |
|
|
9363 |
public static class NET_DVR_VIDEOWALLDISPLAYPOSITION extends HIKSDKStructure { |
|
9364 |
public int dwSize; |
|
9365 |
public byte byEnable; |
|
9366 |
public byte byCoordinateType;//坐标类型。0-基准坐标,1-实际坐标 |
|
9367 |
public byte[] byRes1 = new byte[2]; |
|
9368 |
//墙号,1字节墙号(高字节,对于合码器设备,为合码通道号)+3字节保留 |
|
9369 |
public int dwVideoWallNo; |
|
9370 |
public int dwDisplayNo;//显示输出号 |
|
9371 |
//坐标须为基准坐标的整数倍(1920*1920),宽度和高度值不用设置,即为基准值 |
|
9372 |
public NET_DVR_RECTCFG_EX struRectCfg; |
|
9373 |
public byte[] byRes2 = new byte[64]; |
|
9374 |
} |
|
9375 |
|
|
9376 |
public static final int MAX_DISPLAY_NUM = 512; //最大显示输出个数 |
|
9377 |
|
|
9378 |
public static class NET_DVR_DISPLAYCFG extends HIKSDKStructure { |
|
9379 |
public int dwSize; |
|
9380 |
public NET_DVR_DISPLAYPARAM[] struDisplayParam = new NET_DVR_DISPLAYPARAM[MAX_DISPLAY_NUM]; |
|
9381 |
public byte[] byRes2 = new byte[128]; |
|
9382 |
} |
|
9383 |
|
|
9384 |
public static class NET_DVR_DISPLAYPARAM extends HIKSDKStructure { |
|
9385 |
public int dwDisplayNo; |
|
9386 |
public byte byDispChanType; |
|
9387 |
public byte[] byRes = new byte[11]; |
|
9388 |
} |
|
9389 |
|
|
9390 |
public static class NET_DVR_WALLOUTPUTPARAM extends HIKSDKStructure { |
|
9391 |
public int dwSize; |
|
9392 |
public int dwResolution; //分辨率 |
|
9393 |
public NET_DVR_VIDEOEFFECT struRes; |
|
9394 |
public byte byVideoFormat; //视频制式,见VIDEO_STANDARD |
|
9395 |
public byte byDisplayMode;/*输出连接模式,1-BNC,2-VGA,3-HDMI,4-DVI,5-SDI, 6-FIBER, 7-RGB, 8-YPrPb, 9-VGA/HDMI/DVI自适应,0xff-无效*/ |
|
9396 |
public byte byBackgroundColor; //背景色,0-无效,不支持背景色,1-红,2-绿,3-蓝,4-黄,5-紫,6-青,7-黑,8-白,0xff-自定义 |
|
9397 |
public byte byUseEDIDResolution; //是否使用EDID分辨率,0-不使用,1-使用 |
|
9398 |
public short wLEDWidth; //LED屏输出分辨率宽 |
|
9399 |
public short wLEDHeight; //LED屏输出分辨率高 |
|
9400 |
public NET_DVR_RGB_COLOR struBackColor;//背景色,byBackgroundColor为0xff时有效 |
|
9401 |
public byte byLinkStatus;//输出口连接状态,0-无效,1-接入显示器,2-未接入显示器 |
|
9402 |
public byte[] byRes2 = new byte[51]; |
|
9403 |
} |
|
9404 |
|
|
9405 |
public static class WALLOUTPUTPARAM_ARRAY extends HIKSDKStructure { |
|
9406 |
public NET_DVR_WALLOUTPUTPARAM[] strWalloutputParm; |
|
9407 |
|
|
9408 |
public WALLOUTPUTPARAM_ARRAY(int iLen) { |
|
9409 |
strWalloutputParm = new NET_DVR_WALLOUTPUTPARAM[iLen]; |
|
9410 |
} |
|
9411 |
|
|
9412 |
} |
|
9413 |
|
|
9414 |
|
|
9415 |
/*** |
|
9416 |
* API函数声明,详细说明见API手册 |
|
9417 |
***/ |
|
9418 |
public static interface FRealDataCallBack_V30 extends Callback { |
|
9419 |
public void invoke(int lRealHandle, int dwDataType, |
|
9420 |
ByteByReference pBuffer, int dwBufSize, Pointer pUser); |
|
9421 |
} |
|
9422 |
|
|
9423 |
public static interface FMSGCallBack extends Callback { |
|
9424 |
public void invoke(int lCommand, NET_DVR_ALARMER pAlarmer, Pointer pAlarmInfo, int dwBufLen, Pointer pUser); |
|
9425 |
} |
|
9426 |
|
|
9427 |
public static interface FMSGCallBack_V31 extends Callback { |
|
9428 |
public boolean invoke(int lCommand, NET_DVR_ALARMER pAlarmer, Pointer pAlarmInfo, int dwBufLen, Pointer pUser); |
|
9429 |
} |
|
9430 |
|
|
9431 |
public static interface FMessCallBack extends Callback { |
|
9432 |
public boolean invoke(int lCommand, String sDVRIP, String pBuf, int dwBufLen); |
|
9433 |
} |
|
9434 |
|
|
9435 |
public static interface FMessCallBack_EX extends Callback { |
|
9436 |
public boolean invoke(int lCommand, int lUserID, String pBuf, int dwBufLen); |
|
9437 |
} |
|
9438 |
|
|
9439 |
public static interface FMessCallBack_NEW extends Callback { |
|
9440 |
public boolean invoke(int lCommand, String sDVRIP, String pBuf, int dwBufLen, short dwLinkDVRPort); |
|
9441 |
} |
|
9442 |
|
|
9443 |
public static interface FMessageCallBack extends Callback { |
|
9444 |
public boolean invoke(int lCommand, String sDVRIP, String pBuf, int dwBufLen, int dwUser); |
|
9445 |
} |
|
9446 |
|
|
9447 |
public static interface FExceptionCallBack extends Callback { |
|
9448 |
public void invoke(int dwType, int lUserID, int lHandle, Pointer pUser); |
|
9449 |
} |
|
9450 |
|
|
9451 |
public static interface FDrawFun extends Callback { |
|
9452 |
public void invoke(int lRealHandle, W32API.HDC hDc, int dwUser); |
|
9453 |
} |
|
9454 |
|
|
9455 |
public static interface FStdDataCallBack extends Callback { |
|
9456 |
public void invoke(int lRealHandle, int dwDataType, ByteByReference pBuffer, int dwBufSize, int dwUser); |
|
9457 |
} |
|
9458 |
|
|
9459 |
public static interface FPlayDataCallBack extends Callback { |
|
9460 |
public void invoke(int lPlayHandle, int dwDataType, ByteByReference pBuffer, int dwBufSize, int dwUser); |
|
9461 |
} |
|
9462 |
|
|
9463 |
public static interface FPlayESCallBack extends Callback { |
|
9464 |
public void invoke(int lPlayHandle, NET_DVR_PACKET_INFO_EX struPackInfo, Pointer pUser); |
|
9465 |
} |
|
9466 |
|
|
9467 |
public static interface FVoiceDataCallBack extends Callback { |
|
9468 |
public void invoke(int lVoiceComHandle, Pointer pRecvDataBuffer, int dwBufSize, byte byAudioFlag, int dwUser); |
|
9469 |
} |
|
9470 |
|
|
9471 |
public static interface FVoiceDataCallBack_V30 extends Callback { |
|
9472 |
public void invoke(int lVoiceComHandle, Pointer pRecvDataBuffer, int dwBufSize, byte byAudioFlag, Pointer pUser); |
|
9473 |
} |
|
9474 |
|
|
9475 |
public static interface FVoiceDataCallBack_MR extends Callback { |
|
9476 |
public void invoke(int lVoiceComHandle, Pointer pRecvDataBuffer, int dwBufSize, byte byAudioFlag, int dwUser); |
|
9477 |
} |
|
9478 |
|
|
9479 |
public static interface FVoiceDataCallBack_MR_V30 extends Callback { |
|
9480 |
public void invoke(int lVoiceComHandle, Pointer pRecvDataBuffer, int dwBufSize, byte byAudioFlag, Pointer pUser); |
|
9481 |
} |
|
9482 |
|
|
9483 |
public static interface FVoiceDataCallBack2 extends Callback { |
|
9484 |
public void invoke(String pRecvDataBuffer, int dwBufSize, Pointer pUser); |
|
9485 |
} |
|
9486 |
|
|
9487 |
public static interface FSerialDataCallBack extends Callback { |
|
9488 |
public void invoke(int lSerialHandle, String pRecvDataBuffer, int dwBufSize, int dwUser); |
|
9489 |
} |
|
9490 |
|
|
9491 |
public static interface FRowDataCallBack extends Callback { |
|
9492 |
public void invoke(int lUserID, String sIPAddr, int lRowAmout, String pRecvDataBuffer, int dwBufSize, int dwUser); |
|
9493 |
} |
|
9494 |
|
|
9495 |
public static interface FColLocalDataCallBack extends Callback { |
|
9496 |
public void invoke(int lUserID, String sIPAddr, int lColumnAmout, String pRecvDataBuffer, int dwBufSize, int dwUser); |
|
9497 |
} |
|
9498 |
|
|
9499 |
public static interface FColGlobalDataCallBack extends Callback { |
|
9500 |
public void invoke(int lUserID, String sIPAddr, int lColumnAmout, String pRecvDataBuffer, int dwBufSize, int dwUser); |
|
9501 |
} |
|
9502 |
|
|
9503 |
public static interface FJpegdataCallBack extends Callback { |
|
9504 |
public int invoke(int lCommand, int lUserID, String sDVRIP, String sJpegName, String pJpegBuf, int dwBufLen, int dwUser); |
|
9505 |
} |
|
9506 |
|
|
9507 |
public static interface FPostMessageCallBack extends Callback { |
|
9508 |
public int invoke(int dwType, int lIndex); |
|
9509 |
} |
|
9510 |
|
|
9511 |
public static interface DEV_WORK_STATE_CB extends Callback { |
|
9512 |
public boolean invoke(Pointer pUserdata, int iUserID, NET_DVR_WORKSTATE_V40 lpWorkState); |
|
9513 |
} |
|
9514 |
|
|
9515 |
public static interface FLOWTESTCALLBACK extends Callback { |
|
9516 |
public void invoke(int lFlowHandle, NET_DVR_FLOW_INFO pFlowInfo, |
|
9517 |
Pointer pUser); |
|
9518 |
} |
|
9519 |
|
|
9520 |
|
|
9521 |
boolean NET_DVR_Init(); |
|
9522 |
|
|
9523 |
boolean NET_DVR_Cleanup(); |
|
9524 |
|
|
9525 |
static boolean NET_DVR_SetSDKInitCfg(int enumType, Pointer lpInBuff) { |
|
9526 |
return true; |
|
9527 |
} |
|
9528 |
|
|
9529 |
boolean NET_DVR_SetSDKLocalCfg(int enumType, Pointer lpInBuff); |
|
9530 |
|
|
9531 |
boolean NET_DVR_GetSDKLocalCfg(int enumType, Pointer lpOutBuff); |
|
9532 |
|
|
9533 |
boolean NET_DVR_SetDVRMessage(int nMessage, int hWnd); |
|
9534 |
|
|
9535 |
//NET_DVR_SetDVRMessage的扩展 |
|
9536 |
boolean NET_DVR_SetExceptionCallBack_V30(int nMessage, int hWnd, FExceptionCallBack fExceptionCallBack, Pointer pUser); |
|
9537 |
|
|
9538 |
boolean NET_DVR_SetDVRMessCallBack(FMessCallBack fMessCallBack); |
|
9539 |
|
|
9540 |
boolean NET_DVR_SetDVRMessCallBack_EX(FMessCallBack_EX fMessCallBack_EX); |
|
9541 |
|
|
9542 |
|
|
9543 |
//2007-04-16增加查询结果带卡号的文件查找 |
|
9544 |
int NET_DVR_FindNextFile_Card(int lFindHandle, NET_DVR_FINDDATA_CARD lpFindData); |
|
9545 |
|
|
9546 |
int NET_DVR_FindFile_Card(int lUserID, int lChannel, int dwFileType, NET_DVR_TIME lpStartTime, NET_DVR_TIME lpStopTime); |
|
9547 |
|
|
9548 |
boolean NET_DVR_LockFileByName(int lUserID, String sLockFileName); |
|
9549 |
|
|
9550 |
boolean NET_DVR_UnlockFileByName(int lUserID, String sUnlockFileName); |
|
9551 |
|
|
9552 |
int NET_DVR_PlayBackByName(int lUserID, String sPlayBackFileName, HWND hWnd); |
|
9553 |
|
|
9554 |
int NET_DVR_PlayBackByTime(int lUserID, int lChannel, NET_DVR_TIME lpStartTime, NET_DVR_TIME lpStopTime, HWND hWnd); |
|
9555 |
|
|
9556 |
int NET_DVR_PlayBackByTime_V40(int lUserID, NET_DVR_VOD_PARA pVodPara); |
|
9557 |
|
|
9558 |
boolean NET_DVR_PlayBackControl(int lPlayHandle, int dwControlCode, int dwInValue, IntByReference LPOutValue); |
|
9559 |
|
|
9560 |
boolean NET_DVR_PlayBackControl_V40(int lPlayHandle, int dwControlCode, Pointer lpInBuffer, int dwInLen, Pointer lpOutBuffer, IntByReference lpOutLen); |
|
9561 |
|
|
9562 |
boolean NET_DVR_StopPlayBack(int lPlayHandle); |
|
9563 |
|
|
9564 |
boolean NET_DVR_SetPlayDataCallBack(int lPlayHandle, FPlayDataCallBack fPlayDataCallBack, int dwUser); |
|
9565 |
|
|
9566 |
boolean NET_DVR_SetPlayBackESCallBack(int lPlayHandle, FPlayESCallBack fPlayESCallBack, Pointer pUser); |
|
9567 |
|
|
9568 |
boolean NET_DVR_PlayBackSaveData(int lPlayHandle, String sFileName); |
|
9569 |
|
|
9570 |
boolean NET_DVR_StopPlayBackSave(int lPlayHandle); |
|
9571 |
|
|
9572 |
boolean NET_DVR_GetPlayBackOsdTime(int lPlayHandle, NET_DVR_TIME lpOsdTime); |
|
9573 |
|
|
9574 |
boolean NET_DVR_PlayBackCaptureFile(int lPlayHandle, String sFileName); |
|
9575 |
|
|
9576 |
int NET_DVR_GetFileByName(int lUserID, String sDVRFileName, byte[] sSavedFileName); |
|
9577 |
|
|
9578 |
int NET_DVR_GetFileByTime(int lUserID, int lChannel, NET_DVR_TIME lpStartTime, NET_DVR_TIME lpStopTime, String sSavedFileName); |
|
9579 |
|
|
9580 |
int NET_DVR_GetFileByTime_V40(int lUserID, String sSavedFileName, NET_DVR_PLAYCOND pDownloadCond); |
|
9581 |
|
|
9582 |
boolean NET_DVR_StopGetFile(int lFileHandle); |
|
9583 |
|
|
9584 |
int NET_DVR_GetDownloadPos(int lFileHandle); |
|
9585 |
|
|
9586 |
int NET_DVR_GetPlayBackPos(int lPlayHandle); |
|
9587 |
|
|
9588 |
//图片查找 |
|
9589 |
int NET_DVR_FindPicture(int lUserID, NET_DVR_FIND_PICTURE_PARAM pFindParam); |
|
9590 |
|
|
9591 |
int NET_DVR_FindNextPicture_V50(int lFindHandle, NET_DVR_FIND_PICTURE_V50 lpFindData); |
|
9592 |
|
|
9593 |
int NET_DVR_FindNextPicture(int lFindHandle, NET_DVR_FIND_PICTURE lpFindData); |
|
9594 |
|
|
9595 |
boolean NET_DVR_CloseFindPicture(int lFindHandle); |
|
9596 |
|
|
9597 |
boolean NET_DVR_GetPicture_V50(int lUserID, NET_DVR_PIC_PARAM lpPicParam); |
|
9598 |
|
|
9599 |
boolean NET_DVR_SetDVRMessCallBack_NEW(FMessCallBack_NEW fMessCallBack_NEW); |
|
9600 |
|
|
9601 |
|
|
9602 |
boolean NET_DVR_SetDVRMessageCallBack(FMessageCallBack fMessageCallBack, int dwUser); |
|
9603 |
|
|
9604 |
boolean NET_DVR_SetDVRMessageCallBack_V30(FMSGCallBack fMessageCallBack, Pointer pUser); |
|
9605 |
|
|
9606 |
boolean NET_DVR_SetDVRMessageCallBack_V31(FMSGCallBack_V31 fMessageCallBack, Pointer pUser); |
|
9607 |
|
|
9608 |
boolean NET_DVR_SetDVRMessageCallBack_V50(int iIndex, FMSGCallBack_V31 fMessageCallBack, Pointer pUser); |
|
9609 |
|
|
9610 |
boolean NET_DVR_SetConnectTime(int dwWaitTime, int dwTryTimes); |
|
9611 |
|
|
9612 |
boolean NET_DVR_SetReconnect(int dwInterval, boolean bEnableRecon); |
|
9613 |
|
|
9614 |
int NET_DVR_GetSDKVersion(); |
|
9615 |
|
|
9616 |
int NET_DVR_GetSDKBuildVersion(); |
|
9617 |
|
|
9618 |
int NET_DVR_IsSupport(); |
|
9619 |
|
|
9620 |
boolean NET_DVR_StartListen(String sLocalIP, short wLocalPort); |
|
9621 |
|
|
9622 |
boolean NET_DVR_StopListen(); |
|
9623 |
|
|
9624 |
int NET_DVR_StartListen_V30(String sLocalIP, short wLocalPort, FMSGCallBack_V31 DataCallBack, Pointer pUserData); |
|
9625 |
|
|
9626 |
boolean NET_DVR_StopListen_V30(int lListenHandle); |
|
9627 |
|
|
9628 |
int NET_DVR_Login(String sDVRIP, short wDVRPort, String sUserName, String sPassword, NET_DVR_DEVICEINFO lpDeviceInfo); |
|
9629 |
|
|
9630 |
int NET_DVR_Login_V30(String sDVRIP, short wDVRPort, String sUserName, String sPassword, NET_DVR_DEVICEINFO_V30 lpDeviceInfo); |
|
9631 |
|
|
9632 |
int NET_DVR_Login_V40(NET_DVR_USER_LOGIN_INFO pLoginInfo, NET_DVR_DEVICEINFO_V40 lpDeviceInfo); |
|
9633 |
|
|
9634 |
boolean NET_DVR_Logout(NativeLong lUserID); |
|
9635 |
|
|
9636 |
boolean NET_DVR_Logout_V30(int lUserID); |
|
9637 |
|
|
9638 |
int NET_DVR_GetLastError(); |
|
9639 |
|
|
9640 |
String NET_DVR_GetErrorMsg(IntByReference pErrorNo); |
|
9641 |
|
|
9642 |
boolean NET_DVR_SetShowMode(int dwShowType, int colorKey); |
|
9643 |
|
|
9644 |
boolean NET_DVR_GetDVRIPByResolveSvr(String sServerIP, short wServerPort, String sDVRName, short wDVRNameLen, String sDVRSerialNumber, short wDVRSerialLen, String sGetIP); |
|
9645 |
|
|
9646 |
boolean NET_DVR_GetDVRIPByResolveSvr_EX(String sServerIP, short wServerPort, String sDVRName, short wDVRNameLen, String sDVRSerialNumber, short wDVRSerialLen, String sGetIP, IntByReference dwPort); |
|
9647 |
|
|
9648 |
//预览相关接口 |
|
9649 |
int NET_DVR_RealPlay(int lUserID, NET_DVR_CLIENTINFO lpClientInfo); |
|
9650 |
|
|
9651 |
int NET_DVR_RealPlay_V30(int lUserID, NET_DVR_CLIENTINFO lpClientInfo, FRealDataCallBack_V30 fRealDataCallBack_V30, Pointer pUser, boolean bBlocked); |
|
9652 |
|
|
9653 |
int NET_DVR_RealPlay_V40(int lUserID, NET_DVR_PREVIEWINFO lpPreviewInfo, FRealDataCallBack_V30 fRealDataCallBack_V30, Pointer pUser); |
|
9654 |
|
|
9655 |
boolean NET_DVR_StopRealPlay(int lRealHandle); |
|
9656 |
|
|
9657 |
boolean NET_DVR_RigisterDrawFun(int lRealHandle, FDrawFun fDrawFun, int dwUser); |
|
9658 |
|
|
9659 |
boolean NET_DVR_SetPlayerBufNumber(int lRealHandle, int dwBufNum); |
|
9660 |
|
|
9661 |
boolean NET_DVR_ThrowBFrame(int lRealHandle, int dwNum); |
|
9662 |
|
|
9663 |
boolean NET_DVR_SetAudioMode(int dwMode); |
|
9664 |
|
|
9665 |
boolean NET_DVR_OpenSound(int lRealHandle); |
|
9666 |
|
|
9667 |
boolean NET_DVR_CloseSound(); |
|
9668 |
|
|
9669 |
boolean NET_DVR_OpenSoundShare(int lRealHandle); |
|
9670 |
|
|
9671 |
boolean NET_DVR_CloseSoundShare(int lRealHandle); |
|
9672 |
|
|
9673 |
boolean NET_DVR_Volume(int lRealHandle, short wVolume); |
|
9674 |
|
|
9675 |
boolean NET_DVR_SaveRealData(int lRealHandle, String sFileName); |
|
9676 |
|
|
9677 |
boolean NET_DVR_StopSaveRealData(int lRealHandle); |
|
9678 |
|
|
9679 |
boolean NET_DVR_SetRealDataCallBack(int lRealHandle, FRowDataCallBack fRealDataCallBack, int dwUser); |
|
9680 |
|
|
9681 |
boolean NET_DVR_SetStandardDataCallBack(int lRealHandle, FStdDataCallBack fStdDataCallBack, int dwUser); |
|
9682 |
|
|
9683 |
boolean NET_DVR_CapturePicture(int lRealHandle, String sPicFileName);//bmp |
|
9684 |
|
|
9685 |
//动态生成I帧 |
|
9686 |
boolean NET_DVR_MakeKeyFrame(int lUserID, int lChannel);//主码流 |
|
9687 |
|
|
9688 |
boolean NET_DVR_MakeKeyFrameSub(int lUserID, int lChannel);//子码流 |
|
9689 |
|
|
9690 |
//云台控制相关接口 |
|
9691 |
boolean NET_DVR_PTZControl(int lRealHandle, int dwPTZCommand, int dwStop); |
|
9692 |
|
|
9693 |
boolean NET_DVR_PTZControl_Other(int lUserID, int lChannel, int dwPTZCommand, int dwStop); |
|
9694 |
|
|
9695 |
boolean NET_DVR_TransPTZ(int lRealHandle, String pPTZCodeBuf, int dwBufSize); |
|
9696 |
|
|
9697 |
boolean NET_DVR_TransPTZ_Other(int lUserID, int lChannel, String pPTZCodeBuf, int dwBufSize); |
|
9698 |
|
|
9699 |
boolean NET_DVR_PTZPreset(int lRealHandle, int dwPTZPresetCmd, int dwPresetIndex); |
|
9700 |
|
|
9701 |
boolean NET_DVR_PTZPreset_Other(int lUserID, int lChannel, int dwPTZPresetCmd, int dwPresetIndex); |
|
9702 |
|
|
9703 |
boolean NET_DVR_TransPTZ_EX(int lRealHandle, String pPTZCodeBuf, int dwBufSize); |
|
9704 |
|
|
9705 |
boolean NET_DVR_PTZControl_EX(int lRealHandle, int dwPTZCommand, int dwStop); |
|
9706 |
|
|
9707 |
boolean NET_DVR_PTZPreset_EX(int lRealHandle, int dwPTZPresetCmd, int dwPresetIndex); |
|
9708 |
|
|
9709 |
boolean NET_DVR_PTZCruise(int lRealHandle, int dwPTZCruiseCmd, byte byCruiseRoute, byte byCruisePoint, short wInput); |
|
9710 |
|
|
9711 |
boolean NET_DVR_PTZCruise_Other(int lUserID, int lChannel, int dwPTZCruiseCmd, byte byCruiseRoute, byte byCruisePoint, short wInput); |
|
9712 |
|
|
9713 |
boolean NET_DVR_PTZCruise_EX(int lRealHandle, int dwPTZCruiseCmd, byte byCruiseRoute, byte byCruisePoint, short wInput); |
|
9714 |
|
|
9715 |
boolean NET_DVR_PTZTrack(int lRealHandle, int dwPTZTrackCmd); |
|
9716 |
|
|
9717 |
boolean NET_DVR_PTZTrack_Other(int lUserID, int lChannel, int dwPTZTrackCmd); |
|
9718 |
|
|
9719 |
boolean NET_DVR_PTZTrack_EX(int lRealHandle, int dwPTZTrackCmd); |
|
9720 |
|
|
9721 |
boolean NET_DVR_PTZControlWithSpeed(int lRealHandle, int dwPTZCommand, int dwStop, int dwSpeed); |
|
9722 |
|
|
9723 |
boolean NET_DVR_PTZControlWithSpeed_Other(int lUserID, int lChannel, int dwPTZCommand, int dwStop, int dwSpeed); |
|
9724 |
|
|
9725 |
boolean NET_DVR_PTZControlWithSpeed_EX(int lRealHandle, int dwPTZCommand, int dwStop, int dwSpeed); |
|
9726 |
|
|
9727 |
boolean NET_DVR_GetPTZCruise(int lUserID, int lChannel, int lCruiseRoute, NET_DVR_CRUISE_RET lpCruiseRet); |
|
9728 |
|
|
9729 |
boolean NET_DVR_PTZMltTrack(int lRealHandle, int dwPTZTrackCmd, int dwTrackIndex); |
|
9730 |
|
|
9731 |
boolean NET_DVR_PTZMltTrack_Other(int lUserID, int lChannel, int dwPTZTrackCmd, int dwTrackIndex); |
|
9732 |
|
|
9733 |
boolean NET_DVR_PTZMltTrack_EX(int lRealHandle, int dwPTZTrackCmd, int dwTrackIndex); |
|
9734 |
|
|
9735 |
//文件查找与回放 |
|
9736 |
int NET_DVR_FindFile(int lUserID, int lChannel, int dwFileType, NET_DVR_TIME lpStartTime, NET_DVR_TIME lpStopTime); |
|
9737 |
|
|
9738 |
int NET_DVR_FindNextFile(int lFindHandle, NET_DVR_FIND_DATA lpFindData); |
|
9739 |
|
|
9740 |
boolean NET_DVR_FindClose(int lFindHandle); |
|
9741 |
|
|
9742 |
int NET_DVR_FindNextFile_V30(int lFindHandle, NET_DVR_FINDDATA_V30 lpFindData); |
|
9743 |
|
|
9744 |
int NET_DVR_FindFile_V30(int lUserID, NET_DVR_FILECOND pFindCond); |
|
9745 |
|
|
9746 |
int NET_DVR_FindFile_V40(int lUserID, NET_DVR_FILECOND_V40 pFindCond); |
|
9747 |
|
|
9748 |
int NET_DVR_FindNextFile_V40(int lFindHandle, NET_DVR_FINDDATA_V40 lpFindData); |
|
9749 |
|
|
9750 |
int NET_DVR_FindFile_V50(int lUserID, NET_DVR_FILECOND_V50 pFindCond); |
|
9751 |
|
|
9752 |
int NET_DVR_FindNextFile_V50(int lFindHandle, NET_DVR_FINDDATA_V50 lpFindData); |
|
9753 |
|
|
9754 |
boolean NET_DVR_FindClose_V30(int lFindHandle); |
|
9755 |
|
|
9756 |
//按事件查找 |
|
9757 |
int NET_DVR_FindFileByEvent(int lUserID, NET_DVR_SEARCH_EVENT_PARAM lpSearchEventParam); |
|
9758 |
|
|
9759 |
int NET_DVR_FindNextEvent(int lSearchHandle, NET_DVR_SEARCH_EVENT_RET lpSearchEventRet); |
|
9760 |
|
|
9761 |
int NET_DVR_FindFileByEvent_V50(int lUserID, NET_DVR_SEARCH_EVENT_PARAM_V50 lpSearchEventParam); |
|
9762 |
|
|
9763 |
int NET_DVR_FindNextEvent_V50(int lFindHandle, NET_DVR_SEARCH_EVENT_RET_V50 lpSearchEventRet); |
|
9764 |
|
|
9765 |
|
|
9766 |
//升级 |
|
9767 |
int NET_DVR_Upgrade(int lUserID, String sFileName); |
|
9768 |
|
|
9769 |
int NET_DVR_GetUpgradeState(int lUpgradeHandle); |
|
9770 |
|
|
9771 |
int NET_DVR_GetUpgradeProgress(int lUpgradeHandle); |
|
9772 |
|
|
9773 |
boolean NET_DVR_CloseUpgradeHandle(int lUpgradeHandle); |
|
9774 |
|
|
9775 |
boolean NET_DVR_SetNetworkEnvironment(int dwEnvironmentLevel); |
|
9776 |
|
|
9777 |
//远程格式化硬盘 |
|
9778 |
int NET_DVR_FormatDisk(int lUserID, int lDiskNumber); |
|
9779 |
|
|
9780 |
boolean NET_DVR_GetFormatProgress(int lFormatHandle, IntByReference pCurrentFormatDisk, IntByReference pCurrentDiskPos, IntByReference pFormatStatic); |
|
9781 |
|
|
9782 |
boolean NET_DVR_CloseFormatHandle(int lFormatHandle); |
|
9783 |
|
|
9784 |
//报警 |
|
9785 |
int NET_DVR_SetupAlarmChan(int lUserID); |
|
9786 |
|
|
9787 |
boolean NET_DVR_CloseAlarmChan(int lAlarmHandle); |
|
9788 |
|
|
9789 |
int NET_DVR_SetupAlarmChan_V30(int lUserID); |
|
9790 |
|
|
9791 |
int NET_DVR_SetupAlarmChan_V41(int lUserID, NET_DVR_SETUPALARM_PARAM lpSetupParam); |
|
9792 |
|
|
9793 |
int NET_DVR_SetupAlarmChan_V50(int iUserID, NET_DVR_SETUPALARM_PARAM_V50 lpSetupParam, Pointer pSub, int dwSubSize); |
|
9794 |
|
|
9795 |
boolean NET_DVR_CloseAlarmChan_V30(int lAlarmHandle); |
|
9796 |
|
|
9797 |
//语音对讲 |
|
9798 |
int NET_DVR_StartVoiceCom(int lUserID, FVoiceDataCallBack fVoiceDataCallBack, int dwUser); |
|
9799 |
|
|
9800 |
int NET_DVR_StartVoiceCom_V30(int lUserID, int dwVoiceChan, boolean bNeedCBNoEncData, FVoiceDataCallBack_V30 fVoiceDataCallBack, Pointer pUser); |
|
9801 |
|
|
9802 |
boolean NET_DVR_SetVoiceComClientVolume(int lVoiceComHandle, short wVolume); |
|
9803 |
|
|
9804 |
boolean NET_DVR_StopVoiceCom(int lVoiceComHandle); |
|
9805 |
|
|
9806 |
//语音转发 |
|
9807 |
int NET_DVR_StartVoiceCom_MR(int lUserID, FVoiceDataCallBack_MR fVoiceDataCallBack, int dwUser); |
|
9808 |
|
|
9809 |
int NET_DVR_StartVoiceCom_MR_V30(int lUserID, int dwVoiceChan, FVoiceDataCallBack_MR_V30 fVoiceDataCallBack, Pointer pUser); |
|
9810 |
|
|
9811 |
boolean NET_DVR_VoiceComSendData(int lVoiceComHandle, byte[] pSendBuf, int dwBufSize); |
|
9812 |
|
|
9813 |
//语音广播 |
|
9814 |
boolean NET_DVR_ClientAudioStart(); |
|
9815 |
|
|
9816 |
boolean NET_DVR_ClientAudioStart_V30(FVoiceDataCallBack2 fVoiceDataCallBack2, Pointer pUser); |
|
9817 |
|
|
9818 |
boolean NET_DVR_ClientAudioStop(); |
|
9819 |
|
|
9820 |
boolean NET_DVR_AddDVR(int lUserID); |
|
9821 |
|
|
9822 |
int NET_DVR_AddDVR_V30(int lUserID, int dwVoiceChan); |
|
9823 |
|
|
9824 |
boolean NET_DVR_DelDVR(int lUserID); |
|
9825 |
|
|
9826 |
boolean NET_DVR_DelDVR_V30(int lVoiceHandle); |
|
9827 |
|
|
9828 |
//////////////////////////////////////////////////////////// |
|
9829 |
//透明通道设置 |
|
9830 |
int NET_DVR_SerialStart(int lUserID, int lSerialPort, FSerialDataCallBack fSerialDataCallBack, int dwUser); |
|
9831 |
|
|
9832 |
public static interface FSerialDataCallBack_V40 extends Callback { |
|
9833 |
public void invoke(int lSerialHandle, int lCHannel, byte[] pRecvDataBuffer, int dwBufSize, Pointer pUser); |
|
9834 |
} |
|
9835 |
|
|
9836 |
int NET_DVR_SerialStart_V40(int lUserID, Pointer lpInBuffer, int dwInBufferSize, FSerialDataCallBack_V40 fSerialDataCallBack_V40, Pointer pUser); |
|
9837 |
|
|
9838 |
//485作为透明通道时,需要指明通道号,因为不同通道号485的设置可以不同(比如波特率) |
|
9839 |
boolean NET_DVR_SerialSend(int lSerialHandle, int lChannel, byte[] pSendBuf, int dwBufSize); |
|
9840 |
|
|
9841 |
boolean NET_DVR_SerialStop(int lSerialHandle); |
|
9842 |
|
|
9843 |
boolean NET_DVR_SendTo232Port(int lUserID, String pSendBuf, int dwBufSize); |
|
9844 |
|
|
9845 |
boolean NET_DVR_SendToSerialPort(int lUserID, int dwSerialPort, int dwSerialIndex, String pSendBuf, int dwBufSize); |
|
9846 |
|
|
9847 |
//Win64、Linux32、Linux64 |
|
9848 |
Pointer NET_DVR_InitG722Encoder(NET_DVR_AUDIOENC_INFO enc_info); |
|
9849 |
|
|
9850 |
boolean NET_DVR_EncodeG722Frame(Pointer handle, NET_DVR_AUDIOENC_PROCESS_PARAM param); |
|
9851 |
|
|
9852 |
void NET_DVR_ReleaseG722Encoder(Pointer pEncodeHandle); |
|
9853 |
|
|
9854 |
Pointer NET_DVR_InitG722Decoder(); |
|
9855 |
|
|
9856 |
boolean NET_DVR_DecodeG722Frame(Pointer handle, NET_DVR_AUDIODEC_PROCESS_PARAM param); |
|
9857 |
|
|
9858 |
void NET_DVR_ReleaseG722Decoder(Pointer pDecHandle); |
|
9859 |
|
|
9860 |
//G711: Win64、Linux32、Linux64 |
|
9861 |
Pointer NET_DVR_InitG711Encoder(Pointer enc_info); //NET_DVR_AUDIOENC_INFO |
|
9862 |
|
|
9863 |
boolean NET_DVR_EncodeG711Frame(Pointer handle, NET_DVR_AUDIOENC_PROCESS_PARAM p_enc_proc_param); |
|
9864 |
|
|
9865 |
boolean NET_DVR_ReleaseG711Encoder(Pointer pEncodeHandle); |
|
9866 |
|
|
9867 |
Pointer NET_DVR_InitG711Decoder(); |
|
9868 |
|
|
9869 |
boolean NET_DVR_DecodeG711Frame(Pointer handle, NET_DVR_AUDIODEC_PROCESS_PARAM p_dec_proc_param); |
|
9870 |
|
|
9871 |
boolean NET_DVR_ReleaseG711Decoder(Pointer pDecHandle); |
|
9872 |
|
|
9873 |
//远程控制本地显示 |
|
9874 |
boolean NET_DVR_ClickKey(int lUserID, int lKeyIndex); |
|
9875 |
|
|
9876 |
//远程控制设备端手动录像 |
|
9877 |
boolean NET_DVR_StartDVRRecord(int lUserID, int lChannel, int lRecordType); |
|
9878 |
|
|
9879 |
boolean NET_DVR_StopDVRRecord(int lUserID, int lChannel); |
|
9880 |
|
|
9881 |
//解码卡 |
|
9882 |
boolean NET_DVR_InitDevice_Card(IntByReference pDeviceTotalChan); |
|
9883 |
|
|
9884 |
boolean NET_DVR_ReleaseDevice_Card(); |
|
9885 |
|
|
9886 |
boolean NET_DVR_InitDDraw_Card(int hParent, int colorKey); |
|
9887 |
|
|
9888 |
boolean NET_DVR_ReleaseDDraw_Card(); |
|
9889 |
|
|
9890 |
int NET_DVR_RealPlay_Card(int lUserID, NET_DVR_CARDINFO lpCardInfo, int lChannelNum); |
|
9891 |
|
|
9892 |
boolean NET_DVR_ResetPara_Card(int lRealHandle, NET_DVR_DISPLAY_PARA lpDisplayPara); |
|
9893 |
|
|
9894 |
boolean NET_DVR_RefreshSurface_Card(); |
|
9895 |
|
|
9896 |
boolean NET_DVR_ClearSurface_Card(); |
|
9897 |
|
|
9898 |
boolean NET_DVR_RestoreSurface_Card(); |
|
9899 |
|
|
9900 |
boolean NET_DVR_OpenSound_Card(int lRealHandle); |
|
9901 |
|
|
9902 |
boolean NET_DVR_CloseSound_Card(int lRealHandle); |
|
9903 |
|
|
9904 |
boolean NET_DVR_SetVolume_Card(int lRealHandle, short wVolume); |
|
9905 |
|
|
9906 |
boolean NET_DVR_AudioPreview_Card(int lRealHandle, boolean bEnable); |
|
9907 |
|
|
9908 |
int NET_DVR_GetCardLastError_Card(); |
|
9909 |
|
|
9910 |
Pointer NET_DVR_GetChanHandle_Card(int lRealHandle); |
|
9911 |
|
|
9912 |
boolean NET_DVR_CapturePicture_Card(int lRealHandle, String sPicFileName); |
|
9913 |
|
|
9914 |
//获取解码卡序列号此接口无效,改用GetBoardDetail接口获得(2005-12-08支持) |
|
9915 |
boolean NET_DVR_GetSerialNum_Card(int lChannelNum, IntByReference pDeviceSerialNo); |
|
9916 |
|
|
9917 |
//日志 |
|
9918 |
int NET_DVR_FindDVRLog(int lUserID, int lSelectMode, int dwMajorType, int dwMinorType, NET_DVR_TIME lpStartTime, NET_DVR_TIME lpStopTime); |
|
9919 |
|
|
9920 |
int NET_DVR_FindNextLog(int lLogHandle, NET_DVR_LOG lpLogData); |
|
9921 |
|
|
9922 |
boolean NET_DVR_FindLogClose(int lLogHandle); |
|
9923 |
|
|
9924 |
int NET_DVR_FindDVRLog_V30(int lUserID, int lSelectMode, int dwMajorType, int dwMinorType, NET_DVR_TIME lpStartTime, NET_DVR_TIME lpStopTime, boolean bOnlySmart); |
|
9925 |
|
|
9926 |
int NET_DVR_FindNextLog_V30(int lLogHandle, NET_DVR_LOG_V30 lpLogData); |
|
9927 |
|
|
9928 |
boolean NET_DVR_FindLogClose_V30(int lLogHandle); |
|
9929 |
|
|
9930 |
//截止2004年8月5日,共113个接口 |
|
9931 |
//ATM DVR |
|
9932 |
int NET_DVR_FindFileByCard(int lUserID, int lChannel, int dwFileType, int nFindType, String sCardNumber, NET_DVR_TIME lpStartTime, NET_DVR_TIME lpStopTime); |
|
9933 |
//截止2004年10月5日,共116个接口 |
|
9934 |
|
|
9935 |
//2023-04-28 lirm |
|
9936 |
boolean NET_DVR_CaptureJPEGPicture(NativeLong nlUserID, NativeLong nChannel, NET_DVR_JPEGPARA lpJpegPara, String path); |
|
9937 |
|
|
9938 |
//JPEG抓图到内存 |
|
9939 |
boolean NET_DVR_CaptureJPEGPicture_NEW(int lUserID, int lChannel, NET_DVR_JPEGPARA lpJpegPara, Pointer sJpegPicBuffer, int dwPicSize, IntByReference lpSizeReturned); |
|
9940 |
|
|
9941 |
//带全屏测温数据的设备抓图 |
|
9942 |
boolean NET_DVR_CaptureJPEGPicture_WithAppendData(int lUserID, int iChannelNum, NET_DVR_JPEGPICTURE_WITH_APPENDDATA m_strJpegWithAppendData); |
|
9943 |
|
|
9944 |
//2006-02-16 |
|
9945 |
int NET_DVR_GetRealPlayerIndex(int lRealHandle); |
|
9946 |
|
|
9947 |
int NET_DVR_GetPlayBackPlayerIndex(int lPlayHandle); |
|
9948 |
|
|
9949 |
//2006-08-28 704-640 缩放配置 |
|
9950 |
boolean NET_DVR_SetScaleCFG(int lUserID, int dwScale); |
|
9951 |
|
|
9952 |
boolean NET_DVR_GetScaleCFG(int lUserID, IntByReference lpOutScale); |
|
9953 |
|
|
9954 |
boolean NET_DVR_SetScaleCFG_V30(int lUserID, NET_DVR_SCALECFG pScalecfg); |
|
9955 |
|
|
9956 |
boolean NET_DVR_GetScaleCFG_V30(int lUserID, NET_DVR_SCALECFG pScalecfg); |
|
9957 |
|
|
9958 |
//2006-08-28 ATM机端口设置 |
|
9959 |
boolean NET_DVR_SetATMPortCFG(int lUserID, short wATMPort); |
|
9960 |
|
|
9961 |
boolean NET_DVR_GetATMPortCFG(int lUserID, ShortByReference LPOutATMPort); |
|
9962 |
|
|
9963 |
//2006-11-10 支持显卡辅助输出 |
|
9964 |
boolean NET_DVR_InitDDrawDevice(); |
|
9965 |
|
|
9966 |
boolean NET_DVR_ReleaseDDrawDevice(); |
|
9967 |
|
|
9968 |
int NET_DVR_GetDDrawDeviceTotalNums(); |
|
9969 |
|
|
9970 |
boolean NET_DVR_SetDDrawDevice(int lPlayPort, int nDeviceNum); |
|
9971 |
|
|
9972 |
boolean NET_DVR_PTZSelZoomIn(int lRealHandle, NET_DVR_POINT_FRAME pStruPointFrame); |
|
9973 |
|
|
9974 |
boolean NET_DVR_PTZSelZoomIn_EX(int lUserID, int lChannel, NET_DVR_POINT_FRAME pStruPointFrame); |
|
9975 |
|
|
9976 |
boolean NET_DVR_FocusOnePush(int lUserID, int lChannel); |
|
9977 |
|
|
9978 |
//解码设备DS-6001D/DS-6001F |
|
9979 |
boolean NET_DVR_StartDecode(int lUserID, int lChannel, NET_DVR_DECODERINFO lpDecoderinfo); |
|
9980 |
|
|
9981 |
boolean NET_DVR_StopDecode(int lUserID, int lChannel); |
|
9982 |
|
|
9983 |
boolean NET_DVR_GetDecoderState(int lUserID, int lChannel, NET_DVR_DECODERSTATE lpDecoderState); |
|
9984 |
|
|
9985 |
//2005-08-01 |
|
9986 |
boolean NET_DVR_SetDecInfo(int lUserID, int lChannel, NET_DVR_DECCFG lpDecoderinfo); |
|
9987 |
|
|
9988 |
boolean NET_DVR_GetDecInfo(int lUserID, int lChannel, NET_DVR_DECCFG lpDecoderinfo); |
|
9989 |
|
|
9990 |
boolean NET_DVR_SetDecTransPort(int lUserID, NET_DVR_PORTCFG lpTransPort); |
|
9991 |
|
|
9992 |
boolean NET_DVR_GetDecTransPort(int lUserID, NET_DVR_PORTCFG lpTransPort); |
|
9993 |
|
|
9994 |
boolean NET_DVR_DecPlayBackCtrl(int lUserID, int lChannel, int dwControlCode, int dwInValue, IntByReference LPOutValue, NET_DVR_PLAYREMOTEFILE lpRemoteFileInfo); |
|
9995 |
|
|
9996 |
boolean NET_DVR_StartDecSpecialCon(int lUserID, int lChannel, NET_DVR_DECCHANINFO lpDecChanInfo); |
|
9997 |
|
|
9998 |
boolean NET_DVR_StopDecSpecialCon(int lUserID, int lChannel, NET_DVR_DECCHANINFO lpDecChanInfo); |
|
9999 |
|
|
10000 |
boolean NET_DVR_DecCtrlDec(int lUserID, int lChannel, int dwControlCode); |
|
10001 |
|
|
10002 |
boolean NET_DVR_DecCtrlScreen(int lUserID, int lChannel, int dwControl); |
|
10003 |
|
|
10004 |
boolean NET_DVR_GetDecCurLinkStatus(int lUserID, int lChannel, NET_DVR_DECSTATUS lpDecStatus); |
|
10005 |
|
|
10006 |
//多路解码器 |
|
10007 |
//2007-11-30 V211支持以下接口 //11 |
|
10008 |
boolean NET_DVR_MatrixStartDynamic(int lUserID, int dwDecChanNum, NET_DVR_MATRIX_DYNAMIC_DEC lpDynamicInfo); |
|
10009 |
|
|
10010 |
boolean NET_DVR_MatrixStopDynamic(int lUserID, int dwDecChanNum); |
|
10011 |
|
|
10012 |
boolean NET_DVR_MatrixGetDecChanInfo(int lUserID, int dwDecChanNum, NET_DVR_MATRIX_DEC_CHAN_INFO lpInter); |
|
10013 |
|
|
10014 |
boolean NET_DVR_MatrixSetLoopDecChanInfo(int lUserID, int dwDecChanNum, NET_DVR_MATRIX_LOOP_DECINFO lpInter); |
|
10015 |
|
|
10016 |
boolean NET_DVR_MatrixGetLoopDecChanInfo(int lUserID, int dwDecChanNum, NET_DVR_MATRIX_LOOP_DECINFO lpInter); |
|
10017 |
|
|
10018 |
boolean NET_DVR_MatrixSetLoopDecChanEnable(int lUserID, int dwDecChanNum, int dwEnable); |
|
10019 |
|
|
10020 |
boolean NET_DVR_MatrixGetLoopDecChanEnable(int lUserID, int dwDecChanNum, IntByReference lpdwEnable); |
|
10021 |
|
|
10022 |
boolean NET_DVR_MatrixGetLoopDecEnable(int lUserID, IntByReference lpdwEnable); |
|
10023 |
|
|
10024 |
boolean NET_DVR_MatrixSetDecChanEnable(int lUserID, int dwDecChanNum, int dwEnable); |
|
10025 |
|
|
10026 |
boolean NET_DVR_MatrixGetDecChanEnable(int lUserID, int dwDecChanNum, IntByReference lpdwEnable); |
|
10027 |
|
|
10028 |
boolean NET_DVR_MatrixGetDecChanStatus(int lUserID, int dwDecChanNum, NET_DVR_MATRIX_DEC_CHAN_STATUS lpInter); |
|
10029 |
|
|
10030 |
boolean NET_DVR_MatrixStartDynamic_V41(int lUserID, int dwDecChanNum, Pointer lpDynamicInfo); |
|
10031 |
|
|
10032 |
boolean NET_DVR_MatrixGetLoopDecChanInfo_V41(int lUserID, int dwDecChanNum, NET_DVR_MATRIX_LOOP_DECINFO_V41 lpOuter); |
|
10033 |
|
|
10034 |
boolean NET_DVR_MatrixSetLoopDecChanInfo_V41(int lUserID, int dwDecChanNum, NET_DVR_MATRIX_LOOP_DECINFO_V41 lpInter); |
|
10035 |
int NET_DVR_MatrixStartPassiveDecode(int lUserID, int dwDecChanNum, Pointer lpPassiveMode); |
|
10036 |
boolean NET_DVR_MatrixSendData(int lPassiveHandle, Pointer pSendBuf, int dwBufSize); |
|
10037 |
boolean NET_DVR_MatrixStopPassiveDecode(int lPassiveHandle); |
|
10038 |
|
|
10039 |
//2007-12-22 增加支持接口 //18 |
|
10040 |
boolean NET_DVR_MatrixSetTranInfo(int lUserID, NET_DVR_MATRIX_TRAN_CHAN_CONFIG lpTranInfo); |
|
10041 |
|
|
10042 |
boolean NET_DVR_MatrixGetTranInfo(int lUserID, NET_DVR_MATRIX_TRAN_CHAN_CONFIG lpTranInfo); |
|
10043 |
|
|
10044 |
boolean NET_DVR_MatrixSetRemotePlay(int lUserID, int dwDecChanNum, NET_DVR_MATRIX_DEC_REMOTE_PLAY lpInter); |
|
10045 |
|
|
10046 |
boolean NET_DVR_MatrixSetRemotePlayControl(int lUserID, int dwDecChanNum, int dwControlCode, int dwInValue, IntByReference LPOutValue); |
|
10047 |
|
|
10048 |
boolean NET_DVR_MatrixGetRemotePlayStatus(int lUserID, int dwDecChanNum, NET_DVR_MATRIX_DEC_REMOTE_PLAY_STATUS lpOuter); |
|
10049 |
|
|
10050 |
//end |
|
10051 |
boolean NET_DVR_RefreshPlay(int lPlayHandle); |
|
10052 |
|
|
10053 |
//恢复默认值 |
|
10054 |
boolean NET_DVR_RestoreConfig(int lUserID); |
|
10055 |
|
|
10056 |
//保存参数 |
|
10057 |
boolean NET_DVR_SaveConfig(int lUserID); |
|
10058 |
|
|
10059 |
//重启 |
|
10060 |
boolean NET_DVR_RebootDVR(int lUserID); |
|
10061 |
|
|
10062 |
//关闭DVR |
|
10063 |
boolean NET_DVR_ShutDownDVR(int lUserID); |
|
10064 |
|
|
10065 |
//参数配置 begin |
|
10066 |
boolean NET_DVR_GetDeviceConfig(int lUserID, int dwCommand, int dwCount, Pointer lpInBuffer, int dwInBufferSize, Pointer lpStatusList, Pointer lpOutBuffer, int dwOutBufferSize); |
|
10067 |
|
|
10068 |
boolean NET_DVR_SetDeviceConfig(int lUserID, int dwCommand, int dwCount, Pointer lpInBuffer, int dwInBufferSize, Pointer lpStatusList, Pointer lpInParamBuffer, int dwInParamBufferSize); |
|
10069 |
|
|
10070 |
boolean NET_DVR_SetDeviceConfigEx(int lUserID, int dwCommand, int dwCount, Pointer lpInParam, Pointer lpOutParam); |
|
10071 |
|
|
10072 |
boolean NET_DVR_GetDVRConfig(int lUserID, int dwCommand, int lChannel, Pointer lpOutBuffer, int dwOutBufferSize, IntByReference lpBytesReturned); |
|
10073 |
|
|
10074 |
boolean NET_DVR_SetDVRConfig(int lUserID, int dwCommand, int lChannel, Pointer lpInBuffer, int dwInBufferSize); |
|
10075 |
|
|
10076 |
boolean NET_DVR_GetSTDConfig(int lUserID, int dwCommand, NET_DVR_STD_CONFIG lpConfigParam); |
|
10077 |
|
|
10078 |
boolean NET_DVR_SetSTDConfig(int lUserID, int dwCommand, NET_DVR_STD_CONFIG lpConfigParam); |
|
10079 |
|
|
10080 |
boolean NET_DVR_GetDVRWorkState_V30(int lUserID, NET_DVR_WORKSTATE_V30 lpWorkState); |
|
10081 |
|
|
10082 |
boolean NET_DVR_GetDVRWorkState(int lUserID, NET_DVR_WORKSTATE lpWorkState); |
|
10083 |
|
|
10084 |
boolean NET_DVR_SetVideoEffect(int lUserID, int lChannel, int dwBrightValue, int dwContrastValue, int dwSaturationValue, int dwHueValue); |
|
10085 |
|
|
10086 |
boolean NET_DVR_GetVideoEffect(int lUserID, int lChannel, IntByReference pBrightValue, IntByReference pContrastValue, IntByReference pSaturationValue, IntByReference pHueValue); |
|
10087 |
|
|
10088 |
boolean NET_DVR_ClientGetframeformat(int lUserID, NET_DVR_FRAMEFORMAT lpFrameFormat); |
|
10089 |
|
|
10090 |
boolean NET_DVR_ClientSetframeformat(int lUserID, NET_DVR_FRAMEFORMAT lpFrameFormat); |
|
10091 |
|
|
10092 |
boolean NET_DVR_ClientGetframeformat_V30(int lUserID, NET_DVR_FRAMEFORMAT_V30 lpFrameFormat); |
|
10093 |
|
|
10094 |
boolean NET_DVR_ClientSetframeformat_V30(int lUserID, NET_DVR_FRAMEFORMAT_V30 lpFrameFormat); |
|
10095 |
|
|
10096 |
boolean NET_DVR_GetAlarmOut_V30(int lUserID, NET_DVR_ALARMOUTSTATUS_V30 lpAlarmOutState); |
|
10097 |
|
|
10098 |
boolean NET_DVR_GetAlarmOut(int lUserID, NET_DVR_ALARMOUTSTATUS lpAlarmOutState); |
|
10099 |
|
|
10100 |
boolean NET_DVR_SetAlarmOut(int lUserID, int lAlarmOutPort, int lAlarmOutStatic); |
|
10101 |
|
|
10102 |
//视频参数调节 |
|
10103 |
boolean NET_DVR_ClientSetVideoEffect(int lRealHandle, int dwBrightValue, int dwContrastValue, int dwSaturationValue, int dwHueValue); |
|
10104 |
|
|
10105 |
boolean NET_DVR_ClientGetVideoEffect(int lRealHandle, IntByReference pBrightValue, IntByReference pContrastValue, IntByReference pSaturationValue, IntByReference pHueValue); |
|
10106 |
|
|
10107 |
//配置文件 |
|
10108 |
boolean NET_DVR_GetConfigFile(int lUserID, String sFileName); |
|
10109 |
|
|
10110 |
boolean NET_DVR_SetConfigFile(int lUserID, String sFileName); |
|
10111 |
|
|
10112 |
boolean NET_DVR_GetConfigFile_V30(int lUserID, String sOutBuffer, int dwOutSize, IntByReference pReturnSize); |
|
10113 |
|
|
10114 |
boolean NET_DVR_GetConfigFile_EX(int lUserID, String sOutBuffer, int dwOutSize); |
|
10115 |
|
|
10116 |
boolean NET_DVR_SetConfigFile_EX(int lUserID, String sInBuffer, int dwInSize); |
|
10117 |
|
|
10118 |
//启用日志文件写入接口 |
|
10119 |
boolean NET_DVR_SetLogToFile(int bLogEnable, String strLogDir, boolean bAutoDel); |
|
10120 |
|
|
10121 |
boolean NET_DVR_GetSDKState(NET_DVR_SDKSTATE pSDKState); |
|
10122 |
|
|
10123 |
boolean NET_DVR_GetSDKAbility(NET_DVR_SDKABL pSDKAbl); |
|
10124 |
|
|
10125 |
boolean NET_DVR_GetPTZProtocol(int lUserID, NET_DVR_PTZCFG pPtzcfg); |
|
10126 |
|
|
10127 |
//前面板锁定 |
|
10128 |
boolean NET_DVR_LockPanel(int lUserID); |
|
10129 |
|
|
10130 |
boolean NET_DVR_UnLockPanel(int lUserID); |
|
10131 |
|
|
10132 |
boolean NET_DVR_SetRtspConfig(int lUserID, int dwCommand, NET_DVR_RTSPCFG lpInBuffer, int dwInBufferSize); |
|
10133 |
|
|
10134 |
boolean NET_DVR_GetRtspConfig(int lUserID, int dwCommand, NET_DVR_RTSPCFG lpOutBuffer, int dwOutBufferSize); |
|
10135 |
|
|
10136 |
boolean NET_DVR_ContinuousShoot(int lUserID, NET_DVR_SNAPCFG lpInter); |
|
10137 |
|
|
10138 |
boolean NET_DVR_ManualSnap(int lUserID, NET_DVR_MANUALSNAP lpInter, NET_DVR_PLATE_RESULT lpOuter); |
|
10139 |
|
|
10140 |
public static interface FRemoteConfigCallBack extends Callback { |
|
10141 |
public void invoke(int dwType, Pointer lpBuffer, int dwBufLen, Pointer pUserData); |
|
10142 |
} |
|
10143 |
|
|
10144 |
int NET_DVR_StartRemoteConfig(int lUserID, int dwCommand, Pointer lpInBuffer, int dwInBufferLen, FRemoteConfigCallBack cbStateCallBack, Pointer pUserData); |
|
10145 |
|
|
10146 |
boolean NET_DVR_SendRemoteConfig(int lHandle, int dwDataType, Pointer pSendBuf, int dwBufSize); |
|
10147 |
|
|
10148 |
int NET_DVR_GetNextRemoteConfig(int lHandle, Pointer lpOutBuff, int dwOutBuffSize); |
|
10149 |
|
|
10150 |
int NET_DVR_SendWithRecvRemoteConfig(int lHandle, Pointer lpInBuff, int dwInBuffSize, Pointer lpOutBuff, int dwOutBuffSize, IntByReference dwOutDataLen); |
|
10151 |
|
|
10152 |
boolean NET_DVR_StopRemoteConfig(int lHandle); |
|
10153 |
|
|
10154 |
boolean NET_DVR_RemoteControl(int lUserID, int dwCommand, Pointer lpInBuffer, int dwInBufferSize); |
|
10155 |
|
|
10156 |
boolean NET_DVR_STDXMLConfig(int lUserID, NET_DVR_XML_CONFIG_INPUT lpInputParam, NET_DVR_XML_CONFIG_OUTPUT lpOutputParam); |
|
10157 |
|
|
10158 |
boolean NET_DVR_GetSTDAbility(int lUserID, int dwAbilityType, NET_DVR_STD_ABILITY lpAbilityParam); |
|
10159 |
|
|
10160 |
boolean NET_DVR_GetDeviceAbility(int lUserID, int dwAbilityType, Pointer pInBuf, int dwInLength, Pointer pOutBuf, int dwOutLength); |
|
10161 |
|
|
10162 |
boolean NET_DVR_ControlGateway(int lUserID, int lGatewayIndex, int dwStaic); |
|
10163 |
|
|
10164 |
boolean NET_DVR_InquestStartCDW_V30(int lUserID, NET_DVR_INQUEST_ROOM lpInquestRoom, boolean bNotBurn); |
|
10165 |
|
|
10166 |
boolean NET_DVR_InquestStopCDW_V30(int lUserID, NET_DVR_INQUEST_ROOM lpInquestRoom, boolean bCancelWrite); |
|
10167 |
|
|
10168 |
boolean NET_DVR_GetArrayList(int lUserID, NET_DVR_ARRAY_LIST lpArrayList); |
|
10169 |
|
|
10170 |
int NET_DVR_InquestResumeEvent(int lUserID, NET_DVR_INQUEST_RESUME_EVENT lpResumeEvent); |
|
10171 |
|
|
10172 |
boolean NET_DVR_InquestGetResumeProgress(int lHandle, IntByReference pState); |
|
10173 |
|
|
10174 |
boolean NET_DVR_InquestStopResume(int lHandle); |
|
10175 |
|
|
10176 |
boolean NET_DVR_GetLocalIP(byte[] strIP, IntByReference pValidNum, boolean pEnableBind); |
|
10177 |
|
|
10178 |
boolean NET_DVR_SetValidIP(int dwIPIndex, boolean bEnableBind); |
|
10179 |
|
|
10180 |
boolean NET_DVR_AlarmHostAssistantControl(int lUserID, int dwType, int dwNumber, int dwCmdParam); |
|
10181 |
|
|
10182 |
boolean NET_DVR_GetPlanList(int lUserID, int dwDevNum, NET_DVR_PLAN_LIST lpPlanList); |
|
10183 |
|
|
10184 |
int NET_DVR_UploadFile_V40(int lUserID, int dwUploadType, Pointer lpInBuffer, int dwInBufferSize, String sFileName, Pointer lpOutBuffer, int dwOutBufferSize); |
|
10185 |
|
|
10186 |
int NET_DVR_UploadSend(int lUploadHandle, NET_DVR_SEND_PARAM_IN pstruSendParamIN, Pointer lpOutBuffer); |
|
10187 |
|
|
10188 |
int NET_DVR_GetUploadState(int lUploadHandle, Pointer pProgress); |
|
10189 |
|
|
10190 |
boolean NET_DVR_GetUploadResult(int lUploadHandle, Pointer lpOutBuffer, int dwOutBufferSize); |
|
10191 |
|
|
10192 |
boolean NET_DVR_UploadClose(int lUploadHandle); |
|
10193 |
|
|
10194 |
int NET_DVR_StartNetworkFlowTest(int lUserID, NET_DVR_FLOW_TEST_PARAM pFlowTest, FLOWTESTCALLBACK fFlowTestCallback, Pointer pUser); |
|
10195 |
|
|
10196 |
boolean NET_DVR_StopNetworkFlowTest(int lHandle); |
|
10197 |
|
|
10198 |
boolean NET_DVR_InquiryRecordTimeSpan(int lUserID, int dwChannel, NET_DVR_RECORD_TIME_SPAN_INQUIRY lpInquiry, NET_DVR_RECORD_TIME_SPAN lpResult); |
|
10199 |
|
|
10200 |
boolean NET_DVR_StartGetDevState(NET_DVR_CHECK_DEV_STATE pParams); |
|
10201 |
|
|
10202 |
//gps相关结构定义 |
|
10203 |
public static class TimeSegParam extends HIKSDKStructure { |
|
10204 |
//GPS数据查找起始时间 |
|
10205 |
public NET_DVR_TIME struBeginTime; |
|
10206 |
//GPS数据查找结束时间 |
|
10207 |
public NET_DVR_TIME struEndTime; |
|
10208 |
//GPS点时间间隔,单位:秒 |
|
10209 |
public int dwInterval; |
|
10210 |
//保留 |
|
10211 |
public byte[] byRes = new byte[76]; |
|
10212 |
} |
|
10213 |
|
|
10214 |
//按时间点查询 |
|
10215 |
public static class TimePointParam extends HIKSDKStructure { |
|
10216 |
//GPS数据查找时间点 |
|
10217 |
public NET_DVR_TIME struTimePoint; |
|
10218 |
//保留 |
|
10219 |
public byte[] byRes = new byte[104]; |
|
10220 |
} |
|
10221 |
|
|
10222 |
public static class GpsDataParamUion extends Union { |
|
10223 |
//按时间段查询 |
|
10224 |
public TimeSegParam timeSeg = new TimeSegParam(); |
|
10225 |
//按时间点查询 |
|
10226 |
public TimePointParam timePoint = new TimePointParam(); |
|
10227 |
} |
|
10228 |
|
|
10229 |
//gps查询参数定义 |
|
10230 |
public static class NET_DVR_GET_GPS_DATA_PARAM extends HIKSDKStructure { |
|
10231 |
//查找方式:0- 按时间段查找GPS数据,1- 按时间点查找GPS数据 |
|
10232 |
public int dwCmdType; |
|
10233 |
public GpsDataParamUion gpsDataParam; |
|
10234 |
|
|
10235 |
public void read() { |
|
10236 |
super.read(); |
|
10237 |
switch (dwCmdType) { |
|
10238 |
case 0: |
|
10239 |
gpsDataParam.setType(TimeSegParam.class); |
|
10240 |
break; |
|
10241 |
case 1: |
|
10242 |
gpsDataParam.setType(TimePointParam.class); |
|
10243 |
break; |
|
10244 |
default: |
|
10245 |
break; |
|
10246 |
} |
|
10247 |
gpsDataParam.read(); |
|
10248 |
} |
|
10249 |
|
|
10250 |
public void write() { |
|
10251 |
super.write(); |
|
10252 |
gpsDataParam.write(); |
|
10253 |
} |
|
10254 |
} |
|
10255 |
|
|
10256 |
//gps数据结构定义 |
|
10257 |
public static class NET_DVR_GPS_INFO extends HIKSDKStructure { |
|
10258 |
public byte[] byDirection = new byte[2]; |
|
10259 |
public byte bySvs; |
|
10260 |
public byte byLocateMode; |
|
10261 |
public short wHDOP; |
|
10262 |
public short wHeight; |
|
10263 |
public int dwLatitude; |
|
10264 |
public int dwLongitude; |
|
10265 |
public int dwVehicleSpeed; |
|
10266 |
public int dwVehicleDirection; |
|
10267 |
public byte[] byRes = new byte[8]; |
|
10268 |
} |
|
10269 |
|
|
10270 |
//gps返回数据结构定义 |
|
10271 |
public static class NET_DVR_GPS_DATA extends HIKSDKStructure { |
|
10272 |
public NET_DVR_GPS_INFO struGPSInfo; |
|
10273 |
public NET_DVR_TIME struTime; |
|
10274 |
public byte[] byRes = new byte[12]; |
|
10275 |
} |
|
10276 |
|
|
10277 |
public static interface fGPSDataCallback extends Callback { |
|
10278 |
public void invoke(int nHandle, int dwState, Pointer lpBuffer, int dwBufLen, Pointer pUser); |
|
10279 |
} |
|
10280 |
|
|
10281 |
int NET_DVR_GetVehicleGpsInfo(int lUserID, NET_DVR_GET_GPS_DATA_PARAM lpGPSDataParam, fGPSDataCallback cbGPSDataCallBack, Pointer pUser); |
|
10282 |
|
|
10283 |
/** |
|
10284 |
* 热成像相关 |
|
10285 |
*/ |
|
10286 |
//设备抓图附加全屏测温数据结构体 |
|
10287 |
public static class NET_DVR_JPEGPICTURE_WITH_APPENDDATA extends HIKSDKStructure { |
|
10288 |
public int dwSize; |
|
10289 |
public int dwChannel;//通道号 |
|
10290 |
public int dwJpegPicLen;//Jpeg图片长度 |
|
10291 |
public Pointer pJpegPicBuff;//Jpeg图片指针 |
|
10292 |
public int dwJpegPicWidth; // 图像宽度 |
|
10293 |
public int dwJpegPicHeight; //图像高度 |
|
10294 |
public int dwP2PDataLen;//全屏测温数据长度 |
|
10295 |
public Pointer pP2PDataBuff; //全屏测温数据指针 |
|
10296 |
public byte byIsFreezedata;//是否数据冻结 0-否 1-是 |
|
10297 |
public byte[] byRes = new byte[255]; |
|
10298 |
} |
|
10299 |
|
|
10300 |
|
|
10301 |
public static class DATE_TIME extends HIKSDKStructure { |
|
10302 |
public short year; /*APP->DSP 年*/ |
|
10303 |
public short month; /*APP->DSP 月*/ |
|
10304 |
public short dayOfWeek; /*APP->DSP 0:星期日-6:星期六*/ |
|
10305 |
public short day; /*APP->DSP 日*/ |
|
10306 |
public short hour; /*APP->DSP 小时*/ |
|
10307 |
public short minute; /*APP->DSP 分钟*/ |
|
10308 |
public short second; /*APP->DSP 秒*/ |
|
10309 |
public short milliSecond; /*APP->DSP 毫秒*/ |
|
10310 |
} |
|
10311 |
|
|
10312 |
//全屏测温数据解析 |
|
10313 |
public static class STREAM_RT_DATA_INFO_S extends HIKSDKStructure { |
|
10314 |
public int u32RTDataType; // 1-14bit裸数据; 2-全屏测温结果数据; 3-YUV数据 |
|
10315 |
public int u32FrmNum; |
|
10316 |
public int u32StdStamp; //DSP相对时间戳 |
|
10317 |
public DATE_TIME stTime; //绝对时间戳 |
|
10318 |
public int u32Width; |
|
10319 |
public int u32Height; |
|
10320 |
public int u32Len; |
|
10321 |
public int u32Fps; |
|
10322 |
public int u32Chan; |
|
10323 |
} |
|
10324 |
|
|
10325 |
public static class STREAM_FS_SUPPLE_INFO_TEMP extends HIKSDKStructure { |
|
10326 |
public int u32TmDataMode; /* 0为4字节,1为2字节 */ |
|
10327 |
public int u32TmScale; /* 测温缩放比例 */ |
|
10328 |
public int u32TmOffset; /* 测温偏移量,当前固定为0 */ |
|
10329 |
public int byIsFreezedata; /*是否是冻结数据,1:冻结,0:非冻结*/ |
|
10330 |
} |
|
10331 |
|
|
10332 |
public static class STREAM_FARME_INFO_TEMP extends HIKSDKStructure { |
|
10333 |
public int u32MagicNo; //0x70827773 "FRMI"的ascii码 |
|
10334 |
public int u32HeaderSize; //结构体长度 |
|
10335 |
public int u32StreamType; //数据类型: h264/h265, JPEG, Audio, MetaData, RTData: 参见 STREAM_TYPE_E |
|
10336 |
public int u32StreamLen; //数据长度 |
|
10337 |
public STREAM_RT_DATA_INFO_S stRTDataInfo; |
|
10338 |
public STREAM_FS_SUPPLE_INFO_TEMP stFsSuppleInfo; |
|
10339 |
public int[] res = new int[12]; |
|
10340 |
public int u32CrcVal; //结构体校验码 对结构体前面数据进行校验 |
|
10341 |
} |
|
10342 |
|
|
10343 |
//测温规则温度信息 |
|
10344 |
public static class NET_DVR_THERMOMETRYRULE_TEMPERATURE_INFO extends HIKSDKStructure { |
|
10345 |
public float fMaxTemperature; |
|
10346 |
public float fMinTemperature; |
|
10347 |
public float fAverageTemperature; |
|
10348 |
public NET_VCA_POINT struHighestPoint; |
|
10349 |
public NET_VCA_POINT struLowestPoint; |
|
10350 |
public byte byIsFreezedata; |
|
10351 |
public byte[] byRes = new byte[15]; |
|
10352 |
} |
|
10353 |
|
|
10354 |
public static class REMOTECONFIGSTATUS_THERMOMETRY extends HIKSDKStructure { |
|
10355 |
public byte[] byStatus = new byte[4]; |
|
10356 |
public byte[] byErrorCode = new byte[4]; |
|
10357 |
} |
|
10358 |
|
|
10359 |
public static class NET_DVR_FIREDETECTION_ALARM extends HIKSDKStructure { |
|
10360 |
public int dwSize; //结构体大小 |
|
10361 |
public int dwRelativeTime; //相对时标 |
|
10362 |
public int dwAbsTime; //绝对时标 |
|
10363 |
public NET_VCA_DEV_INFO struDevInfo; //前端设备信息 |
|
10364 |
public short wPanPos; |
|
10365 |
public short wTiltPos; |
|
10366 |
public short wZoomPos; |
|
10367 |
public byte byPicTransType; //图片数据传输方式: 0-二进制;1-url |
|
10368 |
public byte byRes1; |
|
10369 |
public int dwPicDataLen; //报警抓拍图片长度 |
|
10370 |
public Pointer pBuffer; //数据指针 |
|
10371 |
public NET_VCA_RECT struRect; //火点框 |
|
10372 |
public NET_VCA_POINT struPoint; //火点框内最高温度点坐标 |
|
10373 |
public short wFireMaxTemperature; //火点最高温度[300℃~4000℃] |
|
10374 |
public short wTargetDistance; //目标距离[100m ~ 10000m] |
|
10375 |
public byte byStrategyType; //策略类型;0~任意报警,1~协同报警,2~多系统报警,3~指定火点报警,4~指定烟雾报警 |
|
10376 |
public byte byAlarmSubType; //报警子类型。0~火点检测报警,1~烟雾检测报警,2~烟火报警 |
|
10377 |
/*是否启用PTZ坐标扩展, |
|
10378 |
0~不启用,PTZ坐标值以wPanPos、wTiltPos、wZoomPos为准。 |
|
10379 |
1~启用,PTZ坐标值以struPtzPosEx为准。但是新老PTZ都需返回。struPtzPosEx的值需转化为wPanPos、wTiltPos、wZoomPos值。 |
|
10380 |
*/ |
|
10381 |
public byte byPTZPosExEnable; |
|
10382 |
public byte byRes2; |
|
10383 |
public NET_PTZ_INFO struPtzPosEx; // ptz坐标扩展(支持高精度PTZ值,精确到小数点后三位) |
|
10384 |
public int dwVisiblePicLen; // 可见光图片长度 |
|
10385 |
public Pointer pVisiblePicBuf; // 可见光图片数据指针 |
|
10386 |
// pSmokeBuf参数当byAlarmSubType报警子类型为1(烟雾检测报警)、2(烟火报警)时生效。 |
|
10387 |
public Pointer pSmokeBuf; //烟雾检测报警数据指针,指向一个NET_DVR_SMOKEDETECTION_ALARM结构体 |
|
10388 |
public short wDevInfoIvmsChannelEx; //与NET_VCA_DEV_INFO里的byIvmsChannel含义相同,能表示更大的值。老客户端用byIvmsChannel能继续兼容,但是最大到255。新客户端版本请使用wDevInfoIvmsChannelEx。 |
|
10389 |
public byte byRes3; |
|
10390 |
public byte byFireScanWaitMode; //火点扫描等待模式 0-自动 1-手动 |
|
10391 |
public int dwVisibleChannel; //可见光通道通道号 |
|
10392 |
public byte byTimeDiffFlag; //时差字段是否有效 0-时差无效, 1-时差有效 |
|
10393 |
public char cTimeDifferenceH; //与UTC的时差(小时),-12 ... +14, +表示东区,,byTimeDiffFlag为1时有效 |
|
10394 |
public char cTimeDifferenceM; //与UTC的时差(分钟),-30, 30, 45, +表示东区,byTimeDiffFlag为1时有效 |
|
10395 |
public byte[] byRes = new byte[49]; |
|
10396 |
} |
|
10397 |
|
|
10398 |
//模块服务配置结构体 |
|
10399 |
public static class NET_DVR_DEVSERVER_CFG extends HIKSDKStructure { |
|
10400 |
public int dwSize; //结构体大小 |
|
10401 |
public byte byIrLampServer; //红外灯设置:0- 禁用,1- 启用 |
|
10402 |
public byte bytelnetServer; //telnet设置:0- 禁用,1- 启用 |
|
10403 |
public byte byABFServer; //ABF设置:0- 启用,1- 禁用,请注意此处参数取值0、1和其他参数取值含义不同 |
|
10404 |
public byte byEnableLEDStatus; //状态指示灯控制:0- 禁用,1- 启用 |
|
10405 |
public byte byEnableAutoDefog; //自动除雾控制:0- 启用,1- 禁用,请注意此处参数取值0、1和其他参数取值含义不同 |
|
10406 |
public byte byEnableSupplementLight; //补光灯控制:0- 启用,1- 禁用,请注意此处参数取值0、1和其他参数取值含义不同 |
|
10407 |
public byte byEnableDeicing; //除冰功能:0- 关闭,1- 开启 |
|
10408 |
public byte byEnableVisibleMovementPower; //可见光机芯电源开关(低功耗模式下有效):0- 关闭,1- 开启 |
|
10409 |
public byte byEnableThermalMovementPower; //热成像机芯电源开关(低功耗模式下有效):0- 关闭,1- 开启 |
|
10410 |
public byte byEnablePtzPower; //云台电源开关(低功耗模式下有效):0- 关闭,1- 开启 |
|
10411 |
public byte byPowerSavingControl; //低功耗策略:0- 保留,1- 休眠模式,2-低功耗模式(低功耗模式下,可见光机芯电源、热成像机芯电源、云台电源控制生效) |
|
10412 |
public byte byCaptureWithSupplimentLightEnabled; //启用抓拍补光使能 0-关闭,1-开启 |
|
10413 |
public byte[] byRes = new byte[244]; //保留,置为0 |
|
10414 |
} |
|
10415 |
|
|
10416 |
public static final int MAX_UPLOADFILE_URL_LEN = 240; |
|
10417 |
public static final int IMPORT_DATA_TO_FACELIB = 39; //导入人脸数据(人脸图片+图片附件信息 到设备人脸库) |
|
10418 |
|
|
10419 |
public static class NET_DVR_UPLOAD_FILE_RET extends HIKSDKStructure { |
|
10420 |
|
|
10421 |
public byte[] sUrl = new byte[MAX_UPLOADFILE_URL_LEN]; //url |
|
10422 |
public byte[] byRes = new byte[260]; |
|
10423 |
} |
|
10424 |
|
|
10425 |
public static class NET_DVR_FLOW_TEST_PARAM extends HIKSDKStructure { |
|
10426 |
public int dwSize; //结构大小 |
|
10427 |
public int lCardIndex; //网卡索引 |
|
10428 |
public int dwInterval; //设备上传流量时间间隔, 单位:100ms |
|
10429 |
public byte[] byRes = new byte[8]; //保留字节 |
|
10430 |
} |
|
10431 |
|
|
10432 |
public static class NET_DVR_RECORD_TIME_SPAN_INQUIRY extends HIKSDKStructure { |
|
10433 |
public int dwSize; //结构体大小 |
|
10434 |
public byte byType; //0 正常音视频录像, 1图片通道录像, 2ANR通道录像, 3抽帧通道录像 |
|
10435 |
public byte[] byRes = new byte[63]; |
|
10436 |
} |
|
10437 |
|
|
10438 |
public static class NET_DVR_RECORD_TIME_SPAN extends HIKSDKStructure { |
|
10439 |
public int dwSize; //结构体大小 |
|
10440 |
public NET_DVR_TIME strBeginTime; //开始时间 |
|
10441 |
public NET_DVR_TIME strEndTime; //结束时间 |
|
10442 |
public byte byType; //0 正常音视频录像, 1图片通道录像, 2ANR通道录像, 3抽帧通道录像 |
|
10443 |
public byte[] byRes = new byte[35]; //保留 |
|
10444 |
} |
|
10445 |
|
|
10446 |
/* |
|
10447 |
* 月历录像分布查询条件结构体 |
|
10448 |
*/ |
|
10449 |
public static class NET_DVR_MRD_SEARCH_PARAM extends HIKSDKStructure { |
|
10450 |
public int dwSize; // 结构体大小 |
|
10451 |
public NET_DVR_STREAM_INFO struStreamInfo = new NET_DVR_STREAM_INFO(); // 监控点 |
|
10452 |
public short wYear; // 年 |
|
10453 |
public byte byMonth; // 月 |
|
10454 |
public byte byDrawFrame; // 0-不抽帧 1-抽帧 |
|
10455 |
public byte byStreamType; //0-主码流 1-子码流 |
|
10456 |
public byte byLocalOrUTC; //0-设备本地时区 1-UTC |
|
10457 |
public byte[] byRes = new byte[30]; |
|
10458 |
} |
|
10459 |
|
|
10460 |
/* |
|
10461 |
* 月历录像分布查询结果结构体 |
|
10462 |
*/ |
|
10463 |
public static class NET_DVR_MRD_SEARCH_RESULT extends HIKSDKStructure { |
|
10464 |
|
|
10465 |
public int dwSize; // 结构体大小 |
|
10466 |
public byte[] byRecordDistribution = new byte[32]; // 录像分布,byRecordDistribution[0]=1表示1日存在录像,byRecordDistribution[0]=0表示没有录像,byRecordDistribution[1]表示2日,以此类推 |
|
10467 |
public byte[] byHasEventRecode = new byte[31]; //事件录像 0-无事件录像,1-有事件录像 |
|
10468 |
public byte byRes; //保留 |
|
10469 |
} |
|
10470 |
|
|
10471 |
public static final int NET_DVR_GET_GISINFO = 3711; |
|
10472 |
//GIS信息 |
|
10473 |
|
|
10474 |
public static class NET_DVR_GIS_INFO extends HIKSDKStructure { |
|
10475 |
public int dwSize; |
|
10476 |
public float fAzimuth; |
|
10477 |
public float fHorizontalValue; |
|
10478 |
public float fVerticalValue; |
|
10479 |
public float fVisibleRadius; |
|
10480 |
public float fMaxViewRadius; |
|
10481 |
public byte byLatitudeType; |
|
10482 |
public byte byLongitudeType; |
|
10483 |
public byte byPTZPosExEnable; |
|
10484 |
public byte byRes1; |
|
10485 |
public NET_DVR_LLI_PARAM struLatitude = new NET_DVR_LLI_PARAM(); |
|
10486 |
public NET_DVR_LLI_PARAM struLongitude = new NET_DVR_LLI_PARAM(); |
|
10487 |
public NET_DVR_PTZPOS_PARAM struPtzPos = new NET_DVR_PTZPOS_PARAM(); |
|
10488 |
public NET_DVR_SENSOR_PARAM struSensorParam = new NET_DVR_SENSOR_PARAM(); |
|
10489 |
public NET_PTZ_INFO struPtzPosEx = new NET_PTZ_INFO(); |
|
10490 |
public float fMinHorizontalValue; |
|
10491 |
public float fMaxHorizontalValue; |
|
10492 |
public float fMinVerticalValue; |
|
10493 |
public float fMaxVerticalValue; |
|
10494 |
public byte[] byRes = new byte[220]; |
|
10495 |
} |
|
10496 |
|
|
10497 |
//GBT28181协议的设备编码通道配置 |
|
10498 |
public static class NET_DVR_GBT28181_CHANINFO_CFG extends HIKSDKStructure { |
|
10499 |
public int dwSize; |
|
10500 |
public byte[] szVideoChannelNumID = new byte[64];//设备视频通道编码ID:64字节字符串,仅限数字 |
|
10501 |
public byte[] byRes = new byte[256]; |
|
10502 |
} |
|
10503 |
|
|
10504 |
// 巡航路径配置条件结构体 |
|
10505 |
public static class NET_DVR_CRUISEPOINT_COND extends HIKSDKStructure { |
|
10506 |
public int dwSize; |
|
10507 |
public int dwChan; |
|
10508 |
public short wRouteNo; |
|
10509 |
public byte[] byRes = new byte[30]; |
|
10510 |
} |
|
10511 |
|
|
10512 |
// 巡航路径配置结构体 |
|
10513 |
public static class NET_DVR_CRUISEPOINT_V40 extends HIKSDKStructure { |
|
10514 |
public int dwSize; |
|
10515 |
public NET_DVR_CRUISEPOINT_PARAM[] struCruisePoint = (NET_DVR_CRUISEPOINT_PARAM[]) new NET_DVR_CRUISEPOINT_PARAM().toArray(128); |
|
10516 |
public byte[] byRes = new byte[64]; |
|
10517 |
} |
|
10518 |
|
|
10519 |
// 巡航路径配置结构体 |
|
10520 |
public static class NET_DVR_CRUISEPOINT_V50 extends HIKSDKStructure { |
|
10521 |
public int dwSize; |
|
10522 |
public NET_DVR_CRUISEPOINT_PARAM[] struCruisePoint = (NET_DVR_CRUISEPOINT_PARAM[]) new NET_DVR_CRUISEPOINT_PARAM().toArray(256); |
|
10523 |
public byte[] byRes = new byte[64]; |
|
10524 |
} |
|
10525 |
|
|
10526 |
// 巡航点参数结构体 |
|
10527 |
public static class NET_DVR_CRUISEPOINT_PARAM extends HIKSDKStructure { |
|
10528 |
public short wPresetNo; |
|
10529 |
public short wDwell; |
|
10530 |
public byte bySpeed; |
|
10531 |
public byte bySupport256PresetNo; |
|
10532 |
public byte[] byRes = new byte[6]; |
|
10533 |
} |
|
10534 |
|
|
10535 |
} |
|
10536 |
|
|
10537 |
//播放库函数声明,PlayCtrl.dll |
|
10538 |
interface PlayCtrl extends Library { |
|
10539 |
public static final int STREAME_REALTIME = 0; |
|
10540 |
public static final int STREAME_FILE = 1; |
|
10541 |
|
|
10542 |
boolean PlayM4_GetPort(IntByReference nPort); |
|
10543 |
|
|
10544 |
boolean PlayM4_OpenStream(int nPort, ByteByReference pFileHeadBuf, int nSize, int nBufPoolSize); |
|
10545 |
|
|
10546 |
boolean PlayM4_InputData(int nPort, ByteByReference pBuf, int nSize); |
|
10547 |
|
|
10548 |
boolean PlayM4_CloseStream(int nPort); |
|
10549 |
|
|
10550 |
boolean PlayM4_SetStreamOpenMode(int nPort, int nMode); |
|
10551 |
|
|
10552 |
boolean PlayM4_Play(int nPort, HWND hWnd); |
|
10553 |
|
|
10554 |
boolean PlayM4_Stop(int nPort); |
|
10555 |
|
|
10556 |
boolean PlayM4_SetSecretKey(int nPort, int lKeyType, String pSecretKey, int lKeyLen); |
|
10557 |
|
|
10558 |
boolean PlayM4_GetPictureSize(int nPort, IntByReference pWidth, IntByReference pHeight); |
|
10559 |
|
|
10560 |
boolean PlayM4_GetJPEG(int nPort, Pointer pBitmap, int nBufSize, IntByReference pBmpSize); |
|
10561 |
|
|
10562 |
int PlayM4_GetLastError(int nPort); |
|
10563 |
|
|
10564 |
boolean PlayM4_SetDecCallBackExMend(int nPort, DecCallBack decCBFun, Pointer pDest, int nDestSize, int nUser); |
|
10565 |
|
|
10566 |
public static interface DecCallBack extends Callback { |
|
10567 |
void invoke(int nPort, Pointer pBuf, int nSize, FRAME_INFO pFrameInfo, int nReserved1, int nReserved2); |
|
10568 |
} |
|
10569 |
|
|
10570 |
public class FRAME_INFO extends HIKSDKStructure { |
|
10571 |
public int nWidth; /* 画面宽,单位像素。如果是音频数据,则为音频声道数 */ |
|
10572 |
public int nHeight; /* 画面高,单位像素。如果是音频数据,则为样位率 */ |
|
10573 |
public int nStamp; /* 时标信息,单位毫秒 */ |
|
10574 |
public int nType; /* 数据类型,T_AUDIO16, T_RGB32, T_YV12 */ |
|
10575 |
public int nFrameRate; /* 编码时产生的图像帧率,如果是音频数据则为采样率 */ |
|
10576 |
public int dwFrameNum; /* 帧号 */ |
|
10577 |
} |
|
10578 |
|
|
10579 |
} |
|
10580 |
|
|
10581 |
//windows gdi接口,gdi32.dll in system32 folder, 在设置遮挡区域,移动侦测区域等情况下使用 |
|
10582 |
interface GDI32 extends W32API { |
|
10583 |
GDI32 INSTANCE = (GDI32) Native.loadLibrary("gdi32", GDI32.class, DEFAULT_OPTIONS); |
|
10584 |
|
|
10585 |
public static final int TRANSPARENT = 1; |
|
10586 |
|
|
10587 |
int SetBkMode(HDC hdc, int i); |
|
10588 |
|
|
10589 |
HANDLE CreateSolidBrush(int icolor); |
|
10590 |
} |
|
10591 |
|
|
10592 |
//windows user32接口,user32.dll in system32 folder, 在设置遮挡区域,移动侦测区域等情况下使用 |
|
10593 |
interface USER32 extends W32API { |
|
10594 |
|
|
10595 |
USER32 INSTANCE = (USER32) Native.loadLibrary("user32", USER32.class, DEFAULT_OPTIONS); |
|
10596 |
|
|
10597 |
public static final int BF_LEFT = 0x0001; |
|
10598 |
public static final int BF_TOP = 0x0002; |
|
10599 |
public static final int BF_RIGHT = 0x0004; |
|
10600 |
public static final int BF_BOTTOM = 0x0008; |
|
10601 |
public static final int BDR_SUNKENOUTER = 0x0002; |
|
10602 |
public static final int BF_RECT = (BF_LEFT | BF_TOP | BF_RIGHT | BF_BOTTOM); |
|
10603 |
|
|
10604 |
boolean DrawEdge(HDC hdc, com.sun.jna.examples.win32.GDI32.RECT qrc, int edge, int grfFlags); |
|
10605 |
|
|
10606 |
int FillRect(HDC hDC, com.sun.jna.examples.win32.GDI32.RECT lprc, HANDLE hbr); |
|
10607 |
} |
|
10608 |
|