Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ThingFacet is a reusable TQL component that defines the software interactions with a "thing" and represent the "thing" in the software. A "thing" can be sensors, actuators, devices, or a particular aspect or function of a more complex machine. A ThingFacet has Attributes and Actions.

Attributes

Attributes are containers of values. They can be used for the following purposes:

...

(4) Act as control variables - variable that can activate certain actions. They are called "actionable attributes". Actionable attributes are linked with one or more actions in the same ThingFacet by a modifier "KnownBy". For example: <Number Name="TempValue" KnownBy="SerialReadAction"/> 

Actions

Action is where the processes to interact with things are defined.

Gliffy
nameThingFacet

An example of a ThingFacet is here.