Reads requested data, returned from the LocoIO.

Namespace: RRAutoLib.Loconet
Assembly: RRAutoLib (in RRAutoLib.dll) Version: 1.4.4504.18867

Syntax

C#
public Object Read()
Visual Basic
Public Function Read As Object

Return Value

A PkLocoIO..::..Setup or PkLocoIO..::..PortConfig class instance, or a zero based boolean array of 16 values.

Remarks

When RequestSetup(LoconetService, Byte, Byte, Packet..::..CallBack) is called, a Read() on the returned packet returns a PkLocoIO..::..Setup instance. When RequestConfig(LoconetService, Byte, Byte, Byte, Packet..::..CallBack) is called, a Read() on the returned packet returns a PkLocoIO..::..PortConfig instance. When RequestStates(LoconetService, Byte, Packet..::..CallBack) is called, a Read() on the returned packet returns a boolean array.

See Also