EasyIDSDK_Net EidCamera EidCamera 成功 OK 未知错误 Unknown error 内部错误 Internal error 无效参数 Invalid parameter 相机未连接 Camera not connected 未找到 Not found 超时 Timeout 未实现 Not implemented 重复操作 Repeat operation 空指针 Null pointer 读取数据失败 Failed to read data 写入数据失败 Failed to write data 数据校验失败 Data verification failed 图像大小错误 Wrong image size 图像类型错误 Wrong image type 图像数据类型错误 Wrong image data type 序列化失败 Serialization failed 反序列化失败 Deserialization failed 打开文件失败 Failed to open file 文件写入失败 File writing failed 无效句柄 Invalid handle 缓冲区过小 Insufficient buffers 构造函数 Constructor 获取版本信息 Get version information 版本信息Version infomation 根据接口类型枚举相机, 同时输出所有相机信息到 deviceList Enumerate devices according to the interface type, and outputting all devices information to the deviceList [out] 设备信息列表[out] Device information list [in] 接口类型, 可以是多个接口类型的组合. 若传入值为0表示所有类型, 与 eidInterfaceTypeAll 含义相同, 其余取值参考 #EidInterfaceType [in] Interface type, which can be a combination of multiple interface types.If the value of the parameter is 0, it means all types, which is the same as eidInterfaceTypeAll. other value see #EidInterfaceType 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 根据设备数据信息创建相应的设备对象, 如可以通过设备序列号创建。 Create a device handle according to the device data, for example, you can create a device object through the serial number. This interface will not enumerate devices and needs to be called after #eidEnumDevices. [in] 设备数据, 数据内容的含义由 type 参数决定[in] Device data, the meaning of the data content is determined by the type parameter [in] 数据类型, 默认值是设备序列号[in] Data type 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 注意需要调用 #eidReleaseHandle_Net 释放资源。Note that need to call #eidReleaseHandle_Net to release resources. 释放相机句柄资源 Release device handle resources 获取设备信息 Get device infomation [out] 设备信息[out] Pointer to a EidDeviceInfo structure to receive the device information 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 打开设备 Open a device 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 关闭设备 Close a device 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 设备是否已经打开 Gets a value indicating whether the media source is currently open. . 如果设备处于打开状态,返回 true,否则,falseTrue if the device is open; otherwise, false 修改相机IP. 该接口只针对通过网卡接入的设备,对于其余设备,调用此接口无意义 Modify the device IP. This interface is only for devices connected through a network card. For other devices, it is meaningless to call this interface. [in] 设备IP地址[in] New IP address [in] 子网掩码[in] New subnet mask [in] 默认网关[in] New default gateway 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 下载设备描述XML文件,并保存到指定路径 Download device description XML file, and save the file to specified path [in] 文件保存路径[in] The file path where the downloaded XMl file would be saved to 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 保存设备配置到指定的路径 Save the configuration of the device to specified path [in] 文件保存路径[in] The file path where the downloaded XMl file would be saved to 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 从文件加载设备配置 Load the device configuration from a file [in] 配置文件路径[in] Configuration file path [out] 错误列表指针, 写入失败的设备属性名称将通过该参数返回[out] Pointor to error list. The device feature names that failed to write will be returned with this parameter 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 获取设备属性类型 Get device feature type [in] 属性名称[in] Feature name 设备属性类型, 见 #EidFeatureTypeDevice feature type, see enum #EidFeatureType 设备属性是否有效 Is the device feature valid [in] 属性名称[in] Feature name true 有效,false 无效true Valid,false Not valid 设备属性是否可用 Is the device feature available [in] 属性名称[in] Feature name true 可用,false 不可用true Available,false Not available 设备属性是否可读 Is the device feature readable [in] 属性名称[in] Feature name true 可读,false 不可读true Readable,false Not readable 设备属性是否可写 Is the device feature writeable [in] 属性名称[in] Feature name true 可写,false 不可写true Writeable,false Not writeable 获取整型属性值 Get integer feature value [in] 属性名称[in] Feature name [out] 属性值[out] Pointer to feature value 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 设置整型属性值 Set integer feature value [in] 属性名称[in] Feature name [in] 属性值[in] Feature value 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 获取整型属性信息 Gets integer feature information [in] 属性名称[in] Feature name [out] 属性信息[out] A pointer to a buffer that receives the feature information 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 获取浮点型属性值 Get float feature value [in] 属性名称[in] Feature name [out] 属性值[out] Pointer to feature value 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 设置浮点型属性值 Set float feature value [in] 属性名称[in] Feature name [in] 属性值[in] Feature value 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 获取浮点型属性信息 Gets float feature information [in] 属性名称[in] Feature name [out] 属性信息[out] A pointer to a buffer that receives the feature information 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 获取布尔型属性值 Get bool feature value [in] 属性名称[in] Feature name [out] 属性值[out] Pointer to feature value 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 设置布尔型属性值 Set bool feature value [in] 属性名称[in] Feature name [in] 属性值[in] Feature value 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 获取字符串型属性值 Get string feature value [in] 属性名称[in] Feature name [out] 属性值字符串缓冲区, 用户分配内存空间[out] Pointer to string feature value buffer that is allocated memory space by the user [in,out] 属性值字符串缓冲区长度.[in,out] The length of the string buffer. 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 当函数返回时, 如果缓冲区足够大, 所有的数据都会拷贝到 value 缓冲区, 并且此参数的值是实际字符串的长度(不包含null结束符); 如果缓冲区不够大, 缓冲区的数据是截断后的字符串内容, 并且此参数包含字符串的实际长度(不包含null结束符)When the function returns, if the buffer is large enough, all data is copied to the value buffer, and the value of this parameter is the length of the actual string (without the null terminator); If the buffer is not large enough, the buffer's data is the truncated string content, and this parameter contains the actual length of the string (without the null terminator) 设置字符串型属性值 Set string feature value [in] 属性名称[in] Feature name [in] 属性值[in] Feature value 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 获取字符串型属性信息 Gets string feature information [in] 属性名称[in] Feature name [out] 属性信息[out] A pointer to a buffer that receives the feature information 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 获取枚举型属性值 Get enum feature value [in] 属性名称[in] Feature name [out] 属性值[out] Pointer to feature value 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 设置枚举型属性值 Set enum feature value [in] 属性名称[in] Feature name [in] 属性值[in] Feature value 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 获取枚举型属性符号 Get enum feature symbol [in] 属性名称[in] Feature name [out] 属性符号[out] Pointer to enum feature symbol buffer [in] 属性符号缓冲长度[in] The length of symbol buffer 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 设置枚举型属性符号 Set enum feature symbol [in] 属性名称[in] Feature name [in] 属性符号[in] Feature symbol 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 获取枚举型属性条目列表 Get enum feature entry list [in] 属性名称[in] Feature name [out] 枚举条目列表[out] Pointer to a EidEnumFeatureEntryList structure to receive the enum entry list 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 执行命令行属性 Execute command feature [in] 属性名称[in] Feature name 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 枚举子属性 Enum Feature Children [in] 属性名称[in] Feature name [in] 回调函数, 每个子属性都将会触发一次该函数的调用[in] callback function, each child feature will invoke this method [in] 用户数据[in] user data for callback function 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 开始取流 Start grabbing, then you can get the camera frame through #eidGetFrame [in] 帧缓存数量, 0表示使用默认缓存数, >0使用设置的缓存数[in] The number of frame buffers, 0 means to use the default number of buffers, >0 to use the set number of buffers 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 停止取流 Stop grabbing 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 是否正在取流 Check whether it is grabbing or not 如果正在取流, 返回true; 否则返回falseReturns true if it is grabbing; otherwise returns false 清除帧数据缓存 clear frame buffer cache 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 获取一帧图像, 若相机开启了读码功能, 帧数据中同时携带条码信息. Get a frame. If the code reading function is enabled, the frame data also carries the barcode information. [in] 超时时间, 单位: 毫秒. 当值为-1时表示无限等待[in] Timeout, in ms, when the value is -1, it means infinite wait 帧数据句柄, 失败返回 nullptrFrame handle, failure returns nullptr 该接口将导致线程阻塞, 直到收到图像或者到达超时时间. 返回的句柄需要通过 #eidReleaseFrame_Net 进行释放This method will block the thread until the timeout is reached. The returned handle needs to be released through #eidReleaseFrame_Net 释放一帧图像 Release a frame 帧数据句柄Frame handle 帧句柄是否有效 Is the frame handle valid [in] 帧句柄[in] Frame handle true 有效,false 无效true Valid,false Not valid 获取帧信息. 帧信息里同时包含图像数据和条码数据 Get frame information. The frame information contains both image data and barcode data [in] 帧句柄[in] Frame handle [out] 帧信息[out] Frame information 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 注册帧数据回调 Register frame data callback [in] 帧数据回调函数[in] A pointer to frame data callback function [in] 用户数据[in] User data to be passed to callback function 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 注册设备连接信息回调 Register device connection information callback [in] 连接信息回调函数[in] A pointer to device connection information callback function [in] 用户数据[in] User data to be passed to callback function 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 注册设备属性更新回调 Register device feature update callback [in] 属性更新回调函数[in] A pointer to device feature update callback function [in] 用户数据[in] User data to be passed to callback function 错误码, 0-成功, 其他-错误码Error code, 0-success, other-error code 属性类型 Feature type 未定义 Undefined 整型数 Integer 浮点数 Float 枚举 Enumeration 布尔 Bool 字符串 String 命令 Command 分组 Group 接口类型 Interface type 未知接口类型 Unknown interface type 网卡接口类型 NIC type USB接口类型 USB interface type 所有接口类型 All interface type 设备类型 Device type 未知类型 Unknown type GIGE相机 GigE Camera USB相机 USB Camera 设备数据类型, 用于 #eidCreateDevice 函数 Device data type, used in the #eidCreateDevice function 设备ID Device ID 序列号 Serial number IP地址 IP address MAC地址 MAC address 图像像素格式 Image pixel format 未知 Unknown Mono1p Mono1p Mono2p Mono2p Mono4p Mono4p Mono8 Mono8 Mono8S Mono8S Mono10 Mono10 Mono10Packed Mono10Packed Mono12 Mono12 Mono12Packed Mono12Packed Mono14 Mono14 Mono16 Mono16 BayGR8 BayGR8 BayRG8 BayRG8 BayGB8 BayGB8 BayBG8 BayBG8 BayGR10 BayGR10 BayRG10 BayRG10 BayGB10 BayGB10 BayBG10 BayBG10 BayGR12 BayGR12 BayRG12 BayRG12 BayGB12 BayGB12 BayBG12 BayBG12 BayGR10Packed BayGR10Packed BayRG10Packed BayRG10Packed BayGB10Packed BayGB10Packed BayBG10Packed BayBG10Packed BayGR12Packed BayGR12Packed BayRG12Packed BayRG12Packed BayGB12Packed BayGB12Packed BayBG12Packed BayBG12Packed BayGR16 BayGR16 BayRG16 BayRG16 BayGB16 BayGB16 BayBG16 BayBG16 RGB8 RGB8 BGR8 BGR8 RGBA8 RGBA8 BGRA8 BGRA8 RGB10 RGB10 BGR10 BGR10 RGB12 RGB12 BGR12 BGR12 RGB16 RGB16 RGB10V1Packed RGB10V1Packed RGB10P32 RGB10P32 RGB12V1Packed RGB12V1Packed RGB565P RGB565P BGR565P BGR565P YUV411_8_UYYVYY YUV411_8_UYYVYY YUV422_8_UYVY YUV422_8_UYVY YUV422_8 YUV422_8 YUV8_UYV YUV8_UYV YCbCr8CbYCr YCbCr8CbYCr YCbCr422_8 YCbCr422_8 YCbCr422_8_CbYCrY YCbCr422_8_CbYCrY YCbCr411_8_CbYYCrYY YCbCr411_8_CbYYCrYY YCbCr601_8_CbYCr YCbCr601_8_CbYCr YCbCr601_422_8 YCbCr601_422_8 YCbCr601_422_8_CbYCrY YCbCr601_422_8_CbYCrY YCbCr601_411_8_CbYYCrYY YCbCr601_411_8_CbYYCrYY YCbCr709_8_CbYCr YCbCr709_8_CbYCr YCbCr709_422_8 YCbCr709_422_8 YCbCr709_422_8_CbYCrY YCbCr709_422_8_CbYCrY YCbCr709_411_8_CbYYCrYY YCbCr709_411_8_CbYYCrYY RGB8Planar RGB8Planar RGB10Planar RGB10Planar RGB12Planar RGB12Planar RGB16Planar RGB16Planar 读码状态 Code reading state 未知 Unknown 无效 Not available 全部 Complete 无条码 No code was read 部分 Partial 失败 Fail 无效(Phase模式) Not available(Phase mode) 全部(Phase模式) Complete(Phase mode) 无条码(Phase模式) No code was read(Phase mode) 部分(Phase模式) Partial(Phase mode) 失败(Phase模式) Fail(Phase mode) 码类型 Barcode type 未知 Unknown EAN8 EAN8 EAN13 EAN13 type Code39 Code39 Code93 Code93 Code128 Code128 UPCA UPCA UPCE UPCE ITF25 ITF25 CODABAR CODABAR CODE128A CODE128A CODE128B CODE128B CODE128C CODE128C QR QR DM DM PDF417 PDF417 VERICODE VERICODE 连接事件类型 Connect event type 离线 Offline 在线 Online GigE设备信息 GigE device info 设备Mac地址 Device MAC Address 设备Ip地址 Device ip Address 子网掩码 SubnetMask 默认网关 Default GateWay Ip是否有效 Ip valid 保留 Reserved field 设备信息 Device info 设备类别 Device type 接口类别 Interface type 设备ID Device ID 用户自定义名 User defined name 设备序列号 Device serial number 厂商 Device vendor 设备型号 Device model 设备制造信息 Device manufacture 设备版本 Device version 接口名 Interface name 预留位 Reseved 具体设备信息 special device Info 具体设备信息 special device Info Gige设备信息 Gige device info 设备信息列表 Device information list 设备数量 Device Number 设备信息列表 Device information list 预留位 Reserved 错误列表 Error list 失败的属性数量 Number of failed features 失败属性名列表 Error feature name list 预留位 Reserved 整型属性信息 int feature information 当前值 Current value 最小值 Minimum value 最大值 Maximum value 增量 Increment 预留位 Reserved 浮点型属性信息 float feature information 当前值 Current value 最小值 Minimum value 最大值 Maximum value 单位 Unit 预留位 Reserved 字符串型属性信息 String feature information 最大长度 The maximum length of the String 当前值 Current value 预留位 Reserved 枚举型属性条目 enum feature entry Value 名称 Current Name 枚举型属性信息 enum feature information 数量 count 条目列表 Entry list 二维坐标点 2D coordinate point x坐标 x-coordinate y坐标 y-coordinate 条码信息 Barcode information 类型 Code type PPM PPM 位置, 4个点 Position, 4 points 内容 Code content 类型名称 Code type name 预留位 Reserved 帧信息 Frame information 帧ID Frame block ID 时间戳 Timestamp 图像宽度 Image width 图像高度 Image height 像素格式 Pixel format 读码状态 Code reading state 条码数量 Number of barcodes 图像数据长度 Length of image data 图像数据 Image data 条码信息列 Barcode information list 是否jpeg图 Is jpeg image 预留位 Reserved 连接信息 Connetion information 连接状态 Connetion state 预留位 Reserved 帧数据回调函数 Frame data callback function 帧信息frameInfo Frame info 用户数据userData User data 设备连接信息回调函数 Device connection information callback function 连接信息info Connection infomation 用户数据userData User data 设备属性更新回调函数 Device feature update callback function 属性名称name Device feature name 用户数据userData User data 枚举子属性的回调函数, 在 eidEnumFeatureChildren 函数中使用, 每次接收一个子属性的名称 Callback function used with the eidEnumFeatureChildren function. It receives children feature names 子属性名称name child feature name 用户数据userData User data