CollectBox

Methods to interact with the bank pin interface.

../../images/CollectBox_interface.png

TRSCollectBox

Main record to interact with the CollectBox interface.


CollectBox.SetupInterface

procedure TRSCollectBox.SetupInterface();

Internal method used to setup the TRSCollectBox coordinates. This is automatically called for you on the CollectBox variable.


CollectBox.IsOpen

function TRSCollectBox.IsOpen(): Boolean;

Returns true if the bank pin is open.

Example:

WriteLn CollectBox.IsOpen();

CollectBox.WaitOpen

function TRSCollectBox.WaitOpen(time: Integer = 600; interval: Integer = -1): Boolean;

Returns true if the bank pin opens within time milliseconds..

Example:

WriteLn CollectBox.WaitOpen();

CollectBox variable

Global TRSCollectBox variable.