Classes
Methods
-
<abstract> Initialize() → {basicResponse}
-
Description
Abstract method. Action Initialize. Place here anything that is needed for initialization of this engine.Returns
Details
-
<abstract> Subscribe( variables ) → {Promise.<Array.<VarResponse>>}
-
Description
Abstract method. Action Subscribe. It subscribes the list of variables names for automatic updates.Parameters
Name Type Description variablesArray.<systemObject> variables names to be subscribed Returns
Details
-
<abstract> Unsubscribe( variables ) → {Promise.<Array.<VarResponse>>}
-
Description
Abstract method. Action Unsubscribe. It unubscribes the list of variables names from automatic updates.Parameters
Name Type Description variablesArray.<systemObject> variables names to be unsubscribed Returns
Details
-
<abstract> Write( targets, values ) → {Promise.<Array.<VarResponse>>}
-
Description
Abstract method. Action Write, this can be called by a UI element. It writes to server the provided list of values to the relative variables.Parameters
Name Type Description targetsArray.<systemObject> variables names to be unsubscribed valuesArray.<any> values related to variables to be written Returns
Details
-
<abstract> Read( names ) → {Promise.<Array.<VarResponse>>}
-
Description
Abstract method. Action Read, this can be called by a UI element. Forces a list of variables to be read from server even if not scheduled.Parameters
Name Type Description nameslist of variable to be read Returns
Details
-
UpdateData( data )
-
Description
Action Update. It updates a list of variable values and statuses in the DataManager. The updates will be automatically dispatched to all UI component connected to those variables.Parameters
Name Type Description dataA list of variable updates, properties (like status or value) that are null will not be updated. Details