Supporting embedded actuator nodes

For simple actuators, we instantiate the ControlServer class with a set of control parameters that the actuator publishes. For concentrators we cannot always do this since the embedded actuators typically have different sets of control parameters.

If all embedded actuators have the same set of control parameters, we can still instantiate the ControlServer class with the set of control parameters to publish. The get and set event handlers contain a reference to the embedded node in question. If, on the other hand, the embedded actuators do not have the same set of control parameters, we instantiate the ControlServer class without parameters. Instead, we provide an event handler for the OnGetControlParameters event. The event handler gets a reference to the node in question from the Node property in the event arguments and returns a set of control parameters for the referenced node.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.104.238