Commands And Events
The module has the following events:
| Name | Description | Event Type | 
|---|---|---|
| ServerConnected | Event triggered after established connection to server | Normal | 
| ServerDisconnected | Event triggered after disconnection to server | Normal | 
| ServerDataChanged | Event triggered after receiving data from server | Normal | 
| ServerTestDataChanged | Event triggered after receiving data from server marked with test flag or simulated data from APIS | Normal | 
The module has the following commands:
| Name | Description | Command Type | 
|---|---|---|
| Reconnect | Trigger reconnect to the server | Asynchronous | 
| HandleExternalItems | Command for reading external items. When fired, the module will read all its external items, and update/notify the ones that has changed. | Synchronous | 
| HandleExternalItems_DataPush | This command ensure that all samples for all items and samples in the data push package are applied/used in the external item manager, including in services as Data Validation, Ext Items Transfer Control, etc. See also: APIS data transfer mechanism; Data Push  | Synchronous | 
| UpdateItemTimestamp | Command used for updating the value of the item specified in the 'TimeReferenceItem' property, when configured. | Synchronous |