提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.enumeration; |
H |
2 |
/** |
|
3 |
* @author 47081 |
|
4 |
* @desc |
|
5 |
* @version 1.0.0 |
|
6 |
* @date 2021/4/12 |
|
7 |
*/ |
|
8 |
import com.netsdk.lib.NetSDKLib; |
|
9 |
import com.netsdk.lib.structure.NET_IN_VIDEOIN_DAYNIGHT_CAPS; |
|
10 |
import com.netsdk.lib.structure.NET_OUT_VIDEOIN_DAYNIGHT_CAPS; |
|
11 |
import com.sun.jna.Pointer; |
|
12 |
|
|
13 |
/** |
|
14 |
* @author 47081 |
|
15 |
* @description 设备能力类型,对应 {@link NetSDKLib#CLIENT_GetDevCaps(NetSDKLib.LLong, int, Pointer, Pointer, |
|
16 |
* int)}的nType参数 {@see}注解为暂未实现的封装 {@link}注解对应已有实现封装 |
|
17 |
* @date 2021/4/12 |
|
18 |
* @version 1.0 |
|
19 |
*/ |
|
20 |
public enum GetDevCaps_Type { |
|
21 |
/** 电源时序器能力,pInBuf对应{@see NET_IN_CAP_SEQPOWER}, pOutBuf对应{@see NET_OUT_CAP_SEQPOWER} */ |
|
22 |
NET_DEV_CAP_SEQPOWER(0x01, "电源时序器能力"), |
|
23 |
/** pInBuf对应NET_IN_ENCODE_CFG_CAPS pOutBuf对应 NET_OUT_ENCODE_CFG_CAPS */ |
|
24 |
NET_ENCODE_CFG_CAPS(0x02, "设备编码配置对应能力"), |
|
25 |
/** pInBuf=NET_IN_VIDEOIN_FISHEYE_CAPS, pOutBuf=NET_OUT_VIDEOIN_FISHEYE_CAPS* */ |
|
26 |
NET_VIDEOIN_FISHEYE_CAPS(0x03, "鱼眼能力"), |
|
27 |
/** pInBuf=NET_IN_COMPOSITE_CAPS, pOutBuf=NET_OUT_COMPOSITE_CAPS */ |
|
28 |
NET_COMPOSITE_CAPS(0x04, "根据指定的窗口号预先获取融合后的能力集"), |
|
29 |
/** pInBuf=NET_IN_VIDEO_DETECT_CAPS, pOutBuf=NET_OUT_VIDEO_DETECT_CAPS */ |
|
30 |
NET_VIDEO_DETECT_CAPS(0x05, "获取视频检测输入能力集"), |
|
31 |
/** |
|
32 |
* pInBuf对应{@link NetSDKLib.NET_IN_THERMO_GETCAPS}, pOutBuf对应{@link |
|
33 |
* NetSDKLib.NET_OUT_THERMO_GETCAPS} |
|
34 |
*/ |
|
35 |
NET_THERMO_GRAPHY_CAPS(0x06, "热成像摄像头属性能力"), |
|
36 |
/** |
|
37 |
* pInBuf对应{@link NetSDKLib.NET_IN_RADIOMETRY_GETCAPS}, pOutBuf对应{@link |
|
38 |
* NetSDKLib.NET_OUT_RADIOMETRY_GETCAPS} |
|
39 |
*/ |
|
40 |
NET_RADIOMETRY_CAPS(0x07, "热成像测温全局配置能力"), |
|
41 |
/** pInBuf = NET_IN_POS_GETCAPS,pOutBuf = NET_OUT_POS_GETCAPS */ |
|
42 |
NET_POS_CAPS(0x08, "POS机能力"), |
|
43 |
/** pInBuf = NET_IN_USER_MNG_GETCAPS, pOutBuf = NET_OUT_USER_MNG_GETCAPS */ |
|
44 |
NET_USER_MNG_CAPS(0x09, "用户管理能力"), |
|
45 |
/** pInBuf=NET_IN_MEDIAMANAGER_GETCAPS,pOutBuf=NET_OUT_MEDIAMANAGER_GETCAPS */ |
|
46 |
NET_MEDIAMANAGER_CAPS(0x0a, "获取 VideoInput 的各个能力项"), |
|
47 |
/** pInBuf=NET_IN_MEDIA_VIDEOMOSAIC_GETCAPS,pOutBuf=NET_OUT_MEDIA_VIDEOMOSAIC_GETCAPS */ |
|
48 |
NET_VIDEO_MOSAIC_CAPS(0x0b, "获取通道马赛克叠加能力"), |
|
49 |
/** pInBuf=NET_IN_SNAP_CFG_CAPS, pOutBuf= NET_OUT_SNAP_CFG_CAPS */ |
|
50 |
NET_SNAP_CFG_CAPS(0x0c, "设备抓图配置对应能力"), |
|
51 |
/** pInBUf = NET_IN_VIDEOIN_CAPS, pOutBuf = NET_OUT_VIDEOIN_CAPS */ |
|
52 |
NET_VIDEOIN_CAPS(0x0d, "设备视频输出能力"), |
|
53 |
/** pInBuf = NET_IN_FACEBOARD_CAPS, pOutBuf = NET_OUT_FACEBOARD_CAPS */ |
|
54 |
NET_FACE_BOARD_CAPS(0x0e, "面板设备能力集"), |
|
55 |
/** pInBuf = NET_IN_EXTERNALSENSOR_CAPS, pOutBuf =NET_OUT_EXTERNALSENSOR_CAPS */ |
|
56 |
NET_EXTERNALSENSOR_CAPS(0x0f, "外部传感器管理能力集"), |
|
57 |
/** pInBuf = NET_IN_VIDEO_IMAGECONTROL_CAPS, pOutBuf =NET_OUT_VIDEO_IMAGECONTROL_CAPS* */ |
|
58 |
NET_VIDEO_IMAGECONTROL_CAPS(0x10, "图像旋转设置能力"), |
|
59 |
/** pInBuf = NET_IN_VIDEOIN_EXPOSURE_CAPS, pOutBuf = NET_OUT_VIDEOIN_EXPOSURE_CAPS */ |
|
60 |
NET_VIDEOIN_EXPOSURE_CAPS(0x11, "曝光设置能力"), |
|
61 |
/** pInBuf = NET_IN_VIDEOIN_DENOISE_CAPS, pOutBuf = NET_OUT_VIDEOIN_DENOISE_CAPS */ |
|
62 |
NET_VIDEOIN_DENOISE_CAPS(0x12, "降噪能力"), |
|
63 |
/** pInBuf = NET_IN_VIDEOIN_BACKLIGHT_CAPS, pOutBuf = NET_OUT_VIDEOIN_BACKLIGHT_CAPS */ |
|
64 |
NET_VIDEOIN_BACKLIGHT_CAPS(0x13, "背光设置能力"), |
|
65 |
/** pInBuf = NET_IN_VIDEOIN_WHITEBALANCE_CAPS, pOutBuf = NET_OUT_VIDEOIN_WHITEBALANCE_CAPS */ |
|
66 |
NET_VIDEOIN_WHITEBALANCE_CAPS(0x14, "白平衡设置能力"), |
|
67 |
/** |
|
68 |
* pInBuf = {@link NET_IN_VIDEOIN_DAYNIGHT_CAPS}, pOutBuf = {@link NET_OUT_VIDEOIN_DAYNIGHT_CAPS} |
|
69 |
*/ |
|
70 |
NET_VIDEOIN_DAYNIGHT_CAPS(0x15, "球机机芯日夜设置能力"), |
|
71 |
/** pInBuf = NET_IN_VIDEOIN_ZOOM_CAPS, pOutBuf = NET_OUT_VIDEOIN_ZOOM_CAPS */ |
|
72 |
NET_VIDEOIN_ZOOM_CAPS(0x16, "变倍设置能力"), |
|
73 |
/** pInBuf = NET_IN_VIDEOIN_FOCUS_CAPS, pOutBuf = NET_OUT_VIDEOIN_FOCUS_CAPS */ |
|
74 |
NET_VIDEOIN_FOCUS_CAPS(0x17, "聚焦设置能力"), |
|
75 |
/** pInBuf = NET_IN_VIDEOIN_SHARPNESS_CAPS, pOutBuf = NET_OUT_VIDEOIN_SHARPNESS_CAPS */ |
|
76 |
NET_VIDEOIN_SHARPNESS_CAPS(0x18, "锐度设置能力"), |
|
77 |
/** pInBuf = NET_IN_VIDEOIN_COLOR_CAPS, pOutBuf = NET_OUT_VIDEOIN_COLOR_CAPS */ |
|
78 |
NET_VIDEOIN_COLOR_CAPS(0x19, "图像设置能力"), |
|
79 |
/** pInBuf = NET_IN_GET_MASTERSLAVEGROUP_CAPS, pOutBuf = // NET_OUT_GET_MASTERSLAVEGROUP_CAPS */ |
|
80 |
NET_GET_MASTERSLAVEGROUP_CAPS(0x1a, "获取跟踪业务能力"), |
|
81 |
/** |
|
82 |
* pInBuf = NET_IN_FACERECOGNITIONSERVER_CAPSBILITYQUERY, pOutBuf = |
|
83 |
* NET_OUT_FACERECOGNITIONSERVER_CAPSBILITYQUERY * |
|
84 |
*/ |
|
85 |
NET_FACERECOGNITIONSE_CAPS(0x1b, "目标识别服务器能力查询"), |
|
86 |
/** pInBuf = NET_IN_STORAGE_CAPS, pOutBuf = NET_OUT_STORAGE_CAPS */ |
|
87 |
NET_STORAGE_CAPS(0x1c, "获取存储能力集"), |
|
88 |
/** pInBuf = NET_IN_VIDEOIN_RAWFRAME_CAPS, pOutBuf = // NET_OUT_VIDEOIN_RAWFRAME_CAPS */ |
|
89 |
NET_VIDEOIN_RAWFRAME_CAPS(0x1d, "获取视频输入扩展能力集"), |
|
90 |
/** pInBuf = NET_IN_GET_COAXIAL_CONTROL_IO_CAPS, pOutBuf = NET_OUT_GET_COAXIAL_CONTROL_IO_CAPS */ |
|
91 |
NET_COAXIAL_CONTROL_IO_CAPS(0x1e, "获取同轴IO控制能力"), |
|
92 |
/** pInBuf = NET_IN_GET_FACEINFO_CAPS, pOutBuf = NET_OUT_GET_FACEINFO_CAPS */ |
|
93 |
NET_FACEINFO_CAPS(0x1f, "获得人脸门禁控制器能力集"), |
|
94 |
/** pInBuf = NET_IN_AC_CAPS, pOutBuf = NET_OUT_AC_CAPS */ |
|
95 |
NET_ACCESSCONTROL_CAPS(0x20, "获取门禁能力"), |
|
96 |
/** |
|
97 |
* pInBuf = NET_IN_GET_COAXIAL_CONTROL_IO_STATUS, pOutBuf = NET_OUT_GET_COAXIAL_CONTROL_IO_STATUS* |
|
98 |
*/ |
|
99 |
NET_COAXIAL_CONTROL_IO_STATUS(0x21, "获取同轴IO白光灯和喇叭状态"), |
|
100 |
/** pInBuf =NET_IN_LIGHTINGCONTROL_CAPS,pOutBuf=NET_OUT_LIGHTINGCONTROL_CAPS */ |
|
101 |
NET_LIGHTINGCONTROL_CAPS(0x22, "获取补光灯能力(IPC/SD使用)"), |
|
102 |
/** pInBuf =NET_IN_SUPPORT_GET_AUDIO_DECODE_CAPS,pOutBuf=NET_OUT_SUPPORT_GET_AUDIO_DECODE_CAPS* */ |
|
103 |
NET_SUPPORT_GET_AUDIO_DECODE_CAPS(0x23, "获取设备是否支持音频解码能力获取"), |
|
104 |
/** pInBuf = NET_IN_UNIFIEDINFOCOLLECT_CAPS, pOutBuf = NET_OUT_UNIFIEDINFOCOLLECT_CAPS */ |
|
105 |
NET_UNIFIEDINFOCOLLECT_CAPS(0x24, "获取设备是否支持DMSS专用协议能力"), |
|
106 |
/** pInBuf = NET_IN_EXALARMBOX_CAPS, pOutBuf = NET_OUT_EXALARMBOX_CAPS */ |
|
107 |
NET_EXALARMBOX_CAPS(0x25, "获取某个扩展报警盒的能力集"), |
|
108 |
/** pInBuf = NET_IN_ALARMBOXMANAGER_CAPS, pOutBuf = NET_OUT_ALARMBOXMANAGER_CAPS */ |
|
109 |
NET_ALARMBOXMANAGER_CAPS(0x26, "获取报警盒子管理器能力集"), |
|
110 |
/** pInBuf = NET_IN_GET_AUDIO_DETECT_CAPS, pOutBuf = NET_OUT_GET_AUDIO_DETECT_CAPS */ |
|
111 |
NET_GET_AUDIO_DETECT_CAPS(0x27, "获取音频输入能力集"), |
|
112 |
/** |
|
113 |
* pInBuf = NET_IN_SUPPORT_FACEDB_DOWNLOAD_CAPS, pOutBuf = NET_OUT_SUPPORT_FACEDB_DOWNLOAD_CAPS |
|
114 |
*/ |
|
115 |
NET_SUPPORT_FACEDB_DOWNLOAD(0x28, "获取是否支持远程人脸库下载"), |
|
116 |
/** pInBuf = NET_IN_GET_LENS_FUNC_CAPS, pOutBuf = NET_OUT_GET_LENS_FUNC_CAPS */ |
|
117 |
NET_GET_LENS_FUNC_CAPS(0x29, "获取角度调节能力集"), |
|
118 |
/** pInBuf = NET_IN_VIDEO_TALK_MANAGER_CAPS, pOutBuf = NET_OUT_VIDEO_TALK_MANAGER_CAPS */ |
|
119 |
NET_VIDEO_TALK_MANAGER_CAPS(0x2a, "获取可视对讲能力"), |
|
120 |
/** pInBuf = NET_IN_VIDEO_IN_DEFOG_CAPS, pOutBuf = NET_OUT_VIDEO_IN_DEFOG_CAPS */ |
|
121 |
NET_VIDEO_IN_DEFOG_CAPS(0x30, "获取视频透雾能力集"), |
|
122 |
/** pInBuf = NET_IN_DIAGNOSIS_CAPS, pOutBuf = NET_OUT_DIAGNOSIS_CAPS */ |
|
123 |
NET_DIAGNOSIS_CAPS(0x31, "获取故障诊断能力"), |
|
124 |
/** pInBuf = NET_IN_LOWRATEWPAN_CAPS, pOutBuf = NET_OUT_LOWRATEWPAN_CAPS */ |
|
125 |
NET_LOWRATEWPAN_CAPS(0x32, "获取低功率WPAN能力集"), |
|
126 |
/** pInBuf = NET_IN_GET_FILE_TRANSFER_CAPS, pOutBuf = NET_OUT_GET_FILE_TRANSFER_CAPS */ |
|
127 |
NET_GET_FILE_TRANSFER_CAPS(0x33, "获取远程文件下载能力集"), |
|
128 |
/** pInBuf = NET_IN_AUDIO_OUTPUT_CAPS, pOutBuf = NET_OUT_AUDIO_OUTPUT_CAPS */ |
|
129 |
NET_AUDIO_OUTPUT_CAPS(0x34, "获取音频输出能力"), |
|
130 |
/** |
|
131 |
* pInBuf = NET_IN_REMOTE_FACE_RECOGNITION_CAPS, pOutBuf = NET_OUT_REMOTE_FACE_RECOGNITION_CAPS* |
|
132 |
*/ |
|
133 |
NET_REMOTE_FACE_RECOGNITION_CAPS(0x35, "获取远程目标识别服务器能力"), |
|
134 |
/** pInBuf = NET_IN_REMOTE_COLLECT_DEVINFO_CAPS, pOutBuf = NET_OUT_REMOTE_COLLECT_DEVINFO_CAPS */ |
|
135 |
NET_REMOTE_COLLECT_DEVINFO_CAPS(0x36, "获取远程设备信息采集能力"), |
|
136 |
/** pInBuf = NET_IN_MONITOR_WALL_CAPS_INFO, pOutBuf = NET_OUT_MONITOR_WALL_CAPS_INFO */ |
|
137 |
NET_MONITOR_WALL_CAPS(0x37, "获取电视墙管理器实例能力集"), |
|
138 |
/** pInBuf = NET_IN_REMOTE_SPEAK_CAPS, pOutBuf = NET_OUT_REMOTE_SPEAK_CAPS */ |
|
139 |
NET_REMOTE_SPEAK_CAPS(0x38, "获取前端音频文件路径和能力集"), |
|
140 |
/** pInBuf = NET_IN_WLAN_CAPS_INFO, pOutBuf = NET_OUT_WLAN_CAPS_INFO */ |
|
141 |
NET_WLAN_CAPS(0x39, "获取WLAN能力集"), |
|
142 |
/** pInBuf = NET_IN_LOG_ONLINE_BACKUP_CAPS_INFO, pOutBuf = NET_OUT_LOG_ONLINE_BACKUP_CAPS_INFO */ |
|
143 |
NET_LOG_ONLINE_BACKUP_CAPS(0x3A, "获取日志在线备份能力集"), |
|
144 |
/** pInBuf = NET_IN_RECEIPT_EVENT_CAPS_INFO, pOutBuf = NET_OUT_RECEIPT_EVENT_CAPS_INFO */ |
|
145 |
NET_RECEIPT_EVENT_CAPS(0x3B, "获取事件回执能力集"), |
|
146 |
/** |
|
147 |
* pInBuf = NET_IN_ANALYSE_TASK_MANAGER_CAPS_INFO, pOutBuf = |
|
148 |
* NET_OUT_ANALYSE_TASK_MANAGER_CAPS_INFO |
|
149 |
*/ |
|
150 |
NET_ANALYSE_TASK_MANAGER_CAPS(0x3C, "获取智能任务分析能力集"), |
|
151 |
/** pInBuf = NET_IN_PERIPHERAL_CHIP_CAPS, pOutBuf = NET_OUT_PERIPHERAL_CHIP_CAPS */ |
|
152 |
NET_PERIPHERAL_CHIP_CAPS(0x3D, "获取设备从片能力"), |
|
153 |
/** |
|
154 |
* pInBuf = NET_IN_CITIZEN_IDENTITY_MANAGER_CAPS, pOutBuf = NET_OUT_CITIZEN_IDENTITY_MANAGER_CAPS* |
|
155 |
*/ |
|
156 |
NET_CITIZEN_IDENTITY_MANAGER_CAPS(0x3E, "获取人证设备能力集"), |
|
157 |
/** pInBuf = NET_IN_AROUD_4G_PROBE_SEARCH_CAPS, pOutBuf = NET_OUT_AROUD_4G_PROBE_SEARCH_CAPS */ |
|
158 |
NET_AROUD_4G_PROBE_SEARCH_CAPS(0x3F, "获取电子围栏手机采集能力"), |
|
159 |
/** pInBuf = NET_IN_GET_ADVERTIMENT_CAPS, pOutBuf = NET_OUT_GET_ADVERTIMENT_CAPS */ |
|
160 |
NET_GET_ADVERTIMENT_CAPS(0x4A, "获取设备广告投放能力"), |
|
161 |
/** pInBuf = NET_IN_LIGHTING_MIX_SOLUTION_CAPS, pOutBuf = NET_OUT_LIGHTING_MIX_SOLUTION_CAPS */ |
|
162 |
NET_VIDEOIN_LIGHTING_MIX_SOLUTION_CAPS(0x40, "混光灯补光方案能力"); |
|
163 |
|
|
164 |
GetDevCaps_Type(int type, String desc) { |
|
165 |
this.type = type; |
|
166 |
this.desc = desc; |
|
167 |
} |
|
168 |
|
|
169 |
private int type; |
|
170 |
private String desc; |
|
171 |
|
|
172 |
public int getType() { |
|
173 |
return type; |
|
174 |
} |
|
175 |
|
|
176 |
public void setType(int type) { |
|
177 |
this.type = type; |
|
178 |
} |
|
179 |
|
|
180 |
public String getDesc() { |
|
181 |
return desc; |
|
182 |
} |
|
183 |
|
|
184 |
public void setDesc(String desc) { |
|
185 |
this.desc = desc; |
|
186 |
} |
|
187 |
|
|
188 |
public static GetDevCaps_Type getDevCapsType(int type) { |
|
189 |
for (GetDevCaps_Type cap : GetDevCaps_Type.values()) { |
|
190 |
if (cap.type == type) { |
|
191 |
return cap; |
|
192 |
} |
|
193 |
} |
|
194 |
return null; |
|
195 |
} |
|
196 |
} |