Please enable JavaScript to view this site.

CWT Software Configuration Handbook 4.40

Navigation: » No topics above this level «

Reference guide CWTID.XML

Scroll Prev Top Next More

The cwtid.xml file contains the identity of a CWT terminal. The presence of this file on the SD card is the minimum requirement when initializing a CWT. To connect the CWT to WebOffice, copy the Terminal property from the terminal details page in WebOffice, add the Terminal property to terminalGuid in cwtid.xml (see Example: below). For more information on the Terminal property, see Add terminal in the WebOffice User Guide. Add the terminal ID to the file (see Example: below).

Attributes

defaultArticleId

Value range:String
Default:-
Description:A defaultAticleId is an optional attribute that can be set in the cwtid.xml file. It is has the same effect as setting the CORE element defaultArticleId or  PAYMENTSERVICE defaultArticleId (see section PAYMENTSERVICE element) in the cwtconfig.xml file. It allows to set default article without having to customize cwtconfig.xml for different parking zones .

–1 = No preselected article will be used and the customer can select any valid article.

Note:
The system will use the defaultArticleId defined in cwtid.xml only if in cwtconfig.xml CORE the defaultPaymentServiceId is set and in the corresponding PAYMENTSERVICE the defaultArticleId is set to -1.

extPayUnitId

Value range:String
Default:-
Description:In some cases, the external pay units require unique id's. As shown in the Example: above it is possible to set the external pay units id in the CwtId.xml file.

terminalLocation

Value range:String
Default:-
Description:A terminalLocation attribute can be set in the cwtid.xml file. The attribute can be used to print a location on the ticket or display the location on the screen. The terminal location can also be set in WebOffice. If the terminal location is set in WebOffice (details tab), and the cwtconfig file is updated from WebOffice, the attribute set in WebOffice overrides the attribute in the cwtid.xml file.

Example:

<?xml version="1.0"?>
<cwt>
 <TERMINAL terminalGuid="{0C711111-1111-462F-B7B7-CCD86C0C0664}"
    terminalId="CWT001" terminalLocation="myCWT" extPayUnitId="defaultId" defaultArticleId="-1">
  <payUnit name="Ext0" extPayUnitId="specificId0"/>
   <payUnit name="Ext3" extPayUnitId="specificId3"/>
 </TERMINAL>
</cwt>