You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

System Wide Thresholds Display

This display provides users with a system wide overview of all threshold crossing events. This display does not require any additional configuration files. It makes use of the already existing threshold configuration in the 'thresholdValueSets.xsd' and the 'thresholdDisplayConfig' that is available in the 'timeSeriesDisplayConfig.xsd'.

 

Activate Display

The thresholds display can be activated by adding the following explorer task in the Explorer.xml file:

        <explorerTask name="Events">
            <iconFile>table.png</iconFile>
            <mnemonic>T</mnemonic>
            <taskClass>nl.wldelft.fews.gui.plugin.thresholdeventsviewer.ThresholdEventsTableViewer</taskClass>
            <toolbarTask>true</toolbarTask>
            <menubarTask>true</menubarTask>
            <allowMultipleInstances>false</allowMultipleInstances>
            <accelerator>ctrl T</accelerator>
            <loadAtStartup>false</loadAtStartup>
        </explorerTask>

Configure Display

The thresholds display does not require a display configurations file. It obtains all information for thresholds configuration that is already available in the ThresholdsValueSets.xml file and also in the TimeSeriesDisplayConfig.xml file.

Firstly the most information is retrieved from the ThresholdValueSets file. Here is where all threshold levels are configured and how they relate to timeseries sets. For the purpose of the Thresholds Display some configuration options have been added to this file to control the view period and visibility of the threshold events.

EventTimeViewPeriod

This configuration option consists of a relative view period that controls which threshold events are shown in the display by default. The relative period is converted to an absolute period based on the current system time. Only threshold events will be shown if their Event Time lies within the configured period. Changing the System Time is one way to change  the view period the events.

<?xml version="1.0" encoding="UTF-8"?>
<thresholdValueSets xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/thresholdValueSets.xsd">
  <thresholdValueSet id="010H" name="H 010">
  ...
  </thresholdValueSet>
  <eventTimeViewPeriod start="0" end="7" unit="day"/>
</thresholdValueSets>

 

 

 

  • No labels