To set up a terminal for Chargestorm the following elements in the cwtconfig.xml file must be set up according the examples below.
Important: Use specific ID's for every element in the configuration file to be sure not to create conflicts with existing articles and tariffs. Articles and tariffs used for Chargestorm shall have their own specific identifiers not used elsewhere in your company! In case of doubts verify in WebOffice what ID's are save to use. |
The examples includes Ongoing Purchases to enable ticket-less parking.
PAYMENT element
<PAYMENT tickFactor="1" currency="752" defaultVAT="2500" defaultVATCategory="1" defaultPurchaseCategory="10" ongoingPurchaseDatabaseLocation="Global"/>
PAYMENTSERVICE elements
Payment service for normal parking
<PAYMENTSERVICE paymentServiceId="1" name="Normal" ongoingPurchaseDatabaseReplication="atPurchase" userIdentifier="Code" ticketRemovalTimer="15" ticketMode="TicketAfterAccept" autoCardPay="true" articleChoice="false" defaultArticleId="1" defaultTariffId="1" overpayment="Confirm" addPay="NewBuy">
<payUnit name="Coin" />
<payUnit name="Card" />
</PAYMENTSERVICE>
•Set the ongoingPurchaseDatabaseReplication to atPurchase If no responce from any third party is needed. This setting work with "cale" as Service Provider.
Payment service for Charging
<PAYMENTSERVICE paymentServiceId="55555" name="Charge" treatTopUpAsNewPurchase="true" spaceSelection="true" ongoingPurchaseDatabaseReplication="RequiredForPurchase" userIdentifier="Code" ticketRemovalTimer="15" ticketMode="TicketAfterAccept" autoCardPay="true" articleChoice="false" defaultArticleId="55555" defaultTariffId="55555" overpayment="Confirm" addPay="NewBuy">
<payUnit name="Coin" />
<payUnit name="Card" />
</PAYMENTSERVICE>
•Set the spaceSelection to true to enable Pay By Space
•Set the ongoingPurchaseDatabaseReplication to RequiredForPurchase to cancel payments when the charger is not available
TARIFFPACKAGE elements
Create two tariff packages. One for normal parking and one for charging.
The examples below must be changed to fit the companies pricing and opening hours.
Tariff Package example for normal parking
<TARIFFPACKAGE name="Normal" tariffPackageId="1">
<ticket ticketType="PrePay" ticketId="3" />
<ticket ticketType="PrePayCode" ticketId="4" />
<stepButtons>
<stepButton buttonId="1" buttonValue="100" buttonType="Amount" buttonText="+1 EUR" />
<stepButton buttonId="2" buttonValue="50" buttonType="Amount" buttonText="+0,5 EUR" />
<stepButton buttonId="3" buttonValue="200" buttonType="Amount" buttonText="+2 EUR" />
</stepButtons>
<description row="0" col="0" string="Mon@ - @Fri" />
<description row="0" col="1" string="09 - 18" />
<description row="1" col="0" string="Sat" />
<description row="1" col="1" string="09 - 15" />
<description row="2" col="0" string="2EUR/@hour" />
<description row="2" col="1" string=" " />
<description row="3" col="0" string="Other time" />
<description row="3" col="1" string="Free" />
<tariff>
PACKAGE "Normal";
INTERVAL "Mon-Sat";
timepredicate = "(($daytype=0) and ($hour in [09 to 18[)) or (($daytype=1) and ($hour in[09 to 15[))";
tariffrate = linear 200 per 60 : tariffstep 1 duration #inf;
INTERVAL "Free" : priority 0;
tariffrate = flat 0 until end of interval;
</tariff>
</TARIFFPACKAGE>
Tariff package example for Charging
Note the ticketId 11 for printing the charger details on the ticket. The Charger ID is the same as the Parking Space Id. See later-on in this chapter for an example on ticket 11. |
<TARIFFPACKAGE name="VehicleCharge" tariffPackageId="55555">
<ticket ticketType="PrePay" ticketId="11" />
<ticket ticketType="PrePayCode" ticketId="11" />
<stepButtons>
<stepButton buttonId="1" buttonValue="100" buttonType="Amount" buttonText="+1 EUR" />
<stepButton buttonId="2" buttonValue="50" buttonType="Amount" buttonText="+0,5 EUR" />
<stepButton buttonId="3" buttonValue="200" buttonType="Amount" buttonText="+2 EUR" />
</stepButtons>
<description row="0" col="0" string="Mon@ - @Fri" />
<description row="0" col="1" string="09 - 18" />
<description row="1" col="0" string="Sat" />
<description row="1" col="1" string="09 - 15" />
<description row="2" col="0" string="10EUR/@hour" />
<description row="2" col="1" string=" " />
<tariff>
PACKAGE "VehicleCharge";
INTERVAL "Mon-Sat";
timepredicate = "(($daytype=0) and ($hour in [09 to 18[)) or (($daytype=1) and ($hour in[09 to 15[))";
tariffrate = linear 1000 per 60 : tariffstep 1 duration #inf;
</tariff>
</TARIFFPACKAGE>
ARTICLE elements
Create two articles. One for normal parking and one for charging.
•The normal parking article shall map to the normal parking payment service
•The charging article shall map to the charging payment service
Example for the Normal Parking
<ARTICLE articleId="1" name="Parking" useCommonTariffs="false" defaultTariffId="1">
<paymentService id="1" />
</ARTICLE>
Example for the Parking incl. charging.
Note the name of the Article. This text comes back on the ticket. |
<ARTICLE articleId="55555" name="Parking incl. Charging" useCommonTariffs="false" defaultTariffId="55555">
<paymentService id="55555" />
</ARTICLE>
ARTICLETARIFFGROUP elements
Map each article to a Tariff Package.
Note: This information will become available in WebOffice under Terminal Administration -> [+] Terminal Control Centre -> Tariff Groups. |
Normal parking group example
<ARTICLETARIFFGROUP articleTariffGroupId="1" articleId="1" articleTariffGroupName="Normal">
<buttonControlledPackage id="1" tariffPackageName="Normal" />
</ARTICLETARIFFGROUP>
Charging group example
<ARTICLETARIFFGROUP articleTariffGroupId="55555" articleId="55555" articleTariffGroupName="VehicleCharge">
<buttonControlledPackage id="1" tariffPackageName="VehicleCharge" />
</ARTICLETARIFFGROUP>
TICKET element
Optional, create a ticket for the charging outlet.
The example will make it clear for any enforcer that the space is paid for parking and Charging.
<TICKET ticketId="11" height="300" width="380" orientation="Landscape" layout="@y2@fb@f48@cr@lf@y9@f30Terminal: @v33@x50@f35@fb@v132@cr@lf@lf@fb@f48Charger NR: @v114@cr@lf@f24Valid through:@cr@dy6@f48@fb@lu@v111 @v15 @f36@v10 @v13@cr@dy6@f48@v86@cr@f26@dy5Amount Paid: @v0@x50Vehicle:@v46@cr@lfEntry time: @v80 @v82@x50Receipt No: @v34" xmlns="http://tempuri.org">
<margin left="20" right="0" top="45" bottom="10" />
</TICKET>