|
|
@@ -1,7 +1,7 @@
|
|
|
<?xml version="1.0" encoding="gb2312" ?>
|
|
|
<entity name="FingerPrint">
|
|
|
<class name="FingerPrintService" overlap="true" exclusive="false">
|
|
|
- <twoway name="GetImageAndFeature" overlap="true">
|
|
|
+ <twoway name="GetImageAndFeature" overlap="true" method_id="0">
|
|
|
<req>
|
|
|
<param name="times" type="int"/>
|
|
|
</req>
|
|
|
@@ -10,13 +10,13 @@
|
|
|
<param name="feature" type="string" />
|
|
|
</res>
|
|
|
</twoway>
|
|
|
- <oneway name="CancelRegister" overlap="true">
|
|
|
+ <oneway name="CancelRegister" overlap="true" method_id="1">
|
|
|
</oneway>
|
|
|
- <oneway name="CancelMatch" overlap="true">
|
|
|
+ <oneway name="CancelMatch" overlap="true" method_id="2">
|
|
|
</oneway>
|
|
|
- <oneway name="Exit" overlap="true">
|
|
|
+ <oneway name="Exit" overlap="true" method_id="3">
|
|
|
</oneway>
|
|
|
- <twoway name="Match" overlap="true">
|
|
|
+ <twoway name="Match" overlap="true" method_id="4">
|
|
|
<req>
|
|
|
<param name="templates" type="array_string"/>
|
|
|
<param name="templateLen" type="array_int"/>
|
|
|
@@ -29,24 +29,28 @@
|
|
|
<param name="result" type="array_int" />
|
|
|
</res>
|
|
|
</twoway>
|
|
|
- <twoway name="GetDevStatus" overlap="true">
|
|
|
+ <twoway name="GetDevStatus" overlap="true" method_id="5">
|
|
|
<req>
|
|
|
</req>
|
|
|
<res>
|
|
|
<param name="status" type="int" />
|
|
|
</res>
|
|
|
</twoway>
|
|
|
- <twoway name="GetDevInfo" overlap="true" method_id="65535">
|
|
|
+ <!--查询指纹仪设备状态接口 -->
|
|
|
+ <!--1、指纹仪打开失败, errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2429-->
|
|
|
+ <!--2、指纹仪正在打开中,errorCode为Error_NotInit(769) ,rtaCode为RTA2429-->
|
|
|
+ <twoway name="GetDevInfo" overlap="true" method_id="65535" jsflag="true">
|
|
|
<req>
|
|
|
</req>
|
|
|
<res>
|
|
|
<param name="type" type="string" />
|
|
|
<param name="model" type="string" />
|
|
|
<param name="version" type="string" />
|
|
|
+ <!--0:设备未打开 1:正常运行 3:异常不可工作-->
|
|
|
<param name="state" type="int" />
|
|
|
</res>
|
|
|
</twoway>
|
|
|
- <twoway name="GetImageAndFeatureEx" overlap="true">
|
|
|
+ <twoway name="GetImageAndFeatureEx" overlap="true" method_id="6">
|
|
|
<req>
|
|
|
<param name="times" type="int"/>
|
|
|
</req>
|
|
|
@@ -57,7 +61,7 @@
|
|
|
<param name="reserved2" type="array_string" />
|
|
|
</res>
|
|
|
</twoway>
|
|
|
- <twoway name="GetFingerPrint" overlap="true">
|
|
|
+ <twoway name="GetFingerPrint" overlap="true" method_id="7">
|
|
|
<req>
|
|
|
<param name="times" type="int"/>
|
|
|
<param name="reserved1" type="array_int" />
|
|
|
@@ -71,7 +75,7 @@
|
|
|
</res>
|
|
|
</twoway>
|
|
|
<!-- 合成特征模板 -->
|
|
|
- <twoway name="GenerateTemplate" overlap="true">
|
|
|
+ <twoway name="GenerateTemplate" overlap="true" method_id="8">
|
|
|
<req>
|
|
|
<param name="FingerIDList" type="array_int"/>
|
|
|
<param name="reserved1" type="array_int"/>
|
|
|
@@ -82,6 +86,65 @@
|
|
|
<param name="reserved1" type="array_int"/>
|
|
|
<param name="reserved2" type="array_string"/>
|
|
|
</res>
|
|
|
- </twoway>
|
|
|
+ </twoway>
|
|
|
+ <!--js接口-->
|
|
|
+ <!--扫描指纹接口 -->
|
|
|
+ <!--1、指纹仪打开失败, errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2422-->
|
|
|
+ <!--2、指纹扫描取消, errorCode为Error_Unexpect(2147483646),rtaCode为RTA2426-->
|
|
|
+ <!--3、指纹扫描超时, errorCode为Error_Unexpect(2147483646),rtaCode为RTA2411-->
|
|
|
+ <!--4、指纹仪扫描失败,获取dep路径失败, errorCode为Error_Unexpect(2147483646),rtaCode为RTA2424-->
|
|
|
+ <!--5、指纹仪扫描失败,未生成指纹信息文件, errorCode为Error_Unexpect(2147483646),rtaCode为RTA2416-->
|
|
|
+ <!--6、指纹仪扫描失败,获取指纹特征值长度不对, errorCode为Error_Unexpect(2147483646),rtaCode为RTA2414-->
|
|
|
+ <!--7、指纹仪扫描失败,获取指纹特征值为空, errorCode为Error_Unexpect(2147483646),rtaCode为RTA2413-->
|
|
|
+ <twoway name="GetFingerPrintJS" overlap="true" method_id="9" jsflag="true">
|
|
|
+ <req>
|
|
|
+ <!--指纹序号 0:授权扫描使用 1、2、3...等注册扫描使用-->
|
|
|
+ <param name="fingerSN" type="int"/>
|
|
|
+ <param name="reserved1" type="array_int" />
|
|
|
+ <param name="reserved2" type="array_string" />
|
|
|
+ </req>
|
|
|
+ <res>
|
|
|
+ <!-- 指纹特征码-->
|
|
|
+ <param name="feature" type="string"/>
|
|
|
+ <!-- 指纹内容-->
|
|
|
+ <param name="fingerImg" type="blob"/>
|
|
|
+ <param name="fingerImgLen" type="int"/>
|
|
|
+ <param name="reserved1" type="array_int" />
|
|
|
+ <param name="reserved2" type="array_string" />
|
|
|
+ </res>
|
|
|
+ </twoway>
|
|
|
+
|
|
|
+ <!--生成指纹模版接口 -->
|
|
|
+ <!--1、指纹仪打开失败, errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2425-->
|
|
|
+ <!--2、指纹仪注册取消, errorCode为Error_Unexpect(2147483646),rtaCode为RTA2427-->
|
|
|
+ <!--3、合成特征模版失败,获取模版特征值长度不对 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2428-->
|
|
|
+ <!--4、合成特征模板失败 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2419-->
|
|
|
+ <!--5、合成特征模版的指纹图片不存在 errorCode为Error_Unexpect(2147483646),rtaCode为RTA242a-->
|
|
|
+ <twoway name="GenerateTemplateJS" overlap="true" method_id="10" jsflag="true">
|
|
|
+ <req>
|
|
|
+ <!-- 指纹序号集合,合成模版的指纹序号 -->
|
|
|
+ <param name="fingerSNList" type="array_int"/>
|
|
|
+ <param name="reserved1" type="array_int" />
|
|
|
+ <param name="reserved2" type="array_string" />
|
|
|
+ </req>
|
|
|
+ <res>
|
|
|
+ <!-- 指纹模版特征码 -->
|
|
|
+ <param name="templateFeature" type="string"/>
|
|
|
+ <param name="reserved1" type="array_int" />
|
|
|
+ <param name="reserved2" type="array_string" />
|
|
|
+ </res>
|
|
|
+ </twoway>
|
|
|
+ <!--取消扫描接口 -->
|
|
|
+ <twoway name="CancelScanJS" overlap="true" method_id="11" jsflag="true">
|
|
|
+ <req>
|
|
|
+ <param name="reserved1" type="array_int" />
|
|
|
+ <param name="reserved2" type="array_string" />
|
|
|
+ </req>
|
|
|
+ <res>
|
|
|
+ <param name="reserved1" type="array_int" />
|
|
|
+ <param name="reserved2" type="array_string" />
|
|
|
+ </res>
|
|
|
+ </twoway>
|
|
|
+
|
|
|
</class>
|
|
|
</entity>
|