equal
deleted
inserted
replaced
|
1 <script xmlns="http://www.nokia.com/ns/cep/script/1.0/" xmlns:cep="http://www.nokia.com/ns/cep/1.0/"> |
|
2 <!-- If alarm is not active, nothing needs to be done --> |
|
3 <if> |
|
4 <equals> |
|
5 <contextRef source='Alarm' type='Status.Active' value='false'/> |
|
6 </equals> |
|
7 <actions> |
|
8 <!-- Do nothing --> |
|
9 </actions> |
|
10 </if> |
|
11 |
|
12 <!-- Stop alarm when 'stop' command is received from alarmui --> |
|
13 <elseIf> |
|
14 <contextUpdated> |
|
15 <contextRef source='AlarmUI' type='Command' value='Stop'/> |
|
16 </contextUpdated> |
|
17 <actions> |
|
18 <!-- stop the alarm --> |
|
19 <AlarmUI.Stop/> |
|
20 </actions> |
|
21 </elseIf> |
|
22 </script> |