Show/Hide Toolbars

CWT Software Configuration Handbook

Element        Path: <cwt><TARIFFPACKAGE><intervalDescription>

A tariff package contains one or several intervals that can be active at different times. To be able to specify the description in a more dynamic way the textual tariff description can be specified for each individual interval in a tariff.

If a tariff package has an interval for each one of the days Monday to Wednesday, an individual interval description can be created for all three intervals. Intervals are defined with the tariff language within the tariff element (see tariff ).

In each defined interval description, regular tariff description elements are used to describe the layout in the same way as for regular tariff description described in section description.

Important:
If several intervals are active at the same time, the CWT will pick the description of the first defined active interval in the tariff tag and display the description for that interval.

attribute

interval

Value:Any character
Default:
Description:The name of the tariff interval for which the description shall be active. Please note that the name is case sensitive and must match the name of the INTERVAL definition in the tariff element. See tariff.

Example:

A tariff configuration with three different intervals (Monday, Tuesday and Wednesday) and a corresponding interval description that will be shown when the particular interval is active:

<TARIFFPACKAGE tariffPackageId="" name="intervalsample">
<intervalDescription interval="monday">
  <description row="0" col="0" string="Monday:"/>
  <description row="0" col="1" string="$2 / @hour"/>
</intervalDescription>
<intervalDescription interval="tuesday">
  <description row="0" col="0" string="Tuesday:"/>
  <description row="0" col="1" string="$3 / @hour"/>
</intervalDescription>
<intervalDescription interval="wednesday">
  <description row="0" col="0" string="Wednesday:"/>
  <description row="0" col="1" string="$1 / @hour"/>
</intervalDescription>
<tariff>
   PACKAGE "MondayToWedneday";
 
   INTERVAL "monday";
   timepredicate = "($weekday = mon)";
   - - -
 
   INTERVAL "tuesday";
   timepredicate = "($weekday = tue)";
   - - -
 
   INTERVAL "wednesday";
   timepredicate = "($weekday = wed)";
   - - -
 
</tariff>
</TARIFFPACKAGE>