__init__(self,
recurrencePeriod=0.0,
disabled=False,
offset=0.0,
recurrencePattern='
' ,
TimePoints=None,
scheduleInterval=None,
*args,
**kw_args)
(Constructor)
|
|
Initialises a new 'TimeSchedule' instance.
- Parameters:
recurrencePeriod - Duration between time points, from the beginning of one period to
the beginning of the next period. Note that a device like a meter
may have multiple interval periods (e.g., 1 min, 5 min, 15 min,
30 min, or 60 min).
disabled - True if this schedule is deactivated (disabled).
offset - The offset from midnight (i.e., 0 h, 0 min, 0 s) for the periodic
time points to begin. For example, for an interval meter that is
set up for five minute intervals ('recurrencePeriod'=300=5 min),
setting 'offset'=120=2 min would result in scheduled events to
read the meter executing at 2 min, 7 min, 12 min, 17 min, 22 min,
27 min, 32 min, 37 min, 42 min, 47 min, 52 min, and 57 min past
each hour.
recurrencePattern - Interval at which the scheduled action repeats (e.g., first
Monday of every month, last day of the month, etc.).
TimePoints - Sequence of time points belonging to this time schedule.
scheduleInterval - Schedule date and time interval.
- Overrides:
object.__init__
|