BillDispenser.CurrentExit Property
2/27/2008
Gets or sets a value that indicates the current cash dispensing exit.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property CurrentExit As Integer
public abstract int CurrentExit { get; set; }
public:
virtual property int CurrentExit {
int get () abstract;
void set (int value) abstract;
}
/** @property */
public abstract int get_CurrentExit ()
/** @property */
public abstract void set_CurrentExit (int value)
public abstract function get CurrentExit () : int
public abstract function set CurrentExit (value : int)
Remarks
The value 1 represents the primary exit or usual exit, while values greater than 1 represent auxiliary exits. Legal values range from 1 to the value held by DeviceExits.
This property is initialized to 1 by the Open method.
Accessing CurrentExit can cause general exceptions to be thrown, and PosControlExceptions with the following ErrorCode value.
Value |
Meaning |
Illegal |
An invalid CurrentExit is specified. |
Example
The following is an example of a typical property set value in Japan. CurrencyCode is "JPY" and CurrencyCodeList is "JPY".
The bill dispenser uses two exits; an auxiliary exit is used for dispensing bills of higher value:CurrencyCashList = ";1000,5000,10000"DeviceExits = 2When CurrentExit = 1 : ExitCashList = ";1000,5000"When CurrentExit = 2 : ExitCashList = ";1000,5000,10000"
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
BillDispenser Class
BillDispenser Members
Microsoft.PointOfService Namespace