ThingFacet is a reusable TQL component that defines the software interaction interactions with a "thing" or an aspect of a and represent the "thing" in the software. The A "thing" can be sensors, actuators or machines.
ThingFacet is a component that defines how your application interacts with a "thing", and how the "thing" is represented in software.
ThingFacet is one of the several types of of Model Facets. Model Facets also include DataFacets and AppFacets.
A ThingFacet has attributes and actions, devices, or a particular aspect or function of a more complex machine. A ThingFacet has Attributes and Actions and actionable attributes.
Attributes are containers of values. They can be used to hold fixed information about for the following purposes:
- Store parameters required to make a protocol specific invocation to the thing, such as ___
- Store information received from the thing, such
...
Actions define processes. In ThingFacets such processes often are about interacting with external things based a some communication protocol.
...
- as TempValue from the temperature sensor
- Act as control variables - variable that can activate certain actions
- hold fixed information about the thing, such as the temperature unit
Action is where the processes to interact with things are defined.
The control variables in the ThingFacet are called "actionable attributes". Actionable attributes are linked with one or more actions in the same ThingFacet by a modifier "KnownBy".