![]() |
Standalone SDK API Doc
V1.0.4
|
Functions | |
VARIANT_BOOL | SSR_SetDeviceData (LONG dwMachineNumber, BSTR TableName, BSTR Datas, BSTR Options) |
VARIANT_BOOL | SSR_GetDeviceData (LONG dwMachineNumber, BSTR *Buffer, LONG BufferSize, BSTR TableName, BSTR FiledNames, BSTR Filter, BSTR Options) |
VARIANT_BOOL | ReadGeneralLogData (LONG dwMachineNumber) |
VARIANT_BOOL | ReadAllGLogData (LONG dwMachineNumber) |
VARIANT_BOOL | GetGeneralLogData (LONG dwMachineNumber, LONG *dwTMachineNumber, LONG *dwEnrollNumber, LONG *dwEMachineNumber, LONG *dwVerifyMode, LONG *dwInOutMode, LONG *dwYear, LONG *dwMonth, LONG *dwDay, LONG *dwHour, LONG *dwMinute) |
VARIANT_BOOL | SSR_GetGeneralLogData (LONG dwMachineNumber, BSTR *dwEnrollNumber, LONG *dwVerifyMode, LONG *dwInOutMode, LONG *dwYear, LONG *dwMonth, LONG *dwDay, LONG *dwHour, LONG *dwMinute, LONG *dwSecond, LONG *dwWorkcode) |
VARIANT_BOOL | GetAllGLogData (LONGdwMachineNumber, LONG *dwTMachineNumber, LONG *dwEnrollNumber, LONG *dwEMachineNumber, LONG *dwVerifyMode, LONG *dwInOutMode, LONG *dwYear, LONG *dwMonth, LONG *dwDay, LONG *dwHour, LONG *dwMinute) |
VARIANT_BOOL | GetGeneralLogDataStr (LONG dwMachineNumber, LONG *dwEnrollNumber, LONG *dwVerifyMode, LONG *dwInOutMode, BSTR *TimeStr) |
VARIANT_BOOL | GetGeneralExtLogData (LONG dwMachineNumber, LONG *dwEnrollNumber, LONG *dwVerifyMode, LONG *dwInOutMode, LONG *dwYear, LONG *dwMonth, LONG *dwDay, LONG *dwHour, LONG *dwMinute, LONG *dwSecond, LONG *dwWorkCode, LONG *dwReserved) |
VARIANT_BOOL | ClearGLog (LONG dwMachineNumber) |
VARIANT_BOOL | ReadSuperLogData (LONG dwMachineNumber) |
VARIANT_BOOL | ReadAllSLogData (LONG dwMachineNumber) |
VARIANT_BOOL | GetSuperLogData (LONG dwMachineNumber, LONG *dwTMachineNumber, LONG *dwSEnrollNumber, LONG *Params4, LONG *Params1, LONG *Params2, LONG *dwManipulation, LONG *Params3, LONG *dwYear, LONG *dwMonth, LONG *dwDay, LONG *dwHour, LONG *dwMinute) |
GetAllSLogData (LONG dwMachineNumber, LONG *dwTMachineNumber, LONG *dwSEnrollNumber, LONG *dwSMachineNumber, LONG *dwGEnrollNumber, LONG *dwGMachineNumber, LONG *dwManipulation, LONG *dwBackupNumber, LONG *dwYear, LONG *dwMonth, LONG *dwDay, LONG *dwHour, LONG *dwMinute) | |
VARIANT_BOOL | ClearSLog (LONG dwMachineNumber) |
VARIANT_BOOL | GetSuperLogData2 (LONG dwMachineNumber, LONG *dwTMachineNumber, LONG *dwSEnrollNumber, LONG *Params4, LONG *Params1, LONG *Params2, LONG *dwManipulation, LONG *Params3, LONG *dwYear, LONG *dwMonth, LONG *dwDay, LONG *dwHour, LONG *dwMinute, LONG *dwSecs) |
VARIANT_BOOL | ClearKeeperData (LONG dwMachineNumber) |
VARIANT_BOOL | ClearData (LONG dwMachineNumber, LONG DataFlag) |
VARIANT_BOOL | GetDataFile (LONG dwMachineNumber, LONG DataFlag, BSTR FileName) |
VARIANT_BOOL | SendFile (LONG dwMachineNumber, BSTR FileName) |
VARIANT_BOOL | ReadFile (LONG dwMachineNumber, BSTR FileName, BSTR FilePath) |
VARIANT_BOOL | RefreshData (LONG dwMachineNumber) |
VARIANT_BOOL | ReadTimeGLogData (LONG dwMachineNumber, BSTR sTime, BSTR eTime) |
VARIANT_BOOL | ReadNewGLogData (LONG dwMachineNumber) |
VARIANT_BOOL | DeleteAttlogBetweenTheDate (LONG dwMachineNumber, BSTR sTime, BSTR eTime) |
VARIANT_BOOL | DeleteAttlogByTime (LONG dwMachineNumber, BSTR sTime) |
VARIANT_BOOL SSR_SetDeviceData | ( | LONG | dwMachineNumber, |
BSTR | TableName, | ||
BSTR | Datas, | ||
BSTR | Options | ||
) |
This function is applicable to an attendance machine on which the new firmware supports the PULL protocol. This function is used to set data, including the time segment, user information, and holiday settings. The data can be one or more records. If the primary key of an inserted record already exists, the original record will be overwritten.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SSR_GetDeviceData | ( | LONG | dwMachineNumber, |
BSTR * | Buffer, | ||
LONG | BufferSize, | ||
BSTR | TableName, | ||
BSTR | FiledNames, | ||
BSTR | Filter, | ||
BSTR | Options | ||
) |
This function is applicable to an attendance machine on which the new firmware supports the PULL protocol. This function is used to read data from the machine, including the punch records, time segments, user information, and holiday settings. The data can be one or more records.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ReadGeneralLogData | ( | LONG | dwMachineNumber | ) |
To read attendance records to the internal buffer of the PC. The function is the same as ReadAllGLogData.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ReadAllGLogData | ( | LONG | dwMachineNumber | ) |
To read attendance records to the internal buffer of the PC. The function is the same as ReadGeneralLogData.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetGeneralLogData | ( | LONG | dwMachineNumber, |
LONG * | dwTMachineNumber, | ||
LONG * | dwEnrollNumber, | ||
LONG * | dwEMachineNumber, | ||
LONG * | dwVerifyMode, | ||
LONG * | dwInOutMode, | ||
LONG * | dwYear, | ||
LONG * | dwMonth, | ||
LONG * | dwDay, | ||
LONG * | dwHour, | ||
LONG * | dwMinute | ||
) |
To read attendance records from the internal buffer one by one. Before using this function, execute ReadAllGLogData or ReadGeneralLogData to read the attendance records from the machine to the internal buffer of the PC. Each time this function is executed, the pointer moves to the next attendance record. This function is the same as GetAllGLogData. They differ only in the interface name for compatibility.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SSR_GetGeneralLogData | ( | LONG | dwMachineNumber, |
BSTR * | dwEnrollNumber, | ||
LONG * | dwVerifyMode, | ||
LONG * | dwInOutMode, | ||
LONG * | dwYear, | ||
LONG * | dwMonth, | ||
LONG * | dwDay, | ||
LONG * | dwHour, | ||
LONG * | dwMinute, | ||
LONG * | dwSecond, | ||
LONG * | dwWorkcode | ||
) |
To read attendance records from the internal buffer one by one. Before using this function, execute ReadAllGLogData or ReadGeneralLogData to read the attendance records from the machine to the internal buffer of the PC. Each time this function is executed, the pointer moves to the next attendance record. This function is the same as GetGeneralLogData. The difference is that this function applies to color-screen machines.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetAllGLogData | ( | LONGdwMachineNumber | , |
LONG * | dwTMachineNumber, | ||
LONG * | dwEnrollNumber, | ||
LONG * | dwEMachineNumber, | ||
LONG * | dwVerifyMode, | ||
LONG * | dwInOutMode, | ||
LONG * | dwYear, | ||
LONG * | dwMonth, | ||
LONG * | dwDay, | ||
LONG * | dwHour, | ||
LONG * | dwMinute | ||
) |
To read attendance records from the internal buffer one by one. Before using this function, execute ReadAllGLogData or ReadGeneralLogData to read the attendance records from the machine to the internal buffer of the PC. Each time this function is executed, the pointer moves to the next attendance record. This function is the same as GetGeneralLogData. They differ only in the interface name for compatibility.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetGeneralLogDataStr | ( | LONG | dwMachineNumber, |
LONG * | dwEnrollNumber, | ||
LONG * | dwVerifyMode, | ||
LONG * | dwInOutMode, | ||
BSTR * | TimeStr | ||
) |
To read attendance records from the internal buffer one by one. Before using this function, execute ReadAllGLogData or ReadGeneralLogData to read the attendance records from the machine to the internal buffer of the PC. Each time this function is executed, the pointer moves to the next attendance record. This function is the same as GetGeneralLogData. They differ in the format of time in the returned values.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetGeneralExtLogData | ( | LONG | dwMachineNumber, |
LONG * | dwEnrollNumber, | ||
LONG * | dwVerifyMode, | ||
LONG * | dwInOutMode, | ||
LONG * | dwYear, | ||
LONG * | dwMonth, | ||
LONG * | dwDay, | ||
LONG * | dwHour, | ||
LONG * | dwMinute, | ||
LONG * | dwSecond, | ||
LONG * | dwWorkCode, | ||
LONG * | dwReserved | ||
) |
To read attendance records from the internal buffer one by one. Before using this function, execute ReadAllGLogData or ReadGeneralLogData to read the attendance records from the machine to the internal buffer of the PC. Each time this function is executed, the pointer moves to the next attendance record. This function is an enhanced version of GetGeneralLogData. They are compatible.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ClearGLog | ( | LONG | dwMachineNumber | ) |
To clear all attendance records on the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ReadSuperLogData | ( | LONG | dwMachineNumber | ) |
To read operation records to the internal buffer of the PC. The function is the same as ReadAllSLogData.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ReadAllSLogData | ( | LONG | dwMachineNumber | ) |
To read operation records to the internal buffer of the PC. The function is the same as ReadSuperLogData.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetSuperLogData | ( | LONG | dwMachineNumber, |
LONG * | dwTMachineNumber, | ||
LONG * | dwSEnrollNumber, | ||
LONG * | Params4, | ||
LONG * | Params1, | ||
LONG * | Params2, | ||
LONG * | dwManipulation, | ||
LONG * | Params3, | ||
LONG * | dwYear, | ||
LONG * | dwMonth, | ||
LONG * | dwDay, | ||
LONG * | dwHour, | ||
LONG * | dwMinute | ||
) |
To read operation records from the internal buffer one by one. Before using this function, execute ReadAllSLogData or ReadSuperLogData to read the operation records from the machine to the internal buffer of the PC. Each time this function is executed, the pointer moves to the next operation record. This function differs from GetSuperLogData2 in that the GetSuperLogData2 function can obtain the operation record time accurate to seconds.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
GetAllSLogData | ( | LONG | dwMachineNumber, |
LONG * | dwTMachineNumber, | ||
LONG * | dwSEnrollNumber, | ||
LONG * | dwSMachineNumber, | ||
LONG * | dwGEnrollNumber, | ||
LONG * | dwGMachineNumber, | ||
LONG * | dwManipulation, | ||
LONG * | dwBackupNumber, | ||
LONG * | dwYear, | ||
LONG * | dwMonth, | ||
LONG * | dwDay, | ||
LONG * | dwHour, | ||
LONG * | dwMinute | ||
) |
To read operation records from the internal buffer one by one. Before using this function, execute ReadAllSLogData or ReadSuperLogData to read the operation records from the machine to the internal buffer of the PC. Each time this function is executed, the pointer moves to the next operation record. This function is the same as GetSuperLogData. They differ only in the interface name for compatibility.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ClearSLog | ( | LONG | dwMachineNumber | ) |
To clear all operation records on the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetSuperLogData2 | ( | LONG | dwMachineNumber, |
LONG * | dwTMachineNumber, | ||
LONG * | dwSEnrollNumber, | ||
LONG * | Params4, | ||
LONG * | Params1, | ||
LONG * | Params2, | ||
LONG * | dwManipulation, | ||
LONG * | Params3, | ||
LONG * | dwYear, | ||
LONG * | dwMonth, | ||
LONG * | dwDay, | ||
LONG * | dwHour, | ||
LONG * | dwMinute, | ||
LONG * | dwSecs | ||
) |
To read operation records from the internal buffer one by one. Before using this function, execute ReadAllSLogData or ReadSuperLogData to read the operation records from the machine to the internal buffer of the PC. Each time this function is executed, the pointer moves to the next operation record. GetSuperLogData and GetSuperLogData2 differ in that the GetSuperLogData2 function can obtain the operation record time accurate to seconds.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ClearKeeperData | ( | LONG | dwMachineNumber | ) |
To clear all data on the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ClearData | ( | LONG | dwMachineNumber, |
LONG | DataFlag | ||
) |
To clear the records specified by DataFlag on the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetDataFile | ( | LONG | dwMachineNumber, |
LONG | DataFlag, | ||
BSTR | FileName | ||
) |
To obtain a specified data file from the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SendFile | ( | LONG | dwMachineNumber, |
BSTR | FileName | ||
) |
To send a file to the machine, usually to the directory /mnt/mtdblock/.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ReadFile | ( | LONG | dwMachineNumber, |
BSTR | FileName, | ||
BSTR | FilePath | ||
) |
To read a specified file from the machine, usually under the directory /mnt/mtdblock/.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL RefreshData | ( | LONG | dwMachineNumber | ) |
To refresh the data on the machine. This function is typically invoked after user information or a fingerprint is uploaded, so that the modification takes effect immediately.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ReadTimeGLogData | ( | LONG | dwMachineNumber, |
BSTR | sTime, | ||
BSTR | eTime | ||
) |
To download attendance records based on the specified start time and end time, accurate to seconds.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ReadNewGLogData | ( | LONG | dwMachineNumber | ) |
To download the new generated attendance records.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL DeleteAttlogBetweenTheDate | ( | LONG | dwMachineNumber, |
BSTR | sTime, | ||
BSTR | eTime | ||
) |
To delete attendance records based on the specified start time and end time, accurate to seconds.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL DeleteAttlogByTime | ( | LONG | dwMachineNumber, |
BSTR | sTime | ||
) |
To delete all attendance records generated before the specified time point, accurate to seconds.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |