CollectBox

Methods to interact with the bank pin interface.

../../images/collectionbox_interface.png

TCollectBox

Main record to interact with the CollectBox interface.


CollectBox.SetupInterface

procedure TCollectBox.SetupInterface();

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


CollectBox.IsOpen

function TCollectBox.IsOpen(): Boolean;

Returns true if the bank pin is open.

Example:

WriteLn CollectBox.IsOpen();

CollectBox.WaitOpen

function TCollectBox.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 TCollectBox variable.