StationReserve - method of the AtouchX object
Sets or cancels the reservation of the HW resources for connection to the station.
The method reserves or unreserves a HW resources (modem) for connection to the Station
. The reservation is seen as a recommendation only.
If the method is applied to a station connected by a fixed line, then nothing is done and the method returns the error code "OK".
A reservation can be cancelled at any time. Setting and cancelling a reservation is not cumulative, i.e. a double reservation of the same station has the same effect as a single reservation. A single "cancel" method call is sufficient to cancel a double reservation.
Integer StationReserve(Integer Station, Boolean Set)
|Station||(Integer) Number of the station for which the reservation is to be created or cancelled.|
|Set||(Boolean) Flag whether to set or cancel the reservation.
true - The reservation is set.
false - The reservation is cancelled.
var oATC = pMe.Pm("/AtouchApp").Acx;
var nInfo = oATC.StationReserve(2, 60);