An additional method is added that enables a programmer to open the door remotely, the OpenDoor method.
To fine grade access control to a building, several settings are important, like anti-passback to be sure that an access card cannot be used by different persons walking behind each other.
Also, it can be very useful to allow some group of users only access at night, and other groups only by day. This night-lock scheme needs a lot of parameters to fine-grade its behavior. The night-lock feature however will not work when the reader is in user-group mode (with firmware > 1.63 and when its file system is set to 16 or 17). The user group / time scheme settings will override the night-lock mode settings.
Another feature of this interface is the unlock feature. Using this feature time schemes can be configured in which the door will always unlocked. This can be a useful feature for internal office doors, the door will remain open between office hours, but outside office hours, employees require a card to access certain areas.
All these parameters can be set with the methods in this interface. Below a detailed description of all members is shown.
Note that all these settings contained in this interface can also be changed by changing the appropriate parameter in the parameter database. But that will require more detailed knowledge about the different parameter values, it is more convenient to use this interface.
Public Member Functions | |
HRESULT | Reader ([out, retval] IProximityReader **ppintfReader) |
Returns the reader this access control object belongs to. | |
HRESULT | OperationalMode ([out, retval] EOperationalMode *peMode) |
Returns the current operational mode of the attached reader. | |
HRESULT | AntiPassbackMode ([out, retval] VARIANT_BOOL *pfStatus) |
Returns the current state of the anti-passback mode. | |
HRESULT | AntiPassbackMode ([in] VARIANT_BOOL fStatus) |
Sets the anti-passback mode. | |
HRESULT | AntiPassbackTime ([out, retval] short *psSeconds) |
Returns the number of seconds that is used as anti-passback time. | |
HRESULT | AntiPassbackTime ([in] short sSeconds) |
Sets the number of seconds that is used as anti-passback time. | |
HRESULT | DayToNightTime ([out, retval] DATE *pdate) |
Returns the time when the reader switches from day to night. | |
HRESULT | DayToNightTime ([in] DATE date) |
Sets the timezone day-to-night time. | |
HRESULT | NightToDayTime ([out, retval] DATE *pdate) |
Returns the timezone night-to-day time. | |
HRESULT | NightToDayTime ([in] DATE date) |
Sets the timezone night-to-day time. | |
HRESULT | TimezoneWeekScheme ([out, retval] EWeekScheme *peScheme) |
Returns the days (or-ed together) on which the timezones are active. | |
HRESULT | TimezoneWeekScheme ([in] EWeekScheme eScheme) |
Sets the days that are configured to use with the timezones. | |
HRESULT | UnlockToLockTime ([out, retval] DATE *pdate) |
Returns the time when the reader switches from unlock to lock mode. | |
HRESULT | UnlockToLockTime ([in] DATE date) |
Sets the unlockzone unlock-to-lock time. | |
HRESULT | LockToUnlockTime ([out, retval] DATE *pdate) |
Returns the unlockzone lock-to-unlock time. | |
HRESULT | LockToUnlockTime ([in] DATE date) |
Sets the unlockzone lock-to-unlock time. | |
HRESULT | UnlockzoneWeekScheme ([out, retval] EWeekScheme *peScheme) |
Returns the days (or-ed together) on which the unlockzones are active. | |
HRESULT | UnlockzoneWeekScheme ([in] EWeekScheme eScheme) |
Sets the days on which the unlock zones should be active. | |
HRESULT | DoorOpenTime ([out, retval] short *psSeconds) |
Returns the number of seconds that a door remains open after access was granted. | |
HRESULT | DoorOpenTime ([in] short sSeconds) |
Sets the number of seconds that a door remains open after access was granted. | |
HRESULT | DoorCloseTime ([out, retval] short *psSeconds) |
Returns the number of seconds that a door should remain closed before granting access again. | |
HRESULT | DoorCloseTime ([in] short sSeconds) |
Sets the number of seconds that a door should remain closed until access is granted again. | |
HRESULT | LockType ([out, retval] ELockType *peLockType) |
Returns the type of lock that is used by the reader. | |
HRESULT | LockType ([in] ELockType eLockType) |
Sets the type of lock that should be used by the reader. | |
HRESULT | OpenDoor () |
Open the door. |
|
Returns the reader this access control object belongs to.
|
|
Returns the current operational mode of the attached reader. This method returns the current operational mode of the reader.
|
|
Returns the current state of the anti-passback mode. Anti passback mode enables the reader to determine if a card is used twice (a person passes his card back to another user) within a specified time. If the anti passback mode is turned on, the reader will notice this and will deny access to the second user.
|
|
Sets the anti-passback mode. Anti passback mode enables the reader to determine if a card is used twice (a person passes his card back to another user) within a specified time. If the anti passback mode is turned on, the reader will notice this and will deny access to the second user.
|
|
Returns the number of seconds that is used as anti-passback time. This time specifies how long a card cannot be used after access was granted. This property returns the time in seconds that is used as anti-passback time. After a user is granted access with a card, that card cannot be used for the time returned by this property.
|
|
Sets the number of seconds that is used as anti-passback time. This time specifies how long a card cannot be used after access was granted. With this property the time in seconds that is used as anti-passback can be set. After a user is granted access with a card, that card cannot be used for the time set using this property.
|
|
Returns the time when the reader switches from day to night. This property returns the time when the reader switches from day to night (switches to nightlock mode). Only the time-part of the DATE is used.
|
|
Sets the timezone day-to-night time. This property sets the time when the reader switches from day to night (switches to nightlock mode).
|
|
Returns the timezone night-to-day time. This property returns the time when the reader switches from night to day (switches from nightlock mode into normal access mode). Only the time-part of the DATE is used.
|
|
Sets the timezone night-to-day time. This property sets the time when the reader switches from night to day (switches from nightlock mode into normal access mode).
|
|
Returns the days (or-ed together) on which the timezones are active. Returns the days on which the timezones (day-to-night and night-to-day times) are active.
|
|
Sets the days that are configured to use with the timezones. Sets the days on which the timezones (day-to-night and night-to-day times) should be active.
|
|
Returns the time when the reader switches from unlock to lock mode. This property returns the time when the reader switches from unlock to lock mode. In unlock mode the door is always open. Lock mode is the normal reader mode where the door opens when a user presents a valid card. Only the time-part of the DATE is used.
|
|
Sets the unlockzone unlock-to-lock time. Use this property to set the time when the reader should switch from unlock to lock mode.
|
|
Returns the unlockzone lock-to-unlock time. This property returns the time when the reader switches from lock to unlock mode. Only the time-part of the DATE is used.
|
|
Sets the unlockzone lock-to-unlock time. Use this property to set the time when the reader should switch from lock to unlock mode.
|
|
Returns the days (or-ed together) on which the unlockzones are active. Returns the days on which the unlock zones (as specified with the unlock-to-lock and lock-to-unlock times) are active.
|
|
Sets the days on which the unlock zones should be active. Use this property to set the days on which the unlockzones (as specified with unlock-to-lock and lock-to-unlock times) should be active.
|
|
Returns the number of seconds that a door remains open after access was granted.
|
|
Sets the number of seconds that a door remains open after access was granted.
|
|
Returns the number of seconds that a door should remain closed before granting access again.
|
|
Sets the number of seconds that a door should remain closed until access is granted again.
|
|
Returns the type of lock that is used by the reader.
|
|
Sets the type of lock that should be used by the reader.
|
|
Open the door. The door will automatically lock again after the specified door-open time has expired. An egress-event is logged (if the appropriate event logging option is enabled) to the readers internal event database when this method is called.
|