Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

ThresholdValueSets - 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. The other way to change the view period is described in the section on filtering.

...

Code Block
<?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>

ThresholdValueSets - Visible

This configuration options allows you to control the visibility of threshold values. The 'visible' field can be set for each threshold value separately. By default all threshold values are visible. To hide none interesting threshold values from being shown in the display, they must have their visible value set to 'false'.

Code Block
  <thresholdValueSet id="013H" name="H 013">
    <levelThresholdValue>
      <levelThresholdId>Alarm</levelThresholdId>
      <value>8.10</value>
      <visible>false</visible>
    </levelThresholdValue>
    ...

 The second place the the thresholds displays retrieves configuration information is in the TimSeriesDisplayConfig file. This file already contains an element that allows you to control the colors of the threshold values shown in the TimeSeries dialog. This section is also used by the threholds display to color the