Inheritance diagram for ITimeBlock:
A time block is a period in time in which users are allowed access (after presenting their card). Outside the time blocks, access is denied to the all users of this time scheme. The time schemes are weekly schedules, they consists of 7 days that can hold a maximum of 3 time blocks per day.
This object is used in the ITimeScheme interface, it encapsulates time block information such as the Index, Day, StartTime and EndTime.
This object simplifies passing time block information to and from a time scheme.
Public Member Functions | |
HRESULT | TimeScheme ([out, retval] ITimeScheme **ppintfTimeScheme) |
Returns the time scheme of this time block. | |
HRESULT | Index ([out, retval] long *plIndex) |
Returns the index of this time block in the current day. | |
HRESULT | Index ([in] long lIndex) |
Set the index of this time block. | |
HRESULT | Day ([out, retval] ETimeSchemeDay *peDay) |
Returns the day of this time block. | |
HRESULT | Day ([in] ETimeSchemeDay eDay) |
Sets the new day of this time block. | |
HRESULT | StartTime ([out, retval] long *pltTime) |
Returns the start time of this time block. | |
HRESULT | StartTime ([in] long lTime) |
Sets the start time of this time block. | |
HRESULT | EndTime ([out, retval] long *pltTime) |
Returns the end time of this time block. | |
HRESULT | EndTime ([in] long lTime) |
Sets the end time of this time block. | |
HRESULT | Save ([out, retval] VARIANT_BOOL *pfSucceeded) |
Stores this time block information in the reader. | |
HRESULT | IsValid ([out, retval] VARIANT_BOOL *pfValid) |
Returns true if this time block is set. |
|
Returns the time scheme of this time block.
|
|
Returns the index of this time block in the current day.
|
|
Set the index of this time block.
|
|
Returns the day of this time block.
|
|
Sets the new day of this time block.
|
|
Returns the start time of this time block.
|
|
Sets the start time of this time block.
|
|
Returns the end time of this time block.
|
|
Sets the end time of this time block.
|
|
Stores this time block information in the reader. The time block will only be saved when the data of this time block has changed.
|
|
Returns true if this time block is set. If the time block contains invalid values (also when it is removed), this property will return false.
|