Follow Current Context property
- Last UpdatedSep 26, 2024
- 2 minute read
The value assigned to the Follow Current Context property determines if the AlarmApp responds to context changes and shows alarms for the currently-selected context of the ViewApp. When set to True, the displayed alarms are from the selected area or asset items of a ViewApp navigation model based on the value assigned to the Only Show Alarms on Current Asset property. The table that follows shows the displayed alarms based on the different combinations of property values, and references the following navigation hierarchy.
|
Plant [Area] |_ Plant_Area [Area] |_ Tank [Asset] |_ Inlet_Valve [Asset] |_ Outlet_Valve [Asset] |
|
Follow Current Context |
Only Show Alarms on Current Asset |
Displayed Alarms |
|
True |
False |
The alarm query shows alarms from the current area of the navigation model. If you select an asset under an area, the AlarmApp traverses up the navigation hierarchy until it finds the area that contains the selected asset. Alarms are aggregated for the entire area, including all assets contained in the area, and are displayed in the AlarmApp grid at run time. Example: Selecting Inlet Valve from the navigation hierarchy shows the same alarms in the alarm grid as the following
alarm query: |
|
True |
True |
The alarm query shows alarms from the current selected asset of the navigation model. If you select an asset under an area, the AlarmApp displays alarms only for selected asset. If the selected asset is an area, only alarms for the area are displayed. If assets contained by the area have alarms, these alarms are not shown. Example 1: Selecting Inlet_Valve from the navigation hierarchy shows the same alarms in the alarm grid as the following
alarm query: Example 2: Selecting Plant_Area from the navigation hierarchy shows the same alarms in the alarms grid as the following
alarm query: |
|
False |
False |
If Follow Current Context is set to False, the value assigned to the Show Alarms on Selected Asset property does not have any effect. No alarms related to the current area or asset are displayed within the AlarmApp grid at run time. Instead, the AlarmApp shows alarms from the specified query assigned from the Configuration dialog or, if configured, from the Alarm Query property. |
|
False |
True |