|
ED
|
avaliable
|
RT
|
avaliable
|
Sets the state for the execution of the function on a specific day.
Day
|
Value
|
---|---|
Monday |
0
|
Tuesday |
1
|
Wednesday |
2
|
Thursday |
3
|
Friday |
4
|
Saturday |
5
|
Sunday |
6
|
Execution type
|
Day value = 8
|
Cycled
|
Description
|
---|---|---|---|
cyclic only on that day
|
True
|
True
|
The function is executed cyclically only on the
defined day in the defined interval.
|
only on that day
|
True
|
False
|
The function is executed once on the defined day
at the defined time.
|
cyclic from that day
|
False
|
True
|
The function is executed cyclically from the
defined day in the defined interval.
|
from that day
|
False
|
False
|
The function is executed from the defined day
every day at the defined time.
|
Sub zenOn_TimeFunction_SetExecutionType(ByRef zTime As TimeFunction) 'Set execution type: "cyclic only on that day" zTime.SetDaySelected 8, True zTime.Cycled = True 'Set execution type: "only on that day" zTime.SetDaySelected 8, True zTime.Cycled = False 'Set execution type: "cyclic from that day" zTime.SetDaySelected 8, False zTime.Cycled = True 'Set execution type: "from that day" zTime.SetDaySelected 8, False zTime.Cycled = False End Sub