Message callback
Messages are used to communicate with external systems. These systems are configured as ‘Devices’, and the structure of the message set via the ‘Message Manager’ and ‘Device IOs’. Callbacks that are invoked in response to receiving a message are also setup via these mediums.
The ‘Device IOs’ are used to map incoming message bit data to equipment properties and also set outgoing bit data based on equipment properties.
Invoked when a message has been received from an external device.
Event
Void xxxxxxxxxxxxxxxxx (Object message, Header header, String device);
Parameters
Name | Type | Description |
---|---|---|
message | Object | An instance of a message type |
header | Header | An instance of the ‘Header’ type associated with the incoming message |
device | String | The name of the device that received the message |
Return Value
None