The valueButton element specifies a button for each step in the tariff
<valueButton id="4" duration="60" amount="100" durationText="1h00" amountText="1.00"/>
attributes
Id: | Used when copying values from the tariff to the user interface, tariff step 1 will be copied to id=1. |
Location: | X and Y position in the user interface. |
Size: | Width and height in pixels of the area occupied by the control. Images for the different states should have the same size. |
Type: | Units, Right or Left. When pressing the button, the action executed depends on the type. |
Units: Step time with the value in the DurationUnits property.
Right: Scroll to the next set of tariff buttons.
Left: Scroll to the previous set of tariff buttons.
Image: | Shown when enabled. |
DisableImage: | Shown when disabled (no match with a tariff value button). |
SelectedImage: | Shown when selected. |
ClickImage: Shown when button is touched but not released.
Transparent: | If true, the background will be visible through the transparent colour in the current image. |
durationText: A copy of the tariff value button’s durationText.
amountText: | A copy of the tariff value button’s amountText. The currency symbol is added automatically unless the text is equal to “FREE” and depend on the currency set in the payment configuration. |