locationsystemui/locationsysui/locbtnotifier/data/locbtgpspsypscontextstate.rul
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 <!-- Defines a rule which causes appropriate note to be displayed on change of BtGpsPsy PS keys -->
       
     2 <script xmlns="http://www.nokia.com/ns/cep/script/1.0/"
       
     3         xmlns:cep="http://www.nokia.com/ns/cep/1.0/">
       
     4     <if>
       
     5         <equals>
       
     6             <contextRef source='Location' type='BtGpsPsy.Status'/>
       
     7             <string>EBatteryStateNA</string>
       
     8         </equals>
       
     9         <actions>
       
    10             <!-- No information Note shown when : 'Battery State NA' -->
       
    11             <showNote BatteryState='EBatteryStateNA' />
       
    12         </actions>
       
    13     </if>
       
    14     <elseIf>
       
    15         <equals>
       
    16             <contextRef source='Location' type='BtGpsPsy.Status'/>
       
    17             <string>EBatteryStateNormal</string>
       
    18         </equals>
       
    19         <actions>
       
    20             <!-- No information Note shown when : 'Battery State Normal' -->
       
    21             <showNote BatteryState='EBatteryStateNormal' />
       
    22         </actions>
       
    23     </elseIf>
       
    24     <elseIf>
       
    25         <equals>
       
    26             <contextRef source='Location' type='BtGpsPsy.Status'/>
       
    27             <string>EBatteryStateLow</string>
       
    28         </equals>
       
    29         <actions>
       
    30             <!-- show information note : 'Battery Low' -->
       
    31             <showNote BatteryState='EBatteryStateLow' />
       
    32         </actions>
       
    33     </elseIf>
       
    34     <elseIf>
       
    35         <equals>
       
    36             <contextRef source='Location' type='BtGpsPsy.Status'/>
       
    37             <string>EBatteryStateFull</string>
       
    38         </equals>
       
    39         <actions>
       
    40             <!-- show information note : 'Battery Full' -->
       
    41             <showNote BatteryState='EBatteryStateFull' />
       
    42         </actions>
       
    43     </elseIf>
       
    44     <elseIf>
       
    45         <equals>
       
    46             <contextRef source='Location' type='BtGpsPsy.Status'/>
       
    47             <string>EExtAntennaNA</string>
       
    48         </equals>
       
    49         <actions>
       
    50             <!-- No information Note shown when : 'Antenna State NA' -->
       
    51             <showNote AntennaState='EExtAntennaNA' />
       
    52         </actions>
       
    53     </elseIf>
       
    54     <elseIf>
       
    55         <equals>
       
    56             <contextRef source='Location' type='BtGpsPsy.Status'/>
       
    57             <string>EExtAntennaOff</string>
       
    58         </equals>
       
    59         <actions>
       
    60             <!-- show information note : 'Antenna Disconnected' -->
       
    61             <showNote AntennaState='EExtAntennaOff' />
       
    62         </actions>
       
    63     </elseIf>
       
    64     <elseIf>
       
    65         <equals>
       
    66             <contextRef source='Location' type='BtGpsPsy.Status'/>
       
    67             <string>EExtAntennaOn</string>
       
    68         </equals>
       
    69         <actions>
       
    70             <!-- show information note : 'Antenna Connected' -->
       
    71             <showNote AntennaState='EExtAntennaOn' />
       
    72         </actions>
       
    73     </elseIf>
       
    74     <elseIf>
       
    75         <equals>
       
    76             <contextRef source='Location' type='BtGpsPsy.Status'/>
       
    77             <string>EExtPowerNA</string>
       
    78         </equals>
       
    79         <actions>
       
    80             <!-- No information Note shown when : 'Power State NA' -->
       
    81             <showNote PowerState='EExtPowerNA' />
       
    82         </actions>
       
    83     </elseIf>
       
    84     <elseIf>
       
    85         <equals>
       
    86             <contextRef source='Location' type='BtGpsPsy.Status'/>
       
    87             <string>EExtPowerOff</string>
       
    88         </equals>
       
    89         <actions>
       
    90             <!-- show information note : 'Charger Disconnected' -->
       
    91             <showNote PowerState='EExtPowerOff' />
       
    92         </actions>
       
    93     </elseIf>
       
    94     <elseIf>
       
    95         <equals>
       
    96             <contextRef source='Location' type='BtGpsPsy.Status'/>
       
    97             <string>EExtPowerOn</string>
       
    98         </equals>
       
    99         <actions>
       
   100             <!-- show information note : 'Charger Connected' -->
       
   101             <showNote PowerState='EExtPowerOn' />
       
   102         </actions>
       
   103     </elseIf>
       
   104 </script>