Represents an item of strongly-typed data that can be read from or written to an FSUIPC offset.
More...
|
| Offset (int Address) |
| Creates a new Offset that will read from or write to the specified Offset.
|
|
| Offset (string DataGroupName, int Address) |
| Creates a new Offset in the specified Group that will read from or write to the specified Offset.
|
|
| Offset (int Address, int ArrayOrStringLength) |
| Creates a Offset that will read from or write the specified number of bytes to the specified Offset. Only used with data types of String, BitArray, FsBitArray, FsLongitude, FsLatitude and an array of bytes.
|
|
| Offset (int Address, bool WriteOnly) |
| Creates a new Offset that will read from or write to the specified Offset.
|
|
| Offset (string DataGroupName, int Address, bool WriteOnly) |
| Creates a new Offset in the specified Group that will read from or write to the specified Offset.
|
|
| Offset (int Address, int ArrayOrStringLength, bool WriteOnly) |
| Creates a new Offset that will read from or write the specified number of bytes to the specified Offset. Only used with data types of String, BitArray, FsBitArray, FsLongitude, FsLatitude and an array of bytes.
|
|
| Offset (string DataGroupName, int Address, int ArrayOrStringLength) |
| Creates a new Offset that will read from or write the specified number of bytes to the specified Offset. Only used with data types of String, BitArray, FsBitArray, FsLongitude, FsLatitude and an array of bytes.
|
|
| Offset (string DataGroupName, int Address, int ArrayOrStringLength, bool WriteOnly) |
| Creates a new Offset in the specified group that will read from or write the specified number of bytes to the specified Offset. Only used with data types of String, BitArray, FsBitArray, FsLongitude, FsLatitude and an array of bytes.
|
|
override void | SetValue (object NewValue) |
| Sets the value of the offset.
|
|
override string | ToString () |
| Return a string value containing information about this Offset.
|
|
| Offset (int Address, int Length) |
| Creates a Offset that will read from or write the specified number of bytes to the specified Offset.
|
|
| Offset (int Address, int Length, bool WriteOnly) |
| Creates a new Offset that will read from or write the specified number of bytes to the specified Offset.
|
|
| Offset (string DataGroupName, int Address, int Length) |
| Creates a new Offset that will read from or write the specified number of bytes to the specified Offset.
|
|
| Offset (string DataGroupName, int Address, int Length, bool WriteOnly) |
| Creates a new Offset in the specified group that will read from or write the specified number of bytes to the specified Offset.
|
|
void | Disconnect () |
| Immediately disconnects this Offset from FSUIPC. The value of this Offset will no longer be updated or written during Process() calls. Use Reconnect() to start updating again.
|
|
void | Disconnect (bool AfterNextProcess) |
| Disconnects this Offset from the FSUIPCConnection class. The value of this Offset will no longer be updated or written during Process() calls. Use Reconnect() to start updating again.
|
|
void | Reconnect () |
| Permanently reconnects this Offset to FSUIPC. The value of this Offset will be read/written during subsequent Process() calls.
|
|
void | Reconnect (bool ForNextProcessOnly) |
| Reconnects this Offset to FSUIPC. The value of this Offset will be updated/written during subsequent Process() calls.
|
|
T | GetValue< T > () |
| Gets the value of this offset as the specified type.
|
|
object | GetValue (Type AsType) |
| Gets the value of this offset as the specified type.
|
|
override string | ToString () |
| Return a string value containing information about this Offset.
|
|
|
T | Value [get, set] |
| The strongly-typed value of this offset.
|
|
int | Address [get, set] |
| The FSUIPC offset address to read from or write to, as specified in the FSUIPC for Programmer's document.
|
|
OffsetAction | ActionAtNextProcess [get, set] |
| This property can be used to force this offset to be read or written on the next process.
|
|
bool | IsConnected [get] |
| Indicates if this Offset is currently 'Connected'. Offsets that are disconnected will not be updated or have changes written to FSUIPC when Process() is run. This is read-only. To connect or disconnect an Offset call the Connect() or Disconnect() methods.
|
|
bool | WriteOnly [get, set] |
| Indicates that this Offset is to be Write-Only. While marked as Write-Only the value of this Offset will never be read from FSUIPC. If you change the value of this Offset the new value will be written to FSUIPC on the next process.
|
|
bool | IsFixedLengthString [get, set] |
| True is this offset represents a fixed length string.
|
|
bool | ValueChanged [get] |
| Indicates if the value of this Offset was changed during the last Process() call.
|
|
int | DataLength [get] |
| The length of the data in this offset in bytes.
|
|
Guid | ID [get] |
| The unique internal ID of this offset.
|
|
Represents an item of strongly-typed data that can be read from or written to an FSUIPC offset.
- Template Parameters
-
T | The native (.NET) type representing the data held in the FSUIPC offset. |
Native .NET types supported are: Byte, SByte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Double, Single, String, BitArray, FsLongitude, FsLatitude
Depending on the language you are using there may be other ways of referring to these base types.
E.g. Int16 in VB.NET is also 'Short'. In C# it's 'short'.
To read/Write raw bytes of any length from FSUIPC use an array of Bytes. (Byte() in VB.NET, byte[] in C#)