Sdk Manual for zk devices - VB, C#

Share Embed Donate


Short Description

SDK MANUAL FOR ZK SOFTWARE DEVICES. DESIGN c#, vb and phyton. Need for sdk libraryes for separate Testing for this...

Description

3.2

AccTimeZones Usage: Set the time slot of a user.

If this attribute is set before user information is uploaded, the time slot of a user is set when SetUserInfo is used to upload user information.

Type: LONG *. It can be regarded as a long one-dimensional array with subscript 3.

3.3

Readable/writable

BASE64

Usage: When the value is set to True, the SDK outputs the character string template in

base64 codes. Otherwise, the SDK outputs the character string template in hexadecimal codes.

3.4

Type: LONG, readable/writable

CardNumber

Usage: Set or read the card number of a user. If this attribute is unavailable, use GetStrCardnumber and SetStrCardnumber instead.

3.5

Type: LONG, readable/writable

CommPort

Usage: Set the number of the serial port or the port for RS485 communication.

3.6

Type: LONG, readable/writable

ConvertBIG5

Usage: When the value is set to True, the SDK automatically converts the font from simplified Chinese to traditional Chinese for offline development. This function is invalid for series products of Multilanguage versions. Do not set this function in this case. Type: LONG, readable/writable

Caution: This attribute is invalid for Multilanguage versions. In addition, you do not need to

3.7

modify this attribute for ZEM100 5.22, ZEM200 5.30, and later versions.

PINWidth

Usage: Indicate the maximum length of the user ID (Arabic numeral).

3.8

Type: LONG, read only

GetStrCardNumber [Definition]

VARIANT_BOOL GetStrCardNumber([out] BSTR* ACardNumber) 8

[Usage]

Obtain the value of cardnumber of the SDK. Generally, this function can be used to obtain the card number of a user immediately after the user information is obtained.

[Parameter]

AcardNumber Card number

[Return Value]

Return True if it is successful, or return False.

[Related Function]

3.9

GetUserInfo

SetStrCardNumber [Definition]

VARIANT_BOOL SetStrCardNumber([in] BSTR ACardNumber)

[Usage]

Set the value of cardnumber of the SDK. Generally, this function can be used to set the card number of a user before the user information is set.

[Parameter]

AcardNumber Card number

[Return Value]

Return True if it is successful, or return False.

[Related Function] SetUserInfo

4 Real-time Event Functions 4.1

Obtaining Real-Time Events

4.1.1

RegEvent

[Definition]

VARIANT_BOOL

[Usage]

RegEvent( [in] LONG dwMachineNumber, [in] LONG EventMask)

Register required real-time events.

[Parameter]

dwMachineNumber: 9

Device number

EventMask:

Code of an event. Values are as follows: 1

OnAttTransaction, OnAttTransactionEx

4 (1
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF