Show/Hide Toolbars

CWT Software Configuration Handbook

Element        Path: <cwt><TARIFFPACKAGE><description>

The description tag in a tariff package is used to present a textual description of the rates in a specific tariff to the end user. When a tariff package is selected in the CWT, the user interface can display this description to inform about the cost of the selected article. Typical information in the description is the actual rates for each weekday and time interval defined in the tariff package.

attributes

 

col

Value:0, 1
Default:
Description:Defines the column number. Columns 0 and 1 are available.

row

Value:0–9
Default:
Description:The description of a tariff package is built up by rows and columns in the user interface. This attribute is used to define the row number.

string

Value:Any character
Default:
Description:The text that shall be presented in the cell specified by row and col attributes. Use the @ character to separate words or phrases that need to be translated in the user interface. See CWT User Interface Design Handbook for translation of texts.

Example:

Set-up of a tariff description with 6 cells with the layout according to the table below:

 

Col = 0

Col = 1

Row = 0

Monday – Thursday:

$2 per hour. Max 3 hours

Row = 1

Friday:

$3 per hour. Max 1 hour

Row = 2

Weekends:

Free parking

<TARIFFPACKAGE>
<description row="0" col="0" string="Monday@-@Thursday@:"/>
<description row="0" col="1" string="$2/@hour@. @Max 3 hours"/>
<description row="1" col="0" string="Friday@:"/>
<description row="1" col="1" string="$3/@hour@. @Max 1 hour"/>
<description row="2" col="0" string="Weekends@:"/>
<description row="2" col="1" string="Free parking"/>
</TARIFFPACKAGE>