Legrand / Raritan / Server Technology Xerus™ PDU JSON-RPC API
Loading...
Searching...
No Matches
Public Attributes | List of all members
smartlock::DoorAccessControl::PeriodicTimeCondition Struct Reference

A condition representing a periodic time range. More...

Public Attributes

boolean enabled
 Condition is enabled.
 
vector< int > daysOfWeek
 Range for these days of the week (valid values are 0 - 6, 0 is Sunday)
 
int fromHourOfDay
 Range periodically starts from this hour of the day (0 - 23)
 
int tillHourOfDay
 Range periodically ends this hour of the day (0 - 23)
 
int fromMinuteOfHour
 Specify minute of starting hour (0 - 59)
 
int tillMinuteOfHour
 Specify minute of ending hour (0 - 59)
 

Detailed Description

A condition representing a periodic time range.

Once this condition is enabled, weekdays have to be specified in order to get granted access. A specific clock time range can be set to allow access only certain times of the day. The system's local time will be used (as defined by the configured time zone).

The clock time range will wrap over into the next day if fromHourOfDay:fromMinuteOfHour >= tillHourOfDay:tillMinuteOfHour, meaning that the weekday of fromHourOfDay:fromMinuteOfHour will be checked.


The documentation for this struct was generated from the following file: