User Manual
Safe Money automatic safe
23
6.
SAFEMONEY INTERFACING WITH THIRD PARTY
SW
This GUIDE describes the communication operations with the automatic SAFEMONEY
distributor through the exchange of information via file.
6.1
GENERAL DESCRIPTION
To speed up the interfacing time, a MANAGEMENT PANEL (see paragraph 6.3), a machine
developed for Windows, is supplied together with the automatic distributor.
.Net Framework 4 is required for installation.
The machine management panel allows the external software to interact with the automatic
distributor through the exchange of information via text file.
With the installation of the SAFEMONEY software, the C:\Safe Money\ folder, in which
communication with the .txt file will take place, is created automatically.
The path for writing and reading files is: C:\Safe Money\.
A third-party Sw who wants to interface with the Safe Money automatic automatic cash register
must comply with the communication protocol described below
6.2
PROTOCOL
1.
Write in the C:\SAFE MONEY\ folder a file called tobepaid.txt containing the amount to
be paid in cents with a 9-digit number (for example if you have to pay 5 euros, the file
must contain the following expression: 000000500 )
2.
Pending the paid.txt file.
At the time that the amount entered is equal or higher, SW Safe Money will delete the
tobepaid.txt file and write a paid.txt file containing the amount entered. For example, if €10
is paid, the file would count 000001000.
The amount.txt file, which is created as soon as credit is entered and updated whenever the
credit increases.
The third-party SW can cancel a transaction by writing the void.txt file.