new VarResponse( Success, name, system, value )

Description
Class that implemets a general response to actions that involve variable read, write, subscribe, etc.
Parameters
Name Type Description
Success bolean weather the request had success or not
name string name of the variable
system string system name related to the variable
value any the value of the variable (can be an object if supported)
Properties
Name Type Description
success boolean weather the request had success or not
error object if success is false then this must not be null, contain error code and error message(optional).
name string name of the variable.
system string system name related to the variable.
value any the value of the variable (can be an object if supported).
Details