root / logic / trunk / scenariotree.xml @ 61
History | View | Annotate | Download (1.68 KB)
1 | 38 | Janez1 | <?xml version="1.0"?>
|
---|---|---|---|
2 | <scenariotree>
|
||
3 | 40 | Janez1 | <scenario id="scenario_01" name="Klima v server roomu"> |
4 | 38 | Janez1 | <inDevice id="thermometer_01" /> |
5 | <outDevice id="air_cond_01" /> |
||
6 | <reaction func="linear" /> |
||
7 | 40 | Janez1 | <check_idle val="30" /> |
8 | <check_active val="3" /> |
||
9 | <alpha val="0.7"/> |
||
10 | 38 | Janez1 | <params val="--lazy=true" /> |
11 | 40 | Janez1 | <inDevAalues minval="20" maxval="25" optval="20" tolerance="0.5"/> |
12 | 38 | Janez1 | <action act="testAction_1"/> |
13 | <param par="testParam_1"/> |
||
14 | 40 | Janez1 | <conditions/> |
15 | </scenario>
|
||
16 | <scenario id="scenario_02" name="Klima v pisarni"> |
||
17 | <inDevice id="thermometer_02" /> |
||
18 | <outDevice id="air_cond_02" /> |
||
19 | <reaction func="linear" /> |
||
20 | 41 | Janez1 | <check_idle val="25" /> |
21 | <check_active val="2" /> |
||
22 | 40 | Janez1 | <alpha val="0.8"/> |
23 | <params val="--lazy=true" /> |
||
24 | <inDevAalues minval="20" maxval="26" optval="23" tolerance="0.5"/> |
||
25 | <action act="testAction_2"/> |
||
26 | <param par="testParam_3"/> |
||
27 | 38 | Janez1 | <conditions>
|
28 | <and>
|
||
29 | <greater inDeviceId="barometer_01" val="80" /> |
||
30 | <or>
|
||
31 | 40 | Janez1 | <less inDeviceId="time" val="1600" /> |
32 | <greater inDeviceId="time" val="700" /> |
||
33 | 38 | Janez1 | </or>
|
34 | </and>
|
||
35 | </conditions>
|
||
36 | </scenario>
|
||
37 | 40 | Janez1 | <scenario id="scenario_03" name="Okna v pisarni"> |
38 | <inDevice id="hygrometer_01" /> |
||
39 | <outDevice id="window_01" /> |
||
40 | 38 | Janez1 | <reaction func="linear" /> |
41 | 41 | Janez1 | <check_idle val="10" /> |
42 | 40 | Janez1 | <check_active val="10" /> |
43 | <alpha val="0.9"/> |
||
44 | 38 | Janez1 | <params val="--lazy=true" /> |
45 | 40 | Janez1 | <inDevAalues minval="20" maxval="28" optval="28" tolerance="0.5"/> |
46 | <action act="testAction_2"/> |
||
47 | <param par="testParam_3"/> |
||
48 | 38 | Janez1 | <conditions>
|
49 | <and>
|
||
50 | 40 | Janez1 | <greater inDeviceId="time" val="1600" /> |
51 | <less inDeviceId="time" val="700" /> |
||
52 | 38 | Janez1 | </and>
|
53 | </conditions>
|
||
54 | </scenario>
|
||
55 | </scenariotree> |