Object: Header
A Header object. Created by calling function CreateHeader()
Properties
| Name | Type | Description |
|---|---|---|
| MessageID | Integer | value that identifies the message type |
| DeviceID | Integer | value that identifies the device that sent or is to receive message |
| LocationID | Integer | value that identifies specific equipment |
| DeviceRef | Integer | value that is sent by the device for its own internal use, should be copied back to the device in any response message |
Functions
Dispose
Called to release system allocated resources, this must be called when the object is no longer required.
void Dispose()
Example
myHeader = CreateHeader();
myHeader.MessageID = 102;
myHeader.DeviceID = 2;
myHeader.LocationID = 41;
myHeader.DeviceRef = 23;
...
myHeader.Dispose();