如何使用TF1700的get方法 - 指纹设备 [英] How do I use get methods for TF1700 - finger print device

查看:52
本文介绍了如何使用TF1700的get方法 - 指纹设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有设备TF1700指纹扫描仪。在开发人员手册中,有一些方法:

[< a href =http://demo.sunrayztechnology.com/UploadDoc/22112014163844.pdftarget =_ blank

i可以使用set time set IP和WriteLCD等set方法。但我如何使用get方法

例如

GetEnrollData。



GetAllUserID

我的任务是编写从设备获取指纹并将其与DB数据进行比较的程序。



我尝试了什么:



使用zkempeerer;

class MyClass {

static void Main()

{ CZKEM cz = CZKEM();

cz.Connect_Net(191.168.1.20,4370);

cz.WriteLCD(1,1,sometxt);

cz.SetDeviceIp(一些ip);



//无法使用cz.SetUserInfo(int i,int a,string s,string d,int r,bool t);任何其他获取方法

喜欢......



/ *方法 - GetUserInfo。方法手册:

[功能]

从设备获取用户信息。用户的信息包含用户的名称和密码。

[协议]

SetUserInfo(dwMachineNumber为Long,dwEnrollNumber为Long,Name为String,Password为String,Privilege为Long,Enabled as Boolean)As Boolean

[Paramters]

dwMachineNumber

机器操作设备编号

dwEnrollNumber

注册编号t

名称

用户名

密码

用户密码

特权

用户权限

已启用



是否已启用用户

[返回]

如果成功则为TRUE,否则为假
* /





}

}

I have device TF1700 fingerprint scanner. in its manual for developers, there are some method:
[<a href="http://demo.sunrayztechnology.com/UploadDoc/22112014163844.pdf" target="_blank"
i could use set methods like set Time set IP and WriteLCD. but how do i use get methods
for example
GetEnrollData.
or
GetAllUserID
My task to write program that takes fingerprint from device and compare it with DB data.

What I have tried:

using zkempeerer;
class MyClass{
static void Main()
{ CZKEM cz = CZKEM();
cz.Connect_Net("191.168.1.20", 4370);
cz.WriteLCD(1,1, "sometxt");
cz.SetDeviceIp(some ip);

// could not use cz.SetUserInfo(int i, int a, string s, string d, int r, bool t); any other get methods
like...

/*method - GetUserInfo. method manual:
[Function]
Get user’s information from device. user’s information contain user’s name and password.
[Protocol]
SetUserInfo(dwMachineNumber As Long, dwEnrollNumber As Long, Name As String, Password As String, Privilege As Long, Enabled As Boolean) As Boolean
[Paramters]
dwMachineNumber
The Machine Number of operating device
dwEnrollNumber
Enroll number t
Name
User name
Password
User Password
Privilege
User privilege
Enabled
19
whether Enabled user
[Return]
TRUE if success, FALSE else
*/


}
}

推荐答案

您应该与创建它的人交谈 - 他们应该提供技术支持,并且会比我们更了解他们的产品。如果他们不这样做,那就找另一个供应商并要求退款!
You should talk to the people who created it - they should provide technical support and will know more about their product than we will. If they don't, then find another supplier and demand your money back!


这篇关于如何使用TF1700的get方法 - 指纹设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆