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

Compare with Current View Page History

« Previous Version 5 Next »

Function:

Configure custom flag sources

Where to Use?

To define custom flag sources. Currently the conditional aggregations support the use of custom defined flagsources

Why to Use?

If the systeem needs additional flagsources, they can be defined by using the custom flagsources.

Description:

 

Available since:

2013.01

Contents

Overview

The CustomFlagSources can be used to define custom flag sources. This can be useful when the hard-coded flag sources are not sufficient.

Configuration

When available on the file system, the name of the XML file is for example:

CustomFlagSources 1.00 default.xml

CustomFlagSource                              Fixed file name for the TimeSteps configuration

1.00                                            Version number

default                                       Flag to indicate the version is the default configuration (otherwise omitted).

Schema

Below the schema of the TimeStep.xml configuration files.

Example

Below a configuration example

<?xml version="1.0" encoding="UTF-8"?>
<customFlagSources 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/customFlagSources.xsd">
	<customFlagSource id="10DF" flag="100"/>
	<customFlagSource id="10UR" flag="101"/>
	<customFlagSource id="20DF" flag="102"/>
	<customFlagSource id="20UR" flag="103"/>
	<customFlagSource id="50DF" flag="104"/>
	<customFlagSource id="50UR" flag="105"/>
	<customFlagSource id="CDF" flag="106"/>
	<customFlagSource id="CUR" flag="107"/>
</customFlagSources>
  • No labels