问题描述
我有设备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
*/
}
}
推荐答案
这篇关于如何使用TF1700的get方法 - 指纹设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!