Xentara v1.0
User Manual
|
Each element in the Xentara model exposes a number of different member objects that are used to interact with the element.
Each element in the Xentara model exposes a number of attributes. An attribute is a value related to the element that can be read by other elements. Usually, attributes are read by microservices, but other types of elements may read attributes as well.
Each attribute has a name. All elements expose the following three attributes:
Each element may define any number of additional attributes, each with a unique name. Please refer to the documentation of the specific element for a list of additional attributes it provides.
Like the element itself, each of a element’s attributes has a primary key. The primary key is simply the primary key of the element followed by the name of the attribute, separated by a period. The name attribute of a element with the key Building.Rack.DAQ.Status would simply be Building.Rack.DAQ.Status.name, for example.
Each element in the Xentara model may expose any number of events. An event allows an execution pipeline to be executed when something happened. An event may, for example, be triggered when the value of one of the element’s attributes changes.
Each element may define any number of different events, each with a unique name. Please refer to the documentation of the specific element for a list of events it provides.
Like the element itself, each of a element’s events also has a primary key. The primary key is simply the primary key of the element followed by the name of the event, separated by a period. An event named changed of a element with the key Building.Rack.DAQ.Status would have the primary key Building.Rack.DAQ.Status.changed, for example.
Each element in the Xentara model may expose any number of tasks. A task is an action that can be placed into an execution pipeline, and executed either using a timer or an event. Tasks may perform all sorts of different actions, including, but not limited to:
Each element may define any number of tasks, each with a unique name. Please refer to the documentation of the specific element for a list of tasks it provides.
Like the element itself, each of a element’s tasks also has a primary key. The primary key is simply the primary key of the element followed by the name of the task, separated by a period. A task named poll of a element with the key Building.Rack.DAQ would have the primary key Building.Rack.DAQ.poll, for example.