Container Path: <cwt><TARIFFPACKAGE><stepButtons>
Element Path: <cwt><TARIFFPACKAGE><stepButtons><stepButton>
It is possible to define the values for up to four step buttons for each tariff package. This is useful since two different tariff packages may have very different rates, which in turn requires different values of the step buttons. The values can be defined in the <cwt><TARIFFPACKAGE><stepButtons><stepButton> element in the configuration.
attributes
buttonId
Value: | 1-4 |
Default: | – |
Description: | Defines the step button to set value, type and text for. |
buttonText
Value: | User defined string |
Default: | Empty string |
Description: | Defines the text to display on the button. |
buttonType
Value: | “Amount”, “Time” |
Default: | – |
Description: | Defines the type of step button. |
buttonValue
Value: | –2147483648 to 2147483647 or a list of values, “Reverse”, or “Max”. See List of Steps |
Default: | – |
Description: | Defines the step value for the button buttonId in the UI. |
•If buttonType is set to Amount, the attribute ButtonValue will be defined as ticks to step.
•If buttonType is set to Time, the attribute buttonValue will be number of minutes to step.
Positive and negative values are supported for both Amount and Time.
Important! |
Example:
<stepButtons>
<stepButton buttonId="1" buttonValue="100" buttonType="Amount"
buttonText="+1"/>
<stepButton buttonId="2" buttonValue="500" buttonType="Amount"
buttonText="+5"/>
<stepButton buttonId="3" buttonValue="600" buttonType="Amount"
buttonText="+6"/>
</stepButtons>