![]() |
Standalone SDK API Doc
V1.0.4
|
Functions | |
VARIANT_BOOL | GetUserGroup (LONG dwMachineNumber, LONG dwEnrollNumber, LONG *UserGrp) |
VARIANT_BOOL | SetUserGroup (LONG dwMachineNumber, LONG dwEnrollNumber, LONG UserGrp) |
VARIANT_BOOL | GetTZInfo (LONG dwMachineNumber, LONG TZIndex, BSTR *TZ) |
VARIANT_BOOL | SetTZInfo (LONG dwMachineNumber, LONG TZIndex, BSTR TZ) |
VARIANT_BOOL | GetUnlockGroups (LONG dwMachineNumber, BSTR *Grps) |
VARIANT_BOOL | SetUnlockGroups (LONG dwMachineNumber, BSTR Grps) |
VARIANT_BOOL | SSR_SetUnLockGroup (LONG dwMachineNumber, LONG CombNo, LONG Group1, LONG Group2, LONG Group3, LONG Group4, LONG Group5) |
VARIANT_BOOL | SSR_GetUnLockGroup (LONG dwMachineNumber, LONG CombNo, LONG *Group1, LONG *Group2, LONG *Group3, LONG *Group4, LONG *Group5) |
VARIANT_BOOL | GetGroupTZs (LONG dwMachineNumber, LONG GroupIndex, LONG *TZs) |
VARIANT_BOOL | SetGroupTZs (LONG dwMachineNumber, LONG GroupIndex, LONG *TZs) |
VARIANT_BOOL | SSR_SetGroupTZ (LONG dwMachineNumber, LONG GroupNo, LONG Tz1, LONG Tz2, LONG Tz3, LONG ValidHoliday, LONG VerifyStyle) |
VARIANT_BOOL | SSR_GetGroupTZ (LONG dwMachineNumber, LONG GroupNo, LONG *Tz1, LONG *Tz2, LONG *Tz3, LONG *ValidHoliday, LONG *VerifyStyle) |
VARIANT_BOOL | GetGroupTZStr (LONG dwMachineNumber, LONG GroupIndex, BSTR *TZs) |
VARIANT_BOOL | SetGroupTZStr (LONG dwMachineNumber, LONG GroupIndex, BSTR TZs) |
VARIANT_BOOL | GetUserTZs (LONG dwMachineNumber, LONG UserID, LONG *TZs) |
VARIANT_BOOL | SetUserTZs (LONG dwMachineNumber, LONG UserID, LONG *TZs) |
VARIANT_BOOL | GetUserTZStr (LONG dwMachineNumber, LONG UserID, BSTR *TZs) |
VARIANT_BOOL | SetUserTZStr (LONG dwMachineNumber, LONG UserID, BSTR TZs) |
VARIANT_BOOL | ACUnlock (LONG dwMachineNumber, LONG Delay) |
VARIANT_BOOL | GetACFun (LONG *ACFun) |
VARIANT_BOOL | GetDoorState (LONG MachineNumber, LONG *State) |
VARIANT_BOOL | UseGroupTimeZone () |
VARIANT_BOOL | SetHoliday (LONG dwMachineNumber, BSTR Holiday) |
VARIANT_BOOL | GetHoliday (LONG dwMachineNumber, BSTR *Holiday) |
VARIANT_BOOL | SSR_GetHoliday (LONG dwMachineNumber, LONG HolidayID, LONG *BeginMonth, LONG *BeginDay, LONG *EndMonth, LONG *EndDay, LONG *TimeZoneID) |
VARIANT_BOOL | SSR_SetHoliday (LONG dwMachineNumber, LONG HolidayID, LONG BeginMonth, LONG BeginDay, LONG EndMonth, LONG EndDay, LONG TimeZoneID) |
VARIANT_BOOL | SetDaylight (LONG dwMachineNumber, LONG Support, BSTR BeginTime, BSTR EndTime) |
VARIANT_BOOL | GetDaylight (LONG dwMachineNumber, LONG *Support, BSTR *BeginTime, BSTR *EndTime) |
VARIANT_BOOL GetUserGroup | ( | LONG | dwMachineNumber, |
LONG | dwEnrollNumber, | ||
LONG * | UserGrp | ||
) |
To obtain the ID of the group to which a specified user belongs.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetUserGroup | ( | LONG | dwMachineNumber, |
LONG | dwEnrollNumber, | ||
LONG | UserGrp | ||
) |
To set the group to which a specified user belongs.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetTZInfo | ( | LONG | dwMachineNumber, |
LONG | TZIndex, | ||
BSTR * | TZ | ||
) |
To obtain the information about a time segment with a specified index.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetTZInfo | ( | LONG | dwMachineNumber, |
LONG | TZIndex, | ||
BSTR | TZ | ||
) |
To set the information about a time segment with a specified index.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetUnlockGroups | ( | LONG | dwMachineNumber, |
BSTR * | Grps | ||
) |
To obtain unlock combinations of the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetUnlockGroups | ( | LONG | dwMachineNumber, |
BSTR | Grps | ||
) |
To set unlock combinations.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SSR_SetUnLockGroup | ( | LONG | dwMachineNumber, |
LONG | CombNo, | ||
LONG | Group1, | ||
LONG | Group2, | ||
LONG | Group3, | ||
LONG | Group4, | ||
LONG | Group5 | ||
) |
To set unlock combinations.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SSR_GetUnLockGroup | ( | LONG | dwMachineNumber, |
LONG | CombNo, | ||
LONG * | Group1, | ||
LONG * | Group2, | ||
LONG * | Group3, | ||
LONG * | Group4, | ||
LONG * | Group5 | ||
) |
To obtain unlock combination information based on the group ID.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetGroupTZs | ( | LONG | dwMachineNumber, |
LONG | GroupIndex, | ||
LONG * | TZs | ||
) |
To obtain the time segments of a specified group. This function differs from GetGroupTZStr in the format of the returned values.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetGroupTZs | ( | LONG | dwMachineNumber, |
LONG | GroupIndex, | ||
LONG * | TZs | ||
) |
To set the three time segments of a specified group. This function differs from SetGroupTZStr in the format of the specified values.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SSR_SetGroupTZ | ( | LONG | dwMachineNumber, |
LONG | GroupNo, | ||
LONG | Tz1, | ||
LONG | Tz2, | ||
LONG | Tz3, | ||
LONG | ValidHoliday, | ||
LONG | VerifyStyle | ||
) |
To set the time segments of a group.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SSR_GetGroupTZ | ( | LONG | dwMachineNumber, |
LONG | GroupNo, | ||
LONG * | Tz1, | ||
LONG * | Tz2, | ||
LONG * | Tz3, | ||
LONG * | ValidHoliday, | ||
LONG * | VerifyStyle | ||
) |
To obtain the time segments of a group.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetGroupTZStr | ( | LONG | dwMachineNumber, |
LONG | GroupIndex, | ||
BSTR * | TZs | ||
) |
To obtain the time segments of a specified group. This function differs from GetGroupTZs in the format of the returned values.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetGroupTZStr | ( | LONG | dwMachineNumber, |
LONG | GroupIndex, | ||
BSTR | TZs | ||
) |
To set the time segments of a specified group. This function differs from SetGroupTZs in the format of the specified values.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetUserTZs | ( | LONG | dwMachineNumber, |
LONG | UserID, | ||
LONG * | TZs | ||
) |
To obtain the time segments of a user. Each user has three time segments. This function differs from GetUserTZStr in the format of the returned time segments.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetUserTZs | ( | LONG | dwMachineNumber, |
LONG | UserID, | ||
LONG * | TZs | ||
) |
To set the time segments of a user. At most three time segments can be set for a user. This function differs from SetUserTZStr in the format of specified time segments.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetUserTZStr | ( | LONG | dwMachineNumber, |
LONG | UserID, | ||
BSTR * | TZs | ||
) |
To obtain the time segments of a user. This function differs from GetUserTZs in the format of returned time segments.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetUserTZStr | ( | LONG | dwMachineNumber, |
LONG | UserID, | ||
BSTR | TZs | ||
) |
To set the time segments of a user. The time segments are separated with a colon (:). This function differs from SetUserTZs in the format of specified time segments.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ACUnlock | ( | LONG | dwMachineNumber, |
LONG | Delay | ||
) |
To enable the access control panel to output door opening level and close the door after Delay/10 seconds.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetACFun | ( | LONG * | ACFun | ) |
To check whether the machine has the access control function.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetDoorState | ( | LONG | MachineNumber, |
LONG * | State | ||
) |
To query the current door status. The value 1 indicates that the door is opened and 0 indicates that the door is closed.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL UseGroupTimeZone | ( | ) |
To query whether a user uses the group time segments.
None |
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetHoliday | ( | LONG | dwMachineNumber, |
BSTR | Holiday | ||
) |
To set holidays.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetHoliday | ( | LONG | dwMachineNumber, |
BSTR * | Holiday | ||
) |
To query the holiday that is set on the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SSR_GetHoliday | ( | LONG | dwMachineNumber, |
LONG | HolidayID, | ||
LONG * | BeginMonth, | ||
LONG * | BeginDay, | ||
LONG * | EndMonth, | ||
LONG * | EndDay, | ||
LONG * | TimeZoneID | ||
) |
To query holiday settings on the machine based on the holiday ID.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SSR_SetHoliday | ( | LONG | dwMachineNumber, |
LONG | HolidayID, | ||
LONG | BeginMonth, | ||
LONG | BeginDay, | ||
LONG | EndMonth, | ||
LONG | EndDay, | ||
LONG | TimeZoneID | ||
) |
To set holidays.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetDaylight | ( | LONG | dwMachineNumber, |
LONG | Support, | ||
BSTR | BeginTime, | ||
BSTR | EndTime | ||
) |
To set whether to enable DST, and the DST start time and end time.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetDaylight | ( | LONG | dwMachineNumber, |
LONG * | Support, | ||
BSTR * | BeginTime, | ||
BSTR * | EndTime | ||
) |
To query the DST settings on the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |