Please enable JavaScript to view this site.

CWT Software Configuration Handbook 4.40

It is possible to configure a list of steps for each button.

 When using a list, you always must configure the list as depicted in the example.

Button 1 contains a list with positive numbers.

If the sum of all positive steps does not reach maximum, the last step is repeated until the maximum is reached.

If a step is too large and will pass the maximum in the tariff, the value is changed accordingly.

Button 2 is set to Reverse. The “Reverse” keyword creates a list of negative values from the list configured in button 1. In the example below “Reverse” is equivalent with:

  <stepButton buttonId="2" buttonValue="-10, -30, -50, -180" buttonType="Time" buttonText="@T1" />

Button 3 is set to Max. The “Max” keyword is a very high value that will step to the maximum in the tariff.

 

If the purchased amount or time for some reason gets off track and is between two steps, the system calculates the next step to get on track again.

 

Formats:

The button text changes for each step and the buttonText is replaced with the actual value in the correct format.

@T1 Displays the value in time span format, e.g. 90 becomes 1h 30m.

@V1 displays the value in monetary format, e.g. 150 becomes 1,50€

@S1 displays the unformatted value, e.g. 150

 

Example:

<stepButtons>
  <stepButton buttonId="1" buttonValue="10, 30, 50, 180" buttonType="Time" buttonText="+@T1" />
  <stepButton buttonId="2" buttonValue="Reverse" buttonType="Time" buttonText="@T1" />
  <stepButton buttonId="3" buttonValue="Max" buttonType="Time" buttonText="Max" />
</stepButtons>