root / logic / trunk / src / init / scenariotree.xml @ 30
History | View | Annotate | Download (1.44 KB)
1 |
<?xml version="1.0"?>
|
---|---|
2 |
<scenariotree>
|
3 |
<scenario id="scenario_01" name="Klima na stropu, w/e"> |
4 |
<inDevice id="thermometer_01" /> |
5 |
<outDevice id="air_cond_01" /> |
6 |
<reaction func="linear" /> |
7 |
<check_idle val="600" /> |
8 |
<check_active val="60" /> |
9 |
<params val="--lazy=true" /> |
10 |
<inDevAalues minval="20" maxval="28" optval="24" tolerance="0.5"/> |
11 |
<action act="testAction_1"/> |
12 |
<param par="testParam_1"/> |
13 |
<conditions>
|
14 |
<and>
|
15 |
<greater inDeviceId="barometer_01" val="80" /> |
16 |
<lower_or_equal inDeviceId="lightSensor" val="50" /> |
17 |
<or>
|
18 |
<greater inDeviceId="time" val="15:00" /> |
19 |
<smaller inDeviceId="time" val="10:00" /> |
20 |
</or>
|
21 |
</and>
|
22 |
</conditions>
|
23 |
</scenario>
|
24 |
<scenario id="scenario_02" name="Klima v kleti, w/e"> |
25 |
<inDevice id="thermometer_01" /> |
26 |
<outDevice id="air_cond_01" /> |
27 |
<reaction func="linear" /> |
28 |
<check_idle val="600" /> |
29 |
<check_active val="60" /> |
30 |
<params val="--lazy=true" /> |
31 |
<inDevAalues minval="20" maxval="28" optval="24" tolerance="0.5"/> |
32 |
<action act="testAction_1"/> |
33 |
<param par="testParam_1"/> |
34 |
<conditions>
|
35 |
<and>
|
36 |
<greater inDeviceId="barometer_01" val="80" /> |
37 |
<lower_or_equal inDeviceId="lightSensor" val="50" /> |
38 |
<or>
|
39 |
<greater inDeviceId="time" val="15:00" /> |
40 |
<smaller inDeviceId="time" val="10:00" /> |
41 |
</or>
|
42 |
</and>
|
43 |
</conditions>
|
44 |
</scenario>
|
45 |
</scenariotree>
|