提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.enumeration; |
H |
2 |
|
|
3 |
|
|
4 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 47081 |
|
8 |
* @version 1.0 |
|
9 |
* @description netSdk错误类型枚举 |
|
10 |
* @since 2020/7/28 |
|
11 |
*/ |
|
12 |
public enum ENUMERROR { |
|
13 |
NET_UNDEFIND(-2, "没有定义"), |
|
14 |
NET_NOERROR(0, "没有错误"), |
|
15 |
NET_ERROR(-1, "未知错误"), |
|
16 |
NET_SYSTEM_ERROR(1, "Windows系统出错"), |
|
17 |
NET_NETWORK_ERROR(2, "网络错误,可能是因为网络超时"), |
|
18 |
NET_DEV_VER_NOMATCH(3, "设备协议不匹配"), |
|
19 |
NET_INVALID_HANDLE(4, "句柄无效"), |
|
20 |
NET_OPEN_CHANNEL_ERROR(5, "打开通道失败"), |
|
21 |
NET_CLOSE_CHANNEL_ERROR(6, "关闭通道失败"), |
|
22 |
NET_ILLEGAL_PARAM(7, "用户参数不合法"), |
|
23 |
NET_SDK_INIT_ERROR(8, "SDK初始化出错"), |
|
24 |
NET_SDK_UNINIT_ERROR(9, "SDK清理出错"), |
|
25 |
NET_RENDER_OPEN_ERROR(10, "申请render资源出错"), |
|
26 |
NET_DEC_OPEN_ERROR(11, "打开解码库出错"), |
|
27 |
NET_DEC_CLOSE_ERROR(12, "关闭解码库出错"), |
|
28 |
|
|
29 |
NET_MULTIPLAY_NOCHANNEL(13, "多画面预览中检测到通道数为0"), |
|
30 |
NET_TALK_INIT_ERROR(14, "录音库初始化失败"), |
|
31 |
NET_TALK_NOT_INIT(15, "录音库未经初始化"), |
|
32 |
NET_TALK_SENDDATA_ERROR(16, "发送音频数据出错"), |
|
33 |
NET_REAL_ALREADY_SAVING(17, "实时数据已经处于保存状态"), |
|
34 |
NET_NOT_SAVING(18, "未保存实时数据"), |
|
35 |
NET_OPEN_FILE_ERROR(19, "打开文件出错"), |
|
36 |
NET_PTZ_SET_TIMER_ERROR(20, "启动云台控制定时器失败"), |
|
37 |
NET_RETURN_DATA_ERROR(21, "对返回数据的校验出错"), |
|
38 |
NET_INSUFFICIENT_BUFFER(22, "没有足够的缓存"), |
|
39 |
NET_NOT_SUPPORTED(23, "当前SDK未支持该功能"), |
|
40 |
NET_NO_RECORD_FOUND(24, "查询不到录像"), |
|
41 |
NET_NOT_AUTHORIZED(25, "无操作权限"), |
|
42 |
NET_NOT_NOW(26, "暂时无法执行"), |
|
43 |
NET_NO_TALK_CHANNEL(27, "未发现对讲通道"), |
|
44 |
NET_NO_AUDIO(28, "未发现音频"), |
|
45 |
NET_NO_INIT(29, "网络SDK未经初始化"), |
|
46 |
NET_DOWNLOAD_END(30, "下载已结束"), |
|
47 |
NET_EMPTY_LIST(31, "查询结果为空"), |
|
48 |
NET_ERROR_GETCFG_SYSATTR(32, "获取系统属性配置失败"), |
|
49 |
NET_ERROR_GETCFG_SERIAL(33, "获取序列号失败"), |
|
50 |
NET_ERROR_GETCFG_GENERAL(34, "获取常规属性失败"), |
|
51 |
NET_ERROR_GETCFG_DSPCAP(35, "获取DSP能力描述失败"), |
|
52 |
NET_ERROR_GETCFG_NETCFG(36, "获取网络配置失败"), |
|
53 |
NET_ERROR_GETCFG_CHANNAME(37, "获取通道名称失败"), |
|
54 |
NET_ERROR_GETCFG_VIDEO(38, "获取视频属性失败"), |
|
55 |
NET_ERROR_GETCFG_RECORD(39, "获取录象配置失败"), |
|
56 |
NET_ERROR_GETCFG_PRONAME(40, "获取解码器协议名称失败"), |
|
57 |
NET_ERROR_GETCFG_FUNCNAME(41, "获取232串口功能名称失败"), |
|
58 |
NET_ERROR_GETCFG_485DECODER(42, "获取解码器属性失败"), |
|
59 |
NET_ERROR_GETCFG_232COM(43, "获取232串口配置失败"), |
|
60 |
NET_ERROR_GETCFG_ALARMIN(44, "获取外部报警输入配置失败"), |
|
61 |
NET_ERROR_GETCFG_ALARMDET(45, "获取动态检测报警失败"), |
|
62 |
NET_ERROR_GETCFG_SYSTIME(46, "获取设备时间失败"), |
|
63 |
NET_ERROR_GETCFG_PREVIEW(47, "获取预览参数失败"), |
|
64 |
NET_ERROR_GETCFG_AUTOMT(48, "获取自动维护配置失败"), |
|
65 |
NET_ERROR_GETCFG_VIDEOMTRX(49, "获取视频矩阵配置失败"), |
|
66 |
NET_ERROR_GETCFG_COVER(50, "获取区域遮挡配置失败"), |
|
67 |
NET_ERROR_GETCFG_WATERMAKE(51, "获取图象水印配置失败"), |
|
68 |
NET_ERROR_GETCFG_MULTICAST(52, "获取配置失败位置:组播端口按通道配置"), |
|
69 |
NET_ERROR_SETCFG_GENERAL(55, "修改常规属性失败"), |
|
70 |
NET_ERROR_SETCFG_NETCFG(56, "修改网络配置失败"), |
|
71 |
NET_ERROR_SETCFG_CHANNAME(57, "修改通道名称失败"), |
|
72 |
NET_ERROR_SETCFG_VIDEO(58, "修改视频属性失败"), |
|
73 |
NET_ERROR_SETCFG_RECORD(59, "修改录象配置失败"), |
|
74 |
NET_ERROR_SETCFG_485DECODER(60, "修改解码器属性失败"), |
|
75 |
NET_ERROR_SETCFG_232COM(61, "修改232串口配置失败"), |
|
76 |
NET_ERROR_SETCFG_ALARMIN(62, "修改外部输入报警配置失败"), |
|
77 |
NET_ERROR_SETCFG_ALARMDET(63, "修改动态检测报警配置失败"), |
|
78 |
NET_ERROR_SETCFG_SYSTIME(64, "修改设备时间失败"), |
|
79 |
NET_ERROR_SETCFG_PREVIEW(65, "修改预览参数失败"), |
|
80 |
NET_ERROR_SETCFG_AUTOMT(66, "修改自动维护配置失败"), |
|
81 |
NET_ERROR_SETCFG_VIDEOMTRX(67, "修改视频矩阵配置失败"), |
|
82 |
NET_ERROR_SETCFG_COVER(68, "修改区域遮挡配置失败"), |
|
83 |
NET_ERROR_SETCFG_WATERMAKE(69, "修改图象水印配置失败"), |
|
84 |
NET_ERROR_SETCFG_WLAN(70, "修改无线网络信息失败"), |
|
85 |
NET_ERROR_SETCFG_WLANDEV(71, "选择无线网络设备失败"), |
|
86 |
NET_ERROR_SETCFG_REGISTER(72, "修改主动注册参数配置失败"), |
|
87 |
NET_ERROR_SETCFG_CAMERA(73, "修改摄像头属性配置失败"), |
|
88 |
NET_ERROR_SETCFG_INFRARED(74, "修改红外报警配置失败"), |
|
89 |
NET_ERROR_SETCFG_SOUNDALARM(75, "修改音频报警配置失败"), |
|
90 |
NET_ERROR_SETCFG_STORAGE(76, "修改存储位置配置失败"), |
|
91 |
NET_AUDIOENCODE_NOTINIT(77, "音频编码接口没有成功初始化"), |
|
92 |
NET_DATA_TOOLONGH(78, "数据过长"), |
|
93 |
NET_UNSUPPORTED(79, "设备不支持该操作"), |
|
94 |
NET_DEVICE_BUSY(80, "设备资源不足"), |
|
95 |
NET_SERVER_STARTED(81, "服务器已经启动"), |
|
96 |
NET_SERVER_STOPPED(82, "服务器尚未成功启动"), |
|
97 |
NET_LISTER_INCORRECT_SERIAL(83, "输入序列号有误"), |
|
98 |
NET_QUERY_DISKINFO_FAILED(84, "获取硬盘信息失败"), |
|
99 |
NET_ERROR_GETCFG_SESSION(85, "获取连接Session信息"), |
|
100 |
NET_USER_FLASEPWD_TRYTIME(86, "输入密码错误超过限制次数"), |
|
101 |
NET_LOGIN_ERROR_PASSWORD(100, "密码不正确"), |
|
102 |
NET_LOGIN_ERROR_USER(101, "帐户不存在"), |
|
103 |
NET_LOGIN_ERROR_TIMEOUT(102, "等待登录返回超时"), |
|
104 |
NET_LOGIN_ERROR_RELOGGIN(103, "帐号已登录"), |
|
105 |
NET_LOGIN_ERROR_LOCKED(104, "帐号已被锁定"), |
|
106 |
NET_LOGIN_ERROR_BLACKLIST(105, "帐号已被列为禁止名单"), |
|
107 |
NET_LOGIN_ERROR_BUSY(106, "资源不足,系统忙"), |
|
108 |
NET_LOGIN_ERROR_CONNECT(107, "登录设备超时,请检查网络并重试"), |
|
109 |
NET_LOGIN_ERROR_NETWORK(108, "网络连接失败"), |
|
110 |
NET_LOGIN_ERROR_SUBCONNECT(109, "登录设备成功,但无法创建视频通道,请检查网络状况"), |
|
111 |
NET_LOGIN_ERROR_MAXCONNECT(110, "超过最大连接数"), |
|
112 |
NET_LOGIN_ERROR_PROTOCOL3_ONLY(111, "只支持3代协议"), |
|
113 |
NET_LOGIN_ERROR_UKEY_LOST(112, "未插入U盾或U盾信息错误"), |
|
114 |
NET_LOGIN_ERROR_NO_AUTHORIZED(113, "客户端IP地址没有登录权限"), |
|
115 |
NET_LOGIN_ERROR_USER_OR_PASSOWRD(117, "账号或密码错误"), |
|
116 |
NET_LOGIN_ERROR_DEVICE_NOT_INIT(118, "设备尚未初始化,不能登录,请先初始化设备"), |
|
117 |
NET_RENDER_SOUND_ON_ERROR(120, "Render库打开音频出错"), |
|
118 |
NET_RENDER_SOUND_OFF_ERROR(121, "Render库关闭音频出错"), |
|
119 |
NET_RENDER_SET_VOLUME_ERROR(122, "Render库控制音量出错"), |
|
120 |
NET_RENDER_ADJUST_ERROR(123, "Render库设置画面参数出错"), |
|
121 |
NET_RENDER_PAUSE_ERROR(124, "Render库暂停播放出错"), |
|
122 |
NET_RENDER_SNAP_ERROR(125, "Render库抓图出错"), |
|
123 |
NET_RENDER_STEP_ERROR(126, "Render库步进出错"), |
|
124 |
NET_RENDER_FRAMERATE_ERROR(127, "Render库设置帧率出错"), |
|
125 |
NET_RENDER_DISPLAYREGION_ERROR(128, "Render库设置显示区域出错"), |
|
126 |
NET_RENDER_GETOSDTIME_ERROR(129, "Render库获取当前播放时间出错"), |
|
127 |
NET_GROUP_EXIST(140, "组名已存在"), |
|
128 |
NET_GROUP_NOEXIST(141, "组名不存在"), |
|
129 |
NET_GROUP_RIGHTOVER(142, "组的权限超出权限列表范围"), |
|
130 |
NET_GROUP_HAVEUSER(143, "组下有用户,不能删除"), |
|
131 |
NET_GROUP_RIGHTUSE(144, "组的某个权限被用户使用,不能删除"), |
|
132 |
NET_GROUP_SAMENAME(145, "新组名同已有组名重复"), |
|
133 |
NET_USER_EXIST(146, "用户已存在"), |
|
134 |
NET_USER_NOEXIST(147, "用户不存在"), |
|
135 |
NET_USER_RIGHTOVER(148, "用户权限超出组权限"), |
|
136 |
NET_USER_PWD(149, "保留帐号,不容许修改密码"), |
|
137 |
NET_USER_FLASEPWD(150, "密码不正确"), |
|
138 |
NET_USER_NOMATCHING(151, "密码不匹配"), |
|
139 |
NET_USER_INUSE(152, "账号正在使用中"), |
|
140 |
|
|
141 |
NET_ERROR_GETCFG_ETHERNET(300, "获取网卡配置失败"), |
|
142 |
NET_ERROR_GETCFG_WLAN(301, "获取无线网络信息失败"), |
|
143 |
NET_ERROR_GETCFG_WLANDEV(302, "获取无线网络设备失败"), |
|
144 |
NET_ERROR_GETCFG_REGISTER(303, "获取主动注册参数失败"), |
|
145 |
NET_ERROR_GETCFG_CAMERA(304, "获取摄像头属性失败"), |
|
146 |
NET_ERROR_GETCFG_INFRARED(305, "获取红外报警配置失败"), |
|
147 |
NET_ERROR_GETCFG_SOUNDALARM(306, "获取音频报警配置失败"), |
|
148 |
NET_ERROR_GETCFG_STORAGE(307, "获取存储位置配置失败"), |
|
149 |
NET_ERROR_GETCFG_MAIL(308, "获取邮件配置失败"), |
|
150 |
NET_CONFIG_DEVBUSY(309, "暂时无法设置"), |
|
151 |
NET_CONFIG_DATAILLEGAL(310, "配置数据不合法"), |
|
152 |
NET_ERROR_GETCFG_DST(311, "获取夏令时配置失败"), |
|
153 |
NET_ERROR_SETCFG_DST(312, "设置夏令时配置失败"), |
|
154 |
NET_ERROR_GETCFG_VIDEO_OSD(313, "获取视频OSD叠加配置失败"), |
|
155 |
NET_ERROR_SETCFG_VIDEO_OSD(314, "设置视频OSD叠加配置失败"), |
|
156 |
NET_ERROR_GETCFG_GPRSCDMA(315, "获取CDMA/GPRS网络配置失败"), |
|
157 |
NET_ERROR_SETCFG_GPRSCDMA(316, "设置CDMA/GPRS网络配置失败"), |
|
158 |
NET_ERROR_GETCFG_IPFILTER(317, "获取IP过滤配置失败"), |
|
159 |
NET_ERROR_SETCFG_IPFILTER(318, "设置IP过滤配置失败"), |
|
160 |
NET_ERROR_GETCFG_TALKENCODE(319, "获取语音对讲编码配置失败"), |
|
161 |
NET_ERROR_SETCFG_TALKENCODE(320, "设置语音对讲编码配置失败"), |
|
162 |
NET_ERROR_GETCFG_RECORDLEN(321, "获取录像打包长度配置失败"), |
|
163 |
NET_ERROR_SETCFG_RECORDLEN(322, "设置录像打包长度配置失败"), |
|
164 |
NET_DONT_SUPPORT_SUBAREA(323, "不支持网络硬盘分区"), |
|
165 |
NET_ERROR_GET_AUTOREGSERVER(324, "获取设备上主动注册服务器信息失败"), |
|
166 |
NET_ERROR_CONTROL_AUTOREGISTER(325, "主动注册重定向注册错误"), |
|
167 |
NET_ERROR_DISCONNECT_AUTOREGISTER(326, "断开主动注册服务器错误"), |
|
168 |
NET_ERROR_GETCFG_MMS(327, "获取mms配置失败"), |
|
169 |
NET_ERROR_SETCFG_MMS(328, "设置mms配置失败"), |
|
170 |
NET_ERROR_GETCFG_SMSACTIVATION(329, "获取短信激活无线连接配置失败"), |
|
171 |
NET_ERROR_SETCFG_SMSACTIVATION(330, "设置短信激活无线连接配置失败"), |
|
172 |
NET_ERROR_GETCFG_DIALINACTIVATION(331, "获取拨号激活无线连接配置失败"), |
|
173 |
NET_ERROR_SETCFG_DIALINACTIVATION(332, "设置拨号激活无线连接配置失败"), |
|
174 |
NET_ERROR_GETCFG_VIDEOOUT(333, "查询视频输出参数配置失败"), |
|
175 |
NET_ERROR_SETCFG_VIDEOOUT(334, "设置视频输出参数配置失败"), |
|
176 |
NET_ERROR_GETCFG_OSDENABLE(335, "获取osd叠加使能配置失败"), |
|
177 |
NET_ERROR_SETCFG_OSDENABLE(336, "设置osd叠加使能配置失败"), |
|
178 |
NET_ERROR_SETCFG_ENCODERINFO(337, "设置数字通道前端编码接入配置失败"), |
|
179 |
NET_ERROR_GETCFG_TVADJUST(338, "获取TV调节配置失败"), |
|
180 |
NET_ERROR_SETCFG_TVADJUST(339, "设置TV调节配置失败"), |
|
181 |
NET_ERROR_CONNECT_FAILED(340, "请求建立连接失败"), |
|
182 |
NET_ERROR_SETCFG_BURNFILE(341, "请求刻录文件上传失败"), |
|
183 |
NET_ERROR_SNIFFER_GETCFG(342, "获取抓包配置信息失败"), |
|
184 |
NET_ERROR_SNIFFER_SETCFG(343, "设置抓包配置信息失败"), |
|
185 |
NET_ERROR_DOWNLOADRATE_GETCFG(344, "查询下载限制信息失败"), |
|
186 |
NET_ERROR_DOWNLOADRATE_SETCFG(345, "设置下载限制信息失败"), |
|
187 |
NET_ERROR_SEARCH_TRANSCOM(346, "查询串口参数失败"), |
|
188 |
NET_ERROR_GETCFG_POINT(347, "获取预制点信息错误"), |
|
189 |
NET_ERROR_SETCFG_POINT(348, "设置预制点信息错误"), |
|
190 |
NET_SDK_LOGOUT_ERROR(349, "SDK没有正常登出设备"), |
|
191 |
NET_ERROR_GET_VEHICLE_CFG(350, "获取车载配置失败"), |
|
192 |
NET_ERROR_SET_VEHICLE_CFG(351, "设置车载配置失败"), |
|
193 |
NET_ERROR_GET_ATM_OVERLAY_CFG(352, "获取atm叠加配置失败"), |
|
194 |
NET_ERROR_SET_ATM_OVERLAY_CFG(353, "设置atm叠加配置失败"), |
|
195 |
NET_ERROR_GET_ATM_OVERLAY_ABILITY(354, "获取atm叠加能力失败"), |
|
196 |
NET_ERROR_GET_DECODER_TOUR_CFG(355, "获取解码器解码轮巡配置失败"), |
|
197 |
NET_ERROR_SET_DECODER_TOUR_CFG(356, "设置解码器解码轮巡配置失败"), |
|
198 |
NET_ERROR_CTRL_DECODER_TOUR(357, "控制解码器解码轮巡失败"), |
|
199 |
NET_GROUP_OVERSUPPORTNUM(358, "超出设备支持最大用户组数目"), |
|
200 |
NET_USER_OVERSUPPORTNUM(359, "超出设备支持最大用户数目"), |
|
201 |
NET_ERROR_GET_SIP_CFG(368, "获取SIP配置失败"), |
|
202 |
NET_ERROR_SET_SIP_CFG(369, "设置SIP配置失败"), |
|
203 |
NET_ERROR_GET_SIP_ABILITY(370, "获取SIP能力失败"), |
|
204 |
NET_ERROR_GET_WIFI_AP_CFG(371, "获取WIFI ap配置失败"), |
|
205 |
NET_ERROR_SET_WIFI_AP_CFG(372, "设置WIFI ap配置失败"), |
|
206 |
NET_ERROR_GET_DECODE_POLICY(373, "获取解码策略配置失败"), |
|
207 |
NET_ERROR_SET_DECODE_POLICY(374, "设置解码策略配置失败"), |
|
208 |
NET_ERROR_TALK_REJECT(375, "拒绝对讲"), |
|
209 |
NET_ERROR_TALK_OPENED(376, "对讲被其他客户端打开"), |
|
210 |
NET_ERROR_TALK_RESOURCE_CONFLICIT(377, "资源冲突"), |
|
211 |
NET_ERROR_TALK_UNSUPPORTED_ENCODE(378, "不支持的语音编码格式"), |
|
212 |
NET_ERROR_TALK_RIGHTLESS(379, "无权限"), |
|
213 |
NET_ERROR_TALK_FAILED(380, "请求对讲失败"), |
|
214 |
NET_ERROR_GET_MACHINE_CFG(381, "获取机器相关配置失败"), |
|
215 |
NET_ERROR_SET_MACHINE_CFG(382, "设置机器相关配置失败"), |
|
216 |
NET_ERROR_GET_DATA_FAILED(383, "设备无法获取当前请求数据"), |
|
217 |
NET_ERROR_MAC_VALIDATE_FAILED(384, "MAC地址验证失败"), |
|
218 |
NET_ERROR_GET_INSTANCE(385, "获取服务器实例失败"), |
|
219 |
NET_ERROR_JSON_REQUEST(386, "生成的json字符串错误"), |
|
220 |
NET_ERROR_JSON_RESPONSE(387, "响应的json字符串错误"), |
|
221 |
NET_ERROR_VERSION_HIGHER(388, "协议版本低于当前使用的版本"), |
|
222 |
NET_SPARE_NO_CAPACITY(389, "设备操作失败, 容量不足"), |
|
223 |
NET_ERROR_SOURCE_IN_USE(390, "显示源被其他输出占用"), |
|
224 |
NET_ERROR_REAVE(391, "高级用户抢占低级用户资源"), |
|
225 |
NET_ERROR_NETFORBID(392, "禁止入网"), |
|
226 |
NET_ERROR_GETCFG_MACFILTER(393, "获取MAC过滤配置失败"), |
|
227 |
NET_ERROR_SETCFG_MACFILTER(394, "设置MAC过滤配置失败"), |
|
228 |
NET_ERROR_GETCFG_IPMACFILTER(395, "获取IP/MAC过滤配置失败"), |
|
229 |
NET_ERROR_SETCFG_IPMACFILTER(396, "设置IP/MAC过滤配置失败"), |
|
230 |
NET_ERROR_OPERATION_OVERTIME(397, "当前操作超时"), |
|
231 |
NET_ERROR_SENIOR_VALIDATE_FAILED(398, "高级校验失败"), |
|
232 |
NET_ERROR_DEVICE_ID_NOT_EXIST(399, "设备ID不存在"), |
|
233 |
NET_ERROR_UNSUPPORTED(400, "不支持当前操作"), |
|
234 |
NET_ERROR_PROXY_DLLLOAD(401, "代理库加载失败"), |
|
235 |
NET_ERROR_PROXY_ILLEGAL_PARAM(402, "代理用户参数不合法"), |
|
236 |
NET_ERROR_PROXY_INVALID_HANDLE(403, "代理句柄无效"), |
|
237 |
NET_ERROR_PROXY_LOGIN_DEVICE_ERROR(404, "代理登入前端设备失败"), |
|
238 |
NET_ERROR_PROXY_START_SERVER_ERROR(405, "启动代理服务失败"), |
|
239 |
NET_ERROR_SPEAK_FAILED(406, "请求喊话失败"), |
|
240 |
NET_ERROR_NOT_SUPPORT_F6(407, "设备不支持此F6接口调用"), |
|
241 |
NET_ERROR_CD_UNREADY(408, "光盘未就绪"), |
|
242 |
NET_ERROR_DIR_NOT_EXIST(409, "目录不存在"), |
|
243 |
NET_ERROR_UNSUPPORTED_SPLIT_MODE(410, "设备不支持的分割模式"), |
|
244 |
NET_ERROR_OPEN_WND_PARAM(411, "开窗参数不合法"), |
|
245 |
NET_ERROR_LIMITED_WND_COUNT(412, "开窗数量超过限制"), |
|
246 |
NET_ERROR_UNMATCHED_REQUEST(413, "请求命令与当前模式不匹配"), |
|
247 |
|
|
248 |
NET_RENDER_ENABLELARGEPICADJUSTMENT_ERROR(414, "Render库启用高清图像内部调整策略出错"), |
|
249 |
NET_ERROR_UPGRADE_FAILED(415, "设备升级失败"), |
|
250 |
NET_ERROR_NO_TARGET_DEVICE(416, "找不到目标设备"), |
|
251 |
NET_ERROR_NO_VERIFY_DEVICE(417, "找不到验证设备"), |
|
252 |
NET_ERROR_CASCADE_RIGHTLESS(418, "无级联权限"), |
|
253 |
NET_ERROR_LOW_PRIORITY(419, "低优先级"), |
|
254 |
NET_ERROR_REMOTE_REQUEST_TIMEOUT(420, "远程设备请求超时"), |
|
255 |
NET_ERROR_LIMITED_INPUT_SOURCE(421, "输入源超出最大路数限制"), |
|
256 |
NET_ERROR_SET_LOG_PRINT_INFO(422, "设置日志打印失败"), |
|
257 |
NET_ERROR_PARAM_DWSIZE_ERROR(423, "入参的dwsize字段出错"), |
|
258 |
NET_ERROR_LIMITED_MONITORWALL_COUNT(424, "电视墙数量超过上限"), |
|
259 |
NET_ERROR_PART_PROCESS_FAILED(425, "部分过程执行失败"), |
|
260 |
NET_ERROR_TARGET_NOT_SUPPORT(426, "该功能不支持转发"), |
|
261 |
NET_ERROR_VISITE_FILE(510, "访问文件失败"), |
|
262 |
NET_ERROR_DEVICE_STATUS_BUSY(511, "设备忙"), |
|
263 |
NET_USER_PWD_NOT_AUTHORIZED(512, "修改密码无权限"), |
|
264 |
NET_USER_PWD_NOT_STRONG(513, "密码强度不够"), |
|
265 |
NET_ERROR_NO_SUCH_CONFIG(514, "没有对应的配置"), |
|
266 |
NET_ERROR_AUDIO_RECORD_FAILED(515, "录音失败"), |
|
267 |
NET_ERROR_SEND_DATA_FAILED(516, "数据发送失败"), |
|
268 |
NET_ERROR_OBSOLESCENT_INTERFACE(517, "废弃接口"), |
|
269 |
NET_ERROR_INSUFFICIENT_INTERAL_BUF(518, "内部缓冲不足"), |
|
270 |
NET_ERROR_NEED_ENCRYPTION_PASSWORD(519, "修改设备ip时,需要校验密码"), |
|
271 |
NET_ERROR_NOSUPPORT_RECORD(520, "设备不支持此记录集"), |
|
272 |
NET_ERROR_SERIALIZE_ERROR(1010, "数据序列化错误"), |
|
273 |
NET_ERROR_DESERIALIZE_ERROR(1011, "数据反序列化错误"), |
|
274 |
NET_ERROR_LOWRATEWPAN_ID_EXISTED(1012, "该无线ID已存在"), |
|
275 |
NET_ERROR_LOWRATEWPAN_ID_LIMIT(1013, "无线ID数量已超限"), |
|
276 |
NET_ERROR_LOWRATEWPAN_ID_ABNORMAL(1014, "无线异常添加"), |
|
277 |
NET_ERROR_ENCRYPT(1015, "加密数据失败"), |
|
278 |
NET_ERROR_PWD_ILLEGAL(1016, "新密码不合规范"), |
|
279 |
NET_ERROR_DEVICE_ALREADY_INIT(1017, "设备已经初始化"), |
|
280 |
NET_ERROR_SECURITY_CODE(1018, "安全码错误"), |
|
281 |
NET_ERROR_SECURITY_CODE_TIMEOUT(1019, "安全码超出有效期"), |
|
282 |
NET_ERROR_GET_PWD_SPECI(1020, "获取密码规范失败"), |
|
283 |
NET_ERROR_NO_AUTHORITY_OF_OPERATION(1021, "无权限进行该操作"), |
|
284 |
NET_ERROR_DECRYPT(1022, "解密数据失败"), |
|
285 |
NET_ERROR_2D_CODE(1023, "2D code校验失败"), |
|
286 |
NET_ERROR_INVALID_REQUEST(1024, "非法的RPC请求"), |
|
287 |
NET_ERROR_PWD_RESET_DISABLE(1025, "密码重置功能已关闭"), |
|
288 |
NET_ERROR_PLAY_PRIVATE_DATA(1026, "显示私有数据,比如规则框等失败"), |
|
289 |
NET_ERROR_ROBOT_OPERATE_FAILED(1027, "机器人操作失败"), |
|
290 |
NET_ERROR_PHOTOSIZE_EXCEEDSLIMIT(1028, "图片大小超限"), |
|
291 |
NET_ERROR_USERID_INVALID(1029, "用户ID不存在"), |
|
292 |
NET_ERROR_EXTRACTFEATURE_FAILED(1030, "照片特征值提取失败"), |
|
293 |
NET_ERROR_PHOTO_EXIST(1031, "照片已存在"), |
|
294 |
NET_ERROR_PHOTO_OVERFLOW(1032, "照片数量超过上限"), |
|
295 |
NET_ERROR_CHANNEL_ALREADY_OPENED(1033, "通道已经打开"), |
|
296 |
NET_ERROR_CREATE_SOCKET(1034, "创建套接字失败"), |
|
297 |
NET_ERROR_CHANNEL_NUM(1035, "通道号错误"), |
|
298 |
NET_ERROR_PHOTO_FORMAT(1036, "图片格式错误"), |
|
299 |
/** |
|
300 |
* 内部错误(比如:相关硬件问题,获取公钥失败,内部接口调用失败,写文件失败等等) |
|
301 |
*/ |
|
302 |
NET_ERROR_DIGITAL_CERTIFICATE_INTERNAL_ERROR(1037, "内部错误"), |
|
303 |
/** |
|
304 |
* 获取设备ID失败 |
|
305 |
*/ |
|
306 |
NET_ERROR_DIGITAL_CERTIFICATE_GET_ID_FAILED(1038, "获取设备ID失败"), |
|
307 |
NET_ERROR_DIGITAL_CERTIFICATE_IMPORT_ILLEGAL(1039, "证书文件非法(格式不支持或者不是证书文件)"), |
|
308 |
NET_ERROR_DIGITAL_CERTIFICATE_SN_ERROR(1040, "证书sn重复或错误或不规范"), |
|
309 |
/** |
|
310 |
* (本地设备证书与系统中的不匹配devid_cryptoID,或者对端的不符合规则(devid_crytoID)) |
|
311 |
*/ |
|
312 |
NET_ERROR_DIGITAL_CERTIFICATE_COMMON_NAME_ILLEGAL(1041, "证书commonName非法"), |
|
313 |
NET_ERROR_DIGITAL_CERTIFICATE_NO_ROOT_CERT(1042, "根证书未导入或不存在"), |
|
314 |
NET_ERROR_DIGITAL_CERTIFICATE_CERT_REVOKED(1043, "证书被吊销"), |
|
315 |
NET_ERROR_DIGITAL_CERTIFICATE_CERT_INVALID(1044, "证书不可用或未生效或已过期"), |
|
316 |
NET_ERROR_DIGITAL_CERTIFICATE_CERT_ERROR_SIGN(1045, "证书签名不匹配"), |
|
317 |
NET_ERROR_DIGITAL_CERTIFICATE_COUNTS_UPPER_LIMIT(1046, "超出证书导入上限"), |
|
318 |
NET_ERROR_DIGITAL_CERTIFICATE_CERT_NO_EXIST(1047, "证书文件不存在(导出证书或者获取对应证书的公钥)"), |
|
319 |
NET_ERROR_DEFULAT_SEARCH_PORT(1048, "默认搜索端口无法使用(5050,37810)"), |
|
320 |
NET_ERROR_FACE_RECOGNITION_SERVER_MULTI_APPEND_STOUP(1049, "批量添加人脸停止"), |
|
321 |
NET_ERROR_FACE_RECOGNITION_SERVER_MULTI_APPEND_ERROR(1050, "批量添加人脸失败"), |
|
322 |
NET_ERROR_FACE_RECOGNITION_SERVER_GROUP_ID_EXCEED(1051, "组ID超过最大值"), |
|
323 |
NET_ERROR_FACE_RECOGNITION_SERVER_GROUP_ID_NOT_IN_REGISTER_GROUP(1052, "组ID不存在或为空"), |
|
324 |
NET_ERROR_FACE_RECOGNITION_SERVER_PICTURE_NOT_FOUND(1053, "无图片数据"), |
|
325 |
NET_ERROR_FACE_RECOGNITION_SERVER_GENERATE_GROUP_ID_FAILED(1054, "生成组ID超出范围"), |
|
326 |
NET_ERROR_FACE_RECOGNITION_SERVER_SET_CONFIG_FAILED(1055, "设置配置失败"), |
|
327 |
NET_ERROR_FACE_RECOGNITION_SERVER_FILE_OPEN_FAILED(1056, "图片文件打开失败"), |
|
328 |
NET_ERROR_FACE_RECOGNITION_SERVER_FILE_READ_FAILED(1057, "图片文件读取失败"), |
|
329 |
NET_ERROR_FACE_RECOGNITION_SERVER_FILE_WRITE_FAILED(1058, "图片文件写入失败"), |
|
330 |
NET_ERROR_FACE_RECOGNITION_SERVER_PICTURE_DPI_ERROR(1059, "图片分辨率异常"), |
|
331 |
NET_ERROR_FACE_RECOGNITION_SERVER_PICTURE_PX_ERROR(1060, "图片像素异常"), |
|
332 |
NET_ERROR_FACE_RECOGNITION_SERVER_PICTURE_SIZE_ERROR(1061, "图片大小不对"), |
|
333 |
NET_ERROR_FACE_RECOGNITION_SERVER_DATA_BASE_ERROR(1062, "数据库操作失败"), |
|
334 |
NET_ERROR_FACE_RECOGNITION_SERVER_FACE_MAX_NUM(1063, "人员数量超过限制"), |
|
335 |
NET_ERROR_FACE_RECOGNITION_SERVER_BIRTH_DAY_FORMAT_ERROR(1064, "生日日期格式错误"), |
|
336 |
NET_ERROR_FACE_RECOGNITION_SERVER_UID_ERROR(1065, "人员UID不存在或为空"), |
|
337 |
NET_ERROR_FACE_RECOGNITION_SERVER_TOKEN_ERROR(1066, "令牌不存在或为空"), |
|
338 |
NET_ERROR_FACE_RECOGNITION_SERVER_BEGIN_NUM_OVER_RUN(1067, "查询起始数大于总数"), |
|
339 |
NET_ERROR_FACE_RECOGNITION_SERVER_ABSTRACT_NUM_ZERO(1068, "需手动建模人数为0"), |
|
340 |
NET_ERROR_FACE_RECOGNITION_SERVER_ABSTRACT_INIT_ERROR(1069, "建模分析器启动失败"), |
|
341 |
NET_ERROR_FACE_RECOGNITION_SERVER_AUTO_ABSTRACT_STATE(1070, "设备正在自动建模"), |
|
342 |
NET_ERROR_FACE_RECOGNITION_SERVER_ABSTRACT_STATE(1071, "设备正在手动建模"), |
|
343 |
NET_ERROR_FACE_RECOGNITION_SERVER_IM_EX_STATE(1072, "设备正在导入导出"), |
|
344 |
NET_ERROR_FACE_RECOGNITION_SERVER_PIC_WRITE_FAILED(1073, "图片写入失败"), |
|
345 |
NET_ERROR_FACE_RECOGNITION_SERVER_GROUP_SPACE_EXCEED(1074, "超出人脸库空间大小限制"), |
|
346 |
NET_ERROR_FACE_RECOGNITION_SERVER_GROUP_PIC_COUNT_EXCEED(1075, "超出人脸库图片数量限制"), |
|
347 |
NET_ERROR_FACE_RECOGNITION_SERVER_GROUP_NOT_FOUND(1076, "人脸库不存在"), |
|
348 |
NET_ERROR_FACE_RECOGNITION_SERVER_FIND_RECORDS_ERROR(1077, "查询原人脸库数据结果无效"), |
|
349 |
NET_ERROR_FACE_RECOGNITION_SERVER_DELETE_PERSON_ERROR(1078, "删除原人脸库数据失败"), |
|
350 |
NET_ERROR_FACE_RECOGNITION_SERVER_DELETE_GROUP_ERROR(1079, "删除人脸库失败"), |
|
351 |
NET_ERROR_FACE_RECOGNITION_SERVER_NAME_FORMAT_ERROR(1080, "命名格式错误"), |
|
352 |
NET_ERROR_FACE_RECOGNITION_SERVER_FILEPATH_NOT_SET(1081, "图片保存路径未设置"), |
|
353 |
NET_ERROR_DEVICE_PARSE_PROTOCOL(1079, "设备解析协议错误"), |
|
354 |
NET_ERROR_DEVICE_INVALID_REQUEST(1080, "设备返回无效请求"), |
|
355 |
NET_ERROR_DEVICE_INTERNAL_ERROR(1081, "设备内部错误"), |
|
356 |
NET_ERROR_DEVICE_REQUEST_TIMEOUT(1082, "设备内部请求超时"), |
|
357 |
NET_ERROR_DEVICE_KEEPALIVE_FAIL(1083, "设备保活失败"), |
|
358 |
NET_ERROR_DEVICE_NETWORK_ERROR(1084, "设备网络错误"), |
|
359 |
NET_ERROR_DEVICE_UNKNOWN_ERROR(1085, "设备内部未知错误"), |
|
360 |
NET_ERROR_DEVICE_COM_INTERFACE_NOTFOUND(1086, "设备组件接口没有找到"), |
|
361 |
NET_ERROR_DEVICE_COM_IMPLEMENT_NOTFOUND(1087, "设备组件实现没有找到"), |
|
362 |
NET_ERROR_DEVICE_COM_NOTFOUND(1088, "设备接入组件没有找到"), |
|
363 |
NET_ERROR_DEVICE_COM_INSTANCE_NOTEXIST(1089, "设备接入组件实例不存在"), |
|
364 |
NET_ERROR_DEVICE_CREATE_COM_FAIL(1090, "设备组件工厂创建组件失败"), |
|
365 |
NET_ERROR_DEVICE_GET_COM_FAIL(1091, "设备组件工厂获取组件实例失败"), |
|
366 |
NET_ERROR_DEVICE_BAD_REQUEST(1092, "设备业务请求不被接受"), |
|
367 |
NET_ERROR_DEVICE_REQUEST_IN_PROGRESS(1093, "设备已经在处理请求,不接受重复请求"), |
|
368 |
NET_ERROR_DEVICE_LIMITED_RESOURCE(1094, "设备资源不足"), |
|
369 |
NET_ERROR_DEVICE_BUSINESS_TIMEOUT(1095, "设备业务超时"), |
|
370 |
NET_ERROR_DEVICE_TOO_MANY_REQUESTS(1096, "设备接收过多请求"), |
|
371 |
NET_ERROR_DEVICE_NOT_ALREADY(1097, "设备未准备就绪,不接受业务请求"), |
|
372 |
NET_ERROR_DEVICE_SEARCHRECORD_TIMEOUT(1098, "设备录像查询超时"), |
|
373 |
NET_ERROR_DEVICE_SEARCHTIME_INVALID(1099, "设备录像查询时间无效"), |
|
374 |
NET_ERROR_DEVICE_SSID_INVALID(1100, "设备校验SSID无效"), |
|
375 |
NET_ERROR_DEVICE_CHANNEL_STREAMTYPE_ERROR(1101, "设备校验通道号或码流类型无效"), |
|
376 |
NET_ERROR_DEVICE_STREAM_PACKINGFORMAT_UNSUPPORT(1102, "设备不支持该码流打包格式"), |
|
377 |
NET_ERROR_DEVICE_AUDIO_ENCODINGFORMAT_UNSUPPORT(1103, "设备不支持该语音编码格式"), |
|
378 |
NET_ERROR_SECURITY_ERROR_SUPPORT_GUI(1104, " 校验请求安全码失败,可使用本地GUI方式重置密码"), |
|
379 |
NET_ERROR_SECURITY_ERROR_SUPPORT_MULT(1105, "校验请求安全码失败,可使用DH渠道APP、configtool工具重置密码"), |
|
380 |
NET_ERROR_SECURITY_ERROR_SUPPORT_UNIQUE(1106, "校验请求安全码失败,可登陆Web页面重置密码"), |
|
381 |
NET_ERROR_STREAMCONVERTOR_DEFECT(1107, "转码库缺失"), |
|
382 |
|
|
383 |
|
|
384 |
NET_ERROR_SECURITY_GENERATE_SAFE_CODE(1108, "调用DH加密库产生安全码失败"), |
|
385 |
NET_ERROR_SECURITY_GET_CONTACT(1109, "获取联系方式失败"), |
|
386 |
NET_ERROR_SECURITY_GET_QRCODE(1110, "获取重置密码的二维码信息失败"), |
|
387 |
NET_ERROR_SECURITY_CANNOT_RESET(1111, "设备未初始化,无法重置"), |
|
388 |
NET_ERROR_SECURITY_NOT_SUPPORT_CONTACT_MODE(1112, "不支持设置该种联系方式,如只支持设置手机号,却请求设置邮箱"), |
|
389 |
NET_ERROR_SECURITY_RESPONSE_TIMEOUT(1113, "对端响应超时"), |
|
390 |
NET_ERROR_SECURITY_AUTHCODE_FORBIDDEN(1114, "尝试校验AuthCode次数过多,禁止校验"), |
|
391 |
NET_ERROR_TRANCODE_LOGIN_REMOTE_DEV(1115, "(虚拟转码)登陆远程设备失败"), |
|
392 |
NET_ERROR_TRANCODE_NOFREE_CHANNEL(1116, "(虚拟转码)没有可用的通道资源"), |
|
393 |
NET_ERROR_VK_INFO_DECRYPT_FAILED(1117, "VK信息解密失败"), |
|
394 |
NET_ERROR_VK_INFO_DESERIALIZE_FAILED(1118, "VK信息解析失败"), |
|
395 |
NET_ERROR_GDPR_ABILITY_NOT_ENABLE(1119, "SDK GDPR功能未使能"), |
|
396 |
|
|
397 |
/*门禁快速导入及复核错误码 start*/ |
|
398 |
NET_ERROR_FAST_CHECK_NO_AUTH(1120, "门禁快速复核:无权限"), |
|
399 |
NET_ERROR_FAST_CHECK_NO_FILE(1121, "门禁快速复核:文件不存在"), |
|
400 |
NET_ERROR_FAST_CHECK_FILE_FAIL(1122, "门禁快速复核:文件准备失败"), |
|
401 |
NET_ERROR_FAST_CHECK_BUSY(1123, "门禁快速复核:系统忙"), |
|
402 |
NET_ERROR_FAST_CHECK_NO_PASSWORD(1124, "门禁快速复核:未定义密码, 不允许导出"), |
|
403 |
NET_ERROR_IMPORT_ACCESS_SEND_FAILD(1125, "门禁快速导入:发送门禁数据失败"), |
|
404 |
NET_ERROR_IMPORT_ACCESS_BUSY(1126, "门禁快速导入:系统忙, 已经有导入任务"), |
|
405 |
NET_ERROR_IMPORT_ACCESS_DATAERROR(1127, "门禁快速导入:数据包检验失败"), |
|
406 |
NET_ERROR_IMPORT_ACCESS_DATAINVALID(1128, "门禁快速导入:数据包非法"), |
|
407 |
NET_ERROR_IMPORT_ACCESS_SYNC_FALID(1129, "门禁快速导入:同步失败,数据库无法生成"), |
|
408 |
NET_ERROR_IMPORT_ACCESS_DBFULL(1130, "门禁快速导入:数据库已满, 无法导入"), |
|
409 |
NET_ERROR_IMPORT_ACCESS_SDFULL(1131, "门禁快速导入:存储空间已满, 无法导入"), |
|
410 |
NET_ERROR_IMPORT_ACCESS_CIPHER_ERROR(1132, "门禁快速导入:导入压缩包密码不对"), |
|
411 |
/*门禁快速导入及复核错误码 end*/ |
|
412 |
|
|
413 |
NET_ERROR_INVALID_PARAM(1133, "参数无效"), |
|
414 |
NET_ERROR_INVALID_PASSWORD(1134, "密码无效"), |
|
415 |
NET_ERROR_INVALID_FINGERPRINT(1135, "信息无效"), |
|
416 |
NET_ERROR_INVALID_FACE(1136, "人脸无效"), |
|
417 |
NET_ERROR_INVALID_CARD(1137, "卡无效"), |
|
418 |
NET_ERROR_INVALID_USER(1138, "用户无效"), |
|
419 |
NET_ERROR_GET_SUBSERVICE(1139, "能力集子服务获取失败"), |
|
420 |
NET_ERROR_GET_METHOD(1140, "获取组件的方法集失败"), |
|
421 |
NET_ERROR_GET_SUBCAPS(1141, "获取资源实体能力集失败"), |
|
422 |
NET_ERROR_UPTO_INSERT_LIMIT(1142, "已达插入上限"), |
|
423 |
NET_ERROR_UPTO_MAX_INSERT_RATE(1143, "已达最大插入速度"), |
|
424 |
NET_ERROR_ERASE_FINGERPRINT(1144, "清除信息数据失败"), |
|
425 |
NET_ERROR_ERASE_FACE(1145, "清除人脸数据失败"), |
|
426 |
NET_ERROR_ERASE_CARD(1146, "清除卡数据失败"), |
|
427 |
NET_ERROR_NO_RECORD(1147, "没有记录"), |
|
428 |
NET_ERROR_NOMORE_RECORDS(1148, "查找到最后,没有更多记录"), |
|
429 |
NET_ERROR_RECORD_ALREADY_EXISTS(1149, "下发卡或信息时,数据重复"), |
|
430 |
NET_ERROR_EXCEED_MAX_FINGERPRINT_PERUSER(1150, "超过个人最大信息记录数"), |
|
431 |
NET_ERROR_EXCEED_MAX_CARD_PERUSER(1151, "超过个人最大卡片记录数"), |
|
432 |
NET_ERROR_EXCEED_ADMINISTRATOR_LIMIT(1152, "超过门禁管理员个数限制"), |
|
433 |
|
|
434 |
NET_LOGIN_ERROR_DEVICE_NOT_SUPPORT_HIGHLEVEL_SECURITY_LOGIN(1153, "设备不支持高安全等级登录"), |
|
435 |
NET_LOGIN_ERROR_DEVICE_ONLY_SUPPORT_HIGHLEVEL_SECURITY_LOGIN(1154, "设备只支持高安全等级登录"), |
|
436 |
|
|
437 |
NET_ERROR_VIDEO_CHANNEL_OFFLINE(1155, "此视频通道处于离线,拉流失败"), |
|
438 |
NET_ERROR_USERID_FORMAT_INCORRECT(1156, "用户编号不规范"), |
|
439 |
NET_ERROR_CANNOT_FIND_CHANNEL_RELATE_TO_SN(1157, "找不到该SN对应的通道"), |
|
440 |
NET_ERROR_TASK_QUEUE_OF_CHANNEL_IS_FULL(1158, "该通道的任务队列满"), |
|
441 |
NET_ERROR_APPLY_USER_INFO_BLOCK_FAIL(1159, "申请不到新的用户信息(权限)块"), |
|
442 |
NET_ERROR_EXCEED_MAX_PASSWD_PERUSER(1160, "用户密码数量超过限制"), |
|
443 |
NET_ERROR_PARSE_PROTOCOL(1161, "设备内部异常引起协议解析错误"), |
|
444 |
NET_ERROR_CARD_NUM_EXIST(1162, "卡号已存在"), |
|
445 |
NET_ERROR_FINGERPRINT_EXIST(1163, "信息已存在"), |
|
446 |
|
|
447 |
NET_ERROR_OPEN_PLAYGROUP_FAIL(1164, "打开播放组失败"), |
|
448 |
NET_ERROR_ALREADY_IN_PLAYGROUP(1165, "已位于播放组中"), |
|
449 |
NET_ERROR_QUERY_PLAYGROUP_TIME_FAIL(1166, "查询播放组时间失败"), |
|
450 |
NET_ERROR_SET_PLAYGROUP_BASECHANNEL_FAIL(1167, "设置播放组基准通道失败"), |
|
451 |
NET_ERROR_SET_PLAYGROUP_DIRECTION_FAIL(1168, "设置播放组方向失败"), |
|
452 |
NET_ERROR_SET_PLAYGROUP_SPEED_FAIL(1169, "设置播放组速度失败"), |
|
453 |
NET_ERROR_ADD_PLAYGROUP_FAIL(1170, "加入播放组失败"), |
|
454 |
|
|
455 |
NET_ERROR_EXPORT_AOL_LOGFILE_NO_AUTH(1171, " 导出AOL日志:无权限"), |
|
456 |
NET_ERROR_EXPORT_AOL_LOGFILE_NO_FILE(1172, "导出AOL日志:文件不存在"), |
|
457 |
NET_ERROR_EXPORT_AOL_LOGFILE_FILE_FAIL(1173, "导出AOL日志:文件准备失败"), |
|
458 |
NET_ERROR_EXPORT_AOL_LOGFILE_BUSY(1174, "导出AOL日志:系统忙"), |
|
459 |
|
|
460 |
/** |
|
461 |
* 设备上APP安装相关错误码 |
|
462 |
*/ |
|
463 |
NET_ERROR_EMPTY_LICENSE(1175, "License为空"), |
|
464 |
NET_ERROR_UNSUPPORTED_MODE(1176, "不支持该模式"), |
|
465 |
NET_ERROR_URL_APP_NOT_MATCH(1177, "URL与APP不匹配"), |
|
466 |
NET_ERROR_READ_INFO_FAILED(1178, "读取信息失败"), |
|
467 |
NET_ERROR_WRITE_FAILED(1179, "写入失败"), |
|
468 |
NET_ERROR_NO_SUCH_APP(1180, "未找到APP"), |
|
469 |
NET_ERROR_VERIFIF_FAILED(1181, "校验失败"), |
|
470 |
NET_ERROR_LICENSE_OUT_DATE(1182, "License已过期"), |
|
471 |
|
|
472 |
NET_ERROR_UPGRADE_PROGRAM_TOO_OLD(1183, "升级程序版本过低"), |
|
473 |
NET_ERROR_SECURE_TRANSMIT_BEEN_CUT(1184, "加密传输被裁剪"), |
|
474 |
NET_ERROR_DEVICE_NOT_SUPPORT_SECURE_TRANSMIT(1185, "设备不支持安全传输"), |
|
475 |
|
|
476 |
NET_ERROR_EXTRA_STREAM_LOGIN_FAIL_CAUSE_BY_MAIN_STREAM(1186, "主码流成功的情况下,辅码流登录失败"), |
|
477 |
NET_ERROR_EXTRA_STREAM_CLOSED_BY_REMOTE_DEVICE(1187, "辅码流被前端关闭"), |
|
478 |
|
|
479 |
/*人脸库导入导出错误码 start*/ |
|
480 |
NET_ERROR_IMPORT_FACEDB_SEND_FAILD(1188, "人脸库导入:发送人脸库数据失败"), |
|
481 |
NET_ERROR_IMPORT_FACEDB_BUSY(1189, "人脸库导入:系统忙, 已经有导入任务"), |
|
482 |
NET_ERROR_IMPORT_FACEDB_DATAERROR(1190, "人脸库导入:数据包检验失败"), |
|
483 |
NET_ERROR_IMPORT_FACEDB_DATAINVALID(1191, "人脸库导入:数据包非法"), |
|
484 |
NET_ERROR_IMPORT_FACEDB_UPGRADE_FAILD(1192, "人脸库导入:上传失败"), |
|
485 |
NET_ERROR_IMPORT_FACEDB_NO_AUTHORITY(1193, "人脸库导入:用户无权限"), |
|
486 |
NET_ERROR_IMPORT_FACEDB_ABNORMAL_FILE(1194, " 人脸库导入:文件格式异常"), |
|
487 |
NET_ERROR_IMPORT_FACEDB_SYNC_FALID(1195, "人脸库导入:同步失败,数据库无法生成"), |
|
488 |
NET_ERROR_IMPORT_FACEDB_DBFULL(1196, "人脸库导入:数据库已满, 无法导入"), |
|
489 |
NET_ERROR_IMPORT_FACEDB_SDFULL(1197, "人脸库导入:存储空间已满, 无法导入"), |
|
490 |
NET_ERROR_IMPORT_FACEDB_CIPHER_ERROR(1198, "人脸库导入:导入压缩包密码不对"), |
|
491 |
|
|
492 |
NET_ERROR_EXPORT_FACEDB_NO_AUTH(1199, "人脸库导出:无权限"), |
|
493 |
NET_ERROR_EXPORT_FACEDB_NO_FILE(1200, "人脸库导出:文件不存在"), |
|
494 |
NET_ERROR_EXPORT_FACEDB_FILE_FAIL(1201, "人脸库导出:文件准备失败"), |
|
495 |
NET_ERROR_EXPORT_FACEDB_BUSY(1202, "人脸库导出:系统忙"), |
|
496 |
NET_ERROR_EXPORT_FACEDB_NO_PASSWORD(1203, "人脸库导出:未定义密码, 不允许导出"), |
|
497 |
/*人脸库导入导出错误码 end*/ |
|
498 |
|
|
499 |
/* 人脸图片操作错误码 范围 _EC(1300) ~ _EC(1400) */ |
|
500 |
NET_ERROR_FACEMANAGER_NO_FACE_DETECTED(1300, "图片中检测到0个人脸目标"), |
|
501 |
NET_ERROR_FACEMANAGER_MULTI_FACE_DETECTED(1301, "图片中检测到多个人脸,无法返回特征"), |
|
502 |
NET_ERROR_FACEMANAGER_PICTURE_DECODING_ERROR(1302, "图片解码错误"), |
|
503 |
NET_ERROR_FACEMANAGER_LOW_PICTURE_QUALITY(1303, "图片质量太低"), |
|
504 |
/** |
|
505 |
* 结果不推荐使用,比如:对外国人,特征提取成功,但算法支持不好,容易造成误识别 |
|
506 |
*/ |
|
507 |
NET_ERROR_FACEMANAGER_NOT_RECOMMENDED(1304, "结果不推荐使用"), |
|
508 |
NET_ERROR_FACEMANAGER_FACE_FEATURE_ALREADY_EXIST(1305, "人脸特征已存在"), |
|
509 |
NET_ERROR_FACEMANAGER_FACE_ANGLE_OVER_THRESHOLDS(1307, "人脸角度超过配置阈值"), |
|
510 |
NET_ERROR_FACEMANAGER_FACE_RADIO_EXCEEDS_RANGE(1308, "人脸占比超出范围,算法建议占比:不要超过2/3,不要小于1/3"), |
|
511 |
NET_ERROR_FACEMANAGER_FACE_OVER_EXPOSED(1309, "人脸过爆"), |
|
512 |
NET_ERROR_FACEMANAGER_FACE_UNDER_EXPOSED(1310, "人脸欠爆"), |
|
513 |
NET_ERROR_FACEMANAGER_BRIGHTNESS_IMBALANCE(1311, "人脸亮度不均衡 ,用于判断阴阳脸"), |
|
514 |
NET_ERROR_FACEMANAGER_FACE_LOWER_CONFIDENCE(1312, "人脸的置信度低"), |
|
515 |
NET_ERROR_FACEMANAGER_FACE_LOW_ALIGN(1313, "人脸对齐分数低"), |
|
516 |
NET_ERROR_FACEMANAGER_FRAGMENTARY_FACE_DETECTED(1314, "人脸存在遮挡、残缺不全"), |
|
517 |
NET_ERROR_FACEMANAGER_PUPIL_DISTANCE_NOT_ENOUGH(1315, "人脸瞳距小于阈值"), |
|
518 |
NET_ERROR_FACEMANAGER_FACE_DATA_DOWNLOAD_FAILED(1316, " 人脸数据下载失败"); |
|
519 |
|
|
520 |
private final int code; |
|
521 |
private final String error; |
|
522 |
|
|
523 |
private ENUMERROR(int code, String error) { |
|
524 |
this.code = code; |
|
525 |
this.error = error; |
|
526 |
} |
|
527 |
|
|
528 |
public int getCode() { |
|
529 |
return code; |
|
530 |
} |
|
531 |
|
|
532 |
public String getError() { |
|
533 |
return error; |
|
534 |
} |
|
535 |
|
|
536 |
public static ENUMERROR getENUMError() { |
|
537 |
int code = NetSDKLib.NETSDK_INSTANCE.CLIENT_GetLastError() & 0x7fffffff; |
|
538 |
for (ENUMERROR error : ENUMERROR.values()) { |
|
539 |
if (error.getCode() == code) { |
|
540 |
return error; |
|
541 |
} |
|
542 |
} |
|
543 |
return NET_UNDEFIND; |
|
544 |
} |
|
545 |
|
|
546 |
/** |
|
547 |
* 错误信息 |
|
548 |
*/ |
|
549 |
public static String getErrorMessage() { |
|
550 |
return getENUMError().getError(); |
|
551 |
} |
|
552 |
|
|
553 |
/** |
|
554 |
* 错误码 |
|
555 |
*/ |
|
556 |
public static int getErrorCode() { |
|
557 |
return getENUMError().getCode(); |
|
558 |
} |
|
559 |
|
|
560 |
/** |
|
561 |
* 错误码+错误信息 |
|
562 |
*/ |
|
563 |
public static String getFullError() { |
|
564 |
ENUMERROR error = getENUMError(); |
|
565 |
return error.getCode() + "," + error.getError(); |
|
566 |
} |
|
567 |
} |