Function To Change The Table
Function To Change The Table
rollDataWithString ".
Other
2 additional help, please refer to "2.2.9 USBGetOneEnrollData".
2.2.11 USBSetOneEnrollData
The form of long USBSetOneEnrollData (long anEnrollNumber, long
anBackupNumber, long anMa
chinePrivilege, long * apnEnrollData, long anPassWord, long anEnableFlag, LPC
TSTR anEnrollName)
Function to the user's operating authority and registration data into USB memory with
the file, in the PC memory is formalized.
anEnrollNumber registration number
anBackupNumber registration number and kinds of data
anMachinePrivilege the user's operating authority
apnEnrollData directs the parameters of the fingerprint data
anPassWord password or card number directs the parameters of the data
Parameters
anEnableFlag parameters permit the user's machine instructions are
- 11 -
anEnrollName user directs the name of the parameter
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, similar to the command and PutEnrollData not the same as part of the instruction is
not directly connected, but with USB storage
Storage device. PutEnrollData instructions on the instructions refer to "2.2.3
PutEnrollData".
Other
2 "anEnableFlag" explanation, please refer to "2.4.1 EnableUser".
2.2.12 USBSetOneEnrollDataWithString
The form of long USBSetOneEnrollDataWithString (long anEnrollNumber, long
anBackupNumber,
long anMachinePrivilege, BSTR apstrEnrollData, long anEnableFlag, LPCTSTR a
nEnrollName)
Function and USBSetOneEnrollData command as the registration information to the
registration form of the text column.
anEnrollNumber registration number
anBackupNumber registration number and kinds of data
anMachinePrivilege the user's operating authority
apstrEnrollData directs the parameters of registration data
anEnableFlag parameters permit the user's machine instructions are
Parameters
anEnrollName user directs the name of the parameter
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, similar to the command and PutEnrollDataWithString instruction, not the same as
part of the direct connection is not only
Is to use USB memory. Please refer to the instructions on the
PutEnrollDataWithString "2.2.4 PutEnr
ollDataWithString ".
Other
2 additional help, please refer to "2.2.11 USBSetOneEnrollData".
2.2.13 USBWriteAllEnrollDataToFile
The form of long USBWriteAllEnrollDataToFile (char * apstrFilePath)
Features instruction by USBSetOneEnrollData or USBSetOneEnrollDataWithString
PC's memory in the making
In the form of registration data files.
File name parameter apstrFilePath
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 with the directive before a useful basis or USBSetOneEnrollDataWithStri
USBSetOneEnrollData
ng in the form of instructions to do the data.
Other
2 USB memory on the machine to use, please refer to instructions.
2.2.14 ReadAllUserID
The form of long ReadAllUserID (void)
Functional users on all machines read information data on the PC's memory.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 is reading the user information obtained by GetAllUserID instruction.
Please refer to the instructions on the GetAllUserID "2.2.15 GetAllUserID".
Other
2 users have not been registered, the instruction is to fail.
- 12 -
2.2.15 GetAllUserID
The form of long GetAllUserID (long * apnEnrollNumber, long *
apnBackupNumber, long * apnMac
hinePrivilege, long * apnEnableFlag)
Function to read through ReadAllUserID user information, one by one to get.
apnEnrollNumber directs registration number of the parameters
apnBackupNumber registration number of the parameter indicates the type of
information were
apnMachinePrivilege the parameters of the user's operating authority directs
Parameters
apnEnableFlag parameters permit the user's machine parameter indicates the direction
of those who
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 did not read through ReadAllUserID user information, the directives fail.
After 2 to get the data returned RUNERR_LOG_END.
3 to return to the "apnMachinePrivilege" description of the operating authority, please
refer to "2.4.2 ModifyPri
vilege ".
Other
4 "apnEnableFlag" instructions, please refer to "2.4.1 EnableUser".
2.2.16 EmptyEnrollData
The form of long EmptyEnrollData (void)
Function to delete all the registration information is registered.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Remove all other 1 because all the registration data, the implementation of the
instruction register before you back up important data.
2.2.17 ClearKeeperData
The form of long ClearKeeperData (void)
Function from the machine remove all registration information and recorded data.
(The machine initialization function.)
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Remove all other 1 because all the registration information and recorded data, the
implementation of the instruction register before you back up important data
Material.
2.2.18 BenumbAllManager
The form of long BenumbAllManager (void)
Delete all feature in the landing data management authority information, the user or
even for the general user.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1
- 13 -
2.3 Record data management
2.3.1 LoadSuperLogData
The form of long LoadSuperLogData (long anReadMark)
Records management functions from the machine will read the PC's memory for
analysis.
Parameters anReadMark read signs
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
The data read to the other one can get through GetSuperLogData. Please refer to
"2.3.3 GetSuperLogData".
2 anReadMark = 1, then attending a new Canadian record data.
anReadMark = 0 read all the case records of data.
2.3.2 USBLoadSuperLogDataFromFile
The form of long USBLoadSuperLogDataFromFile (char * apstrFilePath)
USB memory management functions the machine records the data file management
record data will be read in PC memory for analysis.
File name parameter apstrFilePath
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 and LoadSuperLogData similar to the case with the PC off using the instructions for
the management data.
2, the structure of the file under the incorrect instruction execution is failed.
Other
3 USB to use the machine reference manual.
2.3.3 GetSuperLogData
The form of long GetSuperLogData (long * apnSEnrollNumber, long *
apnGEnrollNumber, long * a
pnManipulation, long * apnBackupNumber, DATE * apnDateTime)
Features instruction by LoadSuperLogData or USBLoadSuperLogDataFromFile PC
memory management record read
Recorded one by one to get.
apnSEnrollNumber manager directs the registration number of the parameters
apnGEnrollNumber is the registration number of the parameter manager directs
apnManipulation managed object identification number of the parameter directs
apnBackupNumber kind of information by managers of the registration number of the
parameter directs
Parameters
apnDateTime management record the date, time, directs the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Once the data for the other one back RUNERR_LOG_END.
2 first run LoadSuperLogData or USBLoadSuperLogDataFromFile instruction, or the
instruction
Be failed.
- 14 -
3 "apnManipulation" as follows:
3: LOG_ENROLL_USER - the average user registration
4: LOG_ENROLL_MANAGER - Manager Registration
5: LOG_ENROLL_DELFP - delete the fingerprint data
6: LOG_ENROLL_DELPASS - delete a password
7: LOG_ENROLL_DELCARD - remove card data
8: LOG_LOG_ALLDEL - delete all the log data
9: LOG_SETUP_SYS - change machine information
10: LOG_SETUP_TIME - modify the machine time
11: LOG_SETUP_LOG - modify the record limit
12: LOG_SETUP_COMM - modify the communication
13: LOG_PASSTIME - the time set by
14: LOG_SETUP_DOOR - information setting gate operation
2.3.4 EmptySuperLogData
The form of long EmptySuperLogData (void)
Remove all functions from the management of the machine records data.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Remove all other 1 because all the management of recorded data, the implementation
of the instruction register before you back up important data.
2.3.5 LoadGeneralLogData
The form of long LoadGeneralLogData (long anReadMark)
Function from the machine to record data read out of memory on a PC for analysis.
Parameters anReadMark read signs
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 to the data read by GetGeneralLogData can get.
"2.3.7 GetGeneralLogData".
Other
2 anReadMark = 1 case to read the new record data
anReadMark = 0 in the case of all hardships to read the data
2.3.6 USBLoadGeneralLogDataFromFile
The form of long USBLoadGeneralLogDataFromFile (BSTR apstrFilePath)
USB memory function of the machine and out of the number of records the file
management record data will be read in PC memory for analysis.
File name parameter apstrFilePath
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 and LoadGeneralLogData similar to the case with the PC off and out of record data
in order to obtain the use of the means
Order.
2 file structure is not correct instruction execution failed.
Other
3 USB to use the machine reference manual.
- 15 -
2.3.7 GetGeneralLogData
The form of long GetGeneralLogData (long * apnEnrollNumber, long *
apnVerifyMode, long * apn
InOutMode, DATE * apnDateTime)
Function read by LoadGeneralLogData or USBLoadGeneralLogDataFromFile PC
memory access instructions
Record data one by one to get.
apnEnrollNumber out the parameters of the user directs the registration number
apnVerifyMode sure way directs the parameters
apnInOutMode parameter directs out of the way
Parameters
apnDateTime access to record the date, time, directs the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 to obtain complete data return RUNERR_LOG_END.
2 "apnVerifyMode" as follows:
1: LOG_FPVERIFY - Fingerprint recognition
2: LOG_PASSVERIFY - password confirmation
3: LOG_CARDVERIFY - card recognition
4: LOG_FPPASS_VERIFY - fingerprint + password confirmation
5: LOG_FPCARD_VERIFY - fingerprint + card confirmation
6: LOG_PASSFP_VERIFY - Password + Fingerprint recognition
7: LOG_CARDFP_VERIFY - card + fingerprint recognition
Version of controlled lock function in use. (See "2.7 doorbell Management")
10: LOG_OPEN_DOOR - confirmation signals sent to open the door
11: LOG_CLOSE_DOOR - confirmation signals sent close
12: LOG_OPEN_HAND - through the open door button sends signal
13: LOG_OPEN_THREAT - Anti-fingerprint recognition, threatened to send the
signal to open the door
14: LOG_PROG_OPEN - opening signal sent from the operation of machinery
15: LOG_PROG_CLOSE - send a close signal from the operation of machinery
16: LOG_OPEN_IREGAL - send a signal to open the door of illicit sex
17: LOG_CLOSE_IREGAL - send a signal to close the illegal nature of
18: LOG_OPEN_COVER - open the machine casing
19: LOG_CLOSE_COVER - off the machine casing
3, first with LoadGeneralLogData or USBLoadGeneralLogDataFromFile instruction,
or the means
That is failure.
Other
4 "apnInOutMode" as follows:
0: LOG_IOMODE_IN - into the way of confirmation
1: LOG_IOMODE_OUT - a sure way
2: LOG_IOMODE_IO - generally is recognized
2.3.8 EmptyGeneralLogData
The form of long EmptyGeneralLogData (void)
Function to delete all records of data access.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
- 16 -
1 because all other entry and exit records to delete all data, the implementation of the
instruction register before you back up important data out of
Record data.
2.3.9
2.3.10 GetGeneralLogData_1
Form GetGeneralLogData_1 (long * apnEnrollNumber, long pnVerifyMode, long *
apnInOu
tMode, long * apnYear, long * apnMonth, long * apnDay, long * apnHour,
long * apnMinute, long * apnSec)
Function read by LoadGeneralLogData or USBLoadGeneralLogDataFromFile PC
memory access instructions
Record data one by one to get.
apnEnrollNumber out the parameters of the user directs the registration number
apnVerifyMode sure way directs the parameters
apnInOutMode parameter directs out of the way
Parameters
apnYear, apnMonth
apnDay, apnHour
apnMinute, apnSec
Access to record the date, time, directs the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 to obtain complete data return RUNERR_LOG_END.
2 "apnVerifyMode" as follows:
1: LOG_FPVERIFY - Fingerprint recognition
2: LOG_PASSVERIFY - password confirmation
3: LOG_CARDVERIFY - card recognition
4: LOG_FPPASS_VERIFY - fingerprint + password confirmation
5: LOG_FPCARD_VERIFY - fingerprint + card confirmation
6: LOG_PASSFP_VERIFY - Password + Fingerprint recognition
7: LOG_CARDFP_VERIFY - card + fingerprint recognition
Version of controlled lock function in use. (See "2.7 doorbell Management")
10: LOG_OPEN_DOOR - confirmation signals sent to open the door
11: LOG_CLOSE_DOOR - confirmation signals sent close
12: LOG_OPEN_HAND - through the open door button sends signal
13: LOG_OPEN_THREAT - Anti-fingerprint recognition, threatened to send the
signal to open the door
14: LOG_PROG_OPEN - opening signal sent from the operation of machinery
15: LOG_PROG_CLOSE - send a close signal from the operation of machinery
16: LOG_OPEN_IREGAL - send a signal to open the door of illicit sex
17: LOG_CLOSE_IREGAL - send a signal to close the illegal nature of
18: LOG_OPEN_COVER - open the machine casing
19: LOG_CLOSE_COVER - off the machine casing
3, first with LoadGeneralLogData or USBLoadGeneralLogDataFromFile instruction,
or the means
That is failure.
Other
4 "apnInOutMode" as follows:
0: LOG_IOMODE_IN - into the way of confirmation
1: LOG_IOMODE_OUT - a sure way
2: LOG_IOMODE_IO - generally is recognized
- 17 -
2.3.11
2.3.12 GetSuperLogData_1
The form of long GetSuperLogData (long * apnSEnrollNumber, long *
apnGEnrollNumber, long
* ApnManipulation, long * apnBackupNumber, long * apnYear, long * apnMonth,
long * apnDay, long * apnHour, long * apnMinute, long * apnSec)
Features instruction by LoadSuperLogData or USBLoadSuperLogDataFromFile read
PC memory management
Records one by one to get.
apnSEnrollNumber manager directs the registration number of the parameters
apnGEnrollNumber is the registration number of the parameter manager directs
apnManipulation managed object identification number of the parameter directs
apnBackupNumber kind of information by managers of the registration number of the
parameter directs
Parameters
apnYear, apnMonth
apnDay, apnHour
apnMinute, apnSec
Access to record the date, time, directs the parameters
Successful return of a form of implementation, failure to return the corresponding
error code. Error code specifically refer to "4.2 error code
Table. "
1 to obtain complete data return RUNERR_LOG_END.
2 first run LoadSuperLogData or USBLoadSuperLogDataFromFile instruction, or the
Instruction is failed.
Other
3 "apnManipulation" as follows:
3: LOG_ENROLL_USER - the average user registration
4: LOG_ENROLL_MANAGER - Manager Registration
5: LOG_ENROLL_DELFP - delete the fingerprint data
6: LOG_ENROLL_DELPASS - delete a password
7: LOG_ENROLL_DELCARD - remove card data
8: LOG_LOG_ALLDEL - delete all the log data
9: LOG_SETUP_SYS - change machine information
10: LOG_SETUP_TIME - modify the machine time
11: LOG_SETUP_LOG - modify the record limit
12: LOG_SETUP_COMM - modify the communication
13: LOG_PASSTIME - the time set by
14: LOG_SETUP_DOOR - information setting gate operation
- 18 -
2.4 User Information Management
2.4.1 EnableUser
The form of long EnableUser (long anEnrollNumber, long anBackupNumber, long
anEnableFlag)
Set user on the machine function available / unavailable.
anEnrollNumber registration number
anBackupNumber registration number and kinds of data
Parameters
anEnableFlag license logo
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 anEnableFlag = 0 that is not available,
anEnableFlag = 1 that is available.
2.4.2 ModifyPrivilege
The form of long ModifyPrivilege (long anEnrollNumber, long anBackupNumber,
long anMachin
ePrivilege)
Feature set the user's authority to operate the machine.
anEnrollNumber registration number
anBackupNumber registration number and kinds of data
Parameters
anMachinePrivilege operating authority
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 other user to operate the machine in accordance with the permissions can be divided
into general user and administrator. Permissions are reflected in the "anMachinePri
vilege "on.
"AnMachinePrivilege" as follows:
0: MP_NONE - the average user (can only be confirmed on the machine the user)
1: MP_ALL - managers. (The user can operate the machine)
2.4.3 GetUserName
The form of long GetUserName (long anEnrollNumber, char * apstrUserName)
Function to get assigned to the user's name.
Parameters anEnrollNumber registration number
apstrUserName who kept the name of the parameter indicates
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "apstrUserName" the name of the largest 10byte (up to 10 up to 5 letters or
other text.)
2 does not assign the name of the directive is to fail.
2.4.4 SetUserName
The form of long SetUserName (long anEnrollNumber, char * apstrUserName)
Functions assigned to the user name.
Parameters anEnrollNumber registration number
apstrUserName directs contains the name of the parameter
- 19 -
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 "apstrUserName" in the name of the largest size of 10byte (up to 10 letters or up to
five other
Text).
Other
2, the user is not assigned the case of the directive is to fail.
2.4.5 GetNewsMessage
The form of long GetNewsMessage (long anNewsId, char * apstrNews)
Function from the machine to get notification of text specified.
Parameters anNewsId informed the identification number
apstrNews informed the parameter directs the data
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "anNewsId" is the text of the specified number of notification, the range of '0
to 255.
2 "apstrUserName" in the name of the largest size is 48byte (up to 48 letters, most
other
More than 24 with the text).
2.4.6 SetNewsMessage
The form of long SetNewsMessage (long anNewsId, char * apstrNews)
Notice the text on the machine set function.
Parameters anNewsId informed the identification number
apstrNews informed the parameter directs the data
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.4.5 GetNewsMessage".
2.4.7 GetUserNewsID
The form of long GetUserNewsID (long anEnrollNumber, long * apnNewsId)
Function to get the text to the user assigned identification number of the notice.
Parameters anEnrollNumber registration number
apnNewsId directs identification number 의 parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "apnNewsId" in "2.4.6 SetNewsMessage" setting.
2.4.8 SetUserNewsID
The form of long SetUserNewsID (long anEnrollNumber, long anNewsId)
Functions assigned to the user informed the identification number.
Parameters anEnrollNumber registration number
anNewsId identification number
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "apnNewsId" in "2.4.6 SetNewsMessage" setting.
- 20 -
Machine Management 2.5
2.5.1 EnableDevice
The form of long EnableDevice (long anEnabledFlag)
Feature set of machines available / not available.
Parameters anEnabledFlag permission flag
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 other communication with the PC and the machine stops when the use of machine
operation.
2 anEnabledFlag = 0, that stop the show "work" notice the text. AnEnabledFlag = 1,
that
Allow machine operation, showed normal interface.
2.5.2 PowerOnAllDevice
Form void PowerOnAllDevice (void)
Function starts the connection machine.
Parameters
Return no
The other one RS-485 communication instructions when using.
2.5.3 PowerOffDevice
The form of long PowerOffDevice (void)
Switch off the machine functions.
Parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 implementation of the Directive other words, the machine is disconnected off the
power.
2.5.4 GetDeviceTime
The form of long GetDeviceTime (DATE * apnDateTime)
Function to get the machine date and time.
Parameters apnDateTime date, time, directs the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1
2.5.5 SetDeviceTime
The form of long SetDeviceTime (DATE anDateTime)
Feature set the machine date and time.
Parameters apnDateTime date, time,
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1
- 21 -
2.5.6 GetDeviceStatus
The form of long GetDeviceStatus (long anStatusIndex, long * apnValue)
Function for the state now exists on the value of the machine.
Parameters of the machine state identification number anStatusIndex
apnValue directs state value of the parameter
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
The other one is the role of instruction in the PC, to understand the role of the state of
the machine.
2 "anStatusIndex" as follows:
1: GET_MANAGERS - existing in the number of managers
2: GET_USERS - the existing number of users in general
3: GET_FPS - existing in the number of fingerprint data
4: GET_PSWS - the existing data on the number of password
5: GET_SLOGS - the new management of existing records in the number of data
6: GET_GLOGS - new and out of the existing record in the number of data
7: GET_ASLOGS - the management of all existing records in the number of data
8: GET_AGLOGS - out of all the existing records in the number of data
9: GET_CARDS - the existing data on the number of cards
2.5.7 GetDeviceInfo
The form of long GetDeviceInfo (long anInfoIndex, long * apnValue)
Features for machine information.
Machine identification number information parameters anInfoIndex
apnValue directs the parameters of information value
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "anInfoIndex" as follows:
1: DI_MANAGERS - Register up to the number of managers
2: DI_MACHINENUM - Machine No.
3: DI_LANGAUGE - the language to be displayed on the machine
4: DI_POWEROFF_TIME-custom power off
5: DI_LOCK_CTRL - locks operation flag
6: DI_GLOG_WARNING - maximum number of records out
When will the registration records of the numerical value smaller than the word alarm.
Function and GetBellTime command as a text column in the form of rings to get the
information.
Parameters apnBellCount ring directs the number of parameters
apstrBellInfo ringing message text directs the parameters listed
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.6.1 GetBellTime".
2.6.3 SetBellTime
The form of long SetBellTime (long anBellCount, long * aptBellInfo)
Feature set on the machine ring information.
The number of parameters anBellCount ring
aptBellInfo ring parameter information structure directs
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "anBellCount" The last time the number of rings to set.
2 "aptBellInfo" setting is set on the number of rings, set the time, information about
the ring.
"AptBellInfo" instructions, please refer to "4.1.1 BELLINFO".
2.6.4 SetBellTimeWithString
The form of long SetBellTimeWithString (long anBellCount, char * apstrBellInfo)
The same function and SetBellTime instruction, will ring out in the form of
information in text settings.
The number of parameters anBellCount ring
apstrBellInfo ring parameter information structure directs
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.6.3 SetBellTime".
- 25 -
2.7 doorbell Management
This feature is not all versions have the.
2.7.1 GetDoorStatus
The form of long GetDoorStatus (long * apnStatusVal)
Function for open state.
Parameter apnStatusVal directs state values of the parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "apnStatusVal": as follows:
0: DOOR_CONTROLRESET - door control state machine.
1: DOOR_OPEND - door is open.
2: DOOR_CLOSED - the door is closed.
3: DOOR_COMMNAD-control instructions in accordance with the door, the door
opened automatically after a period of time to close.
2.7.2 SetDoorStatus
The form of long SetDoorStatus (long anStatusVal)
Functional operation of door status.
State value parameter anStatusVal
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Other 1 "anStatusVal" Help, please refer to "2.7.1 GetDoorStatus".
2.7.3 GetPassTime
The form of long GetPassTime (long anPassTimeID, long * apnPassTime, long
anPassTimeSize)
Function for the time period to open the door to close the information (TimeZone).
anPassTimeID time information identification number
apnPassTime time parameters of the information structure directs
Parameters
anPassTimeSize time the length of the information structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 "anPassTimeID" refers to the time the information structure number.
50 can be set up to structure, the value is '0 ''49'.
2 "apnPassTime" reflect "anPassTimeID" the time period specified in the value of the
information structure. The structure
Each week, in accordance with the seven time periods.
"4.1.2 PASSCTRLTIME structure."
Other
3 "anPassTimeSize" is "apnPassTime" the length of the structure to determine the
length of API is not enough
Enough to be provided.
2.7.4 GetPassTimeWithString
The form of long GetPassTimeWithString (long anPassTimeID, char *
apstrPassTime)
- 26 -
Function and GetPassTime same time returns the information to the text column.
Parameter identification number anPassTimeID time information
apnPassTime time information on the text column structure directs the parameters of
the form
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.3 GetPassTime".
2.7.5 SetPassTime
The form of long SetPassTime (long anPassTimeID, long * apnPassTime, long
anPassTimeSize)
Feature set to open the door closing time information (TimeZone).
anPassTimeID time information identification number
apnPassTime time parameters of the information structure directs
Parameters
anPassTimeSize time the length of the information structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.3 GetPassTime".
2.7.6 SetPassTimeWithString
The form of long SetPassTimeWithString (long anPassTimeID, char * apstrPassTime)
Function and SetPassTime same time information is entered in the text column.
Parameter identification number anPassTimeID time information
apnPassTime time information on the parameters of the column structure directs the
text
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.3 GetPassTime".
2.7.7 GetUserPassTime
The form of long GetUserPassTime (long anEnrollNumber, long * apnGroupID, long
* apnPassTim
eID, long anPassTimeIDSize)
Function for the time period allocated to the user information combined with
individual time allocation information.
anEnrollNumber registration number
apnGroupID directs the parameter combination number
apnPassTimeID time information on the parameters identification number structure
directs
Parameters
anPassTimeIDSize identification number length of structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1 "apnGroupID" instructions, please refer to "2.7.11 GetGroupPassTime".
2 "apnPassTimeID" is assigned to the user identification number for all time the
arrangement of the information-based composite structure
Body. Structure definitions refer to "4.1.3 USERPASSINFO structure." Identification
number of the explanation
Refer to "2.7.3 GetPassTime".
Other
3 "anPassTimeSize" is "apnPassTime" in length, is provided in the API the length of
the structure
Enough.
- 27 -
2.7.8 GetUserPassTimeWithString
The form of long GetUserPassTimeWithString (long anEnrollNumber, long *
apnGroupID, char *
apstrPassTimeID)
The same function and GetUserPassTime command will identify the number of
structures returned as a text column.
anEnrollNumber registration number
apnGroupID directs the parameter combination number
Parameters
apstrPassTimeID time text message identification number column structure directs the
parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.7 GetUserPassTime".
2.7.9 SetUserPassTime
The form of long SetUserPassTime (long anEnrollNumber, long anGroupID, long *
apnPassTimeI
D, long anPassTimeIDSize)
Functional information to the user set period of time combined with the time allocated
to each message.
anEnrollNumber registration number
anGroupID combination of numbers
apnPassTimeID time information on the parameters identification number structure
directs
Parameters
anPassTimeIDSize identification number length of structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.7 GetUserPassTime".
2.7.10 SetUserPassTimeWithString
The form of long SetUserPassTimeWithString (long anEnrollNumber, long
anGroupID, char * ap
strPassTimeID)
The same function and SetUserPassTime instruction, structure identification number
will be listed in the form of text input.
anEnrollNumber registration number
anGroupID combination of numbers
Parameters
apstrPassTimeID time text message identification number column structure directs the
parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.7 GetUserPassTime".
2.7.11 GetGroupPassTime
The form of long GetGroupPassTime (long anGroupID, long * apnPassTimeID, long
anPassTimeID
Size)
Function to obtain the information portfolio in time period information for each
identification number.
anGroupID combination of numbers
apnPassTimeID time information on the parameters identification number structure
directs
Parameters
anPassTimeIDSize identification number length of structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
The other one in the machine several time information will be combined and then
combined structure can be used, "anGroupID" is
Means that the combinations of numbers. 5 combination can be set up, the value is '1
'~ '5'.
- 28 -
2 "apnPassTimeID" is assigned to each combination of the time the information
identification number of the order type composite structures
Body, a combination where you can set three structure identification number, the
structure of the definition of reference to "4.1.4 GRO
UPPASSINFO structure ", identification number, instructions, please refer to" 2.7.3
GetPassTime ".
3 "anPassTimeIDSize" is "apnPassTimeID" the length of the structure to determine
the length of API
Enough.
2.7.12 GetGroupPassTimeWithString
The form of long GetGroupPassTimeWithString (long anGroupID, char *
apstrPassTimeID)
The same function and GetGroupPassTime command will identify the number of
structures returned as a text column.
No combination of parameters anGroupID
apstrPassTimeID time text message identification number column structure directs the
parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.11 GetGroupPassTime".
2.7.13 SetGroupPassTime
The form of long SetGroupPassTime (long anGroupID, long * apnPassTimeID, long
anPassTimeID
Size)
Feature set time period on the mix of information, identification number.
anGroupID combination of numbers
apnPassTimeID time information on the parameters identification number structure
directs
Parameters
anPassTimeIDSize identification number length of structure
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.11 GetGroupPassTime".
2.7.14 SetGroupPassTimeWithString
The form of long SetGroupPassTimeWithString (long anGroupID, char *
apstrPassTimeID)
The same function and SetGroupPassTime command will identify the number of
columns of text input structure.
No combination of parameters anGroupID
apstrPassTimeID time text message identification number column structure directs the
parameters
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
1, specifically refer to other "2.7.11 GetGroupPassTime".
2.7.15 GetGroupMatch
The form of long GetGroupMatch (long * apnGroupMatch, long anGroupMatchSize)
Function to get time information structure of the portfolio composition door operation
Other
Other
Other
Other
Other
Other
Other
Of.
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Other
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
Returns Returns 1 on success, failure to return the corresponding error code. Error
code specific instructions refer to "4.2 error code
Table. "
RS485 , TCP IP