Versions Compared

Key

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

...

Panel
borderStylesolid
titleTmDataAttribute
Example

 <DataModel name="Sensor">

            <Attribute name="sid" value="[:DevicePath:]sid"/>

            <Attribute name="geocoordinates" value="[:DevicePath:]geocoordinates"/>

            <Attribute name="deviceType" value="[:DevicePath:]deviceType" eq="lit.Sensor"/>

            <Attribute name="deviceState" value="[:DevicePath:]deviceState"/>

            <Attribute name="providerDetails" value="[:DevicePath:]providerDetails"/>

            <Attribute name="connectivityType" value="[:DevicePath:]connectivityType"/>

            <Attribute name="label" value="[:DevicePath:]label"/>

            <Attribute name="thirdPartyId" value="[:DevicePath:]thirdPartyId"/>

            <String name="sensorType"/>

...

</DataModel>


Referenced by:


TmDataAttribute

  • Attribute: Cherry-picked attribute definition.

...

Panel
borderStylesolid
titleTmDataAtom
Example

<Def name="Manager" inherits="Employee">

  <String name="Employment.BusinnesRole" />

</Def>



Referenced by:

...

Panel
borderStylesolid
titleTmDataAdHocComposite
Example

<DataModel name="SensorModel">

            <String name="SensorID" />

            <String name="SensorValue" />

            <String name="Unit" />

            <DataModel name="Device">

                   <String name="Name" />

                   <String name="Type" />

            </DataModel>

</DataModel>

 

Referenced by:

Ad-hoc/untyped composite attribute

...

Panel
borderStylesolid
titleTmAttributeBase
Example
 

<Def name="StudentType" inherits="Person">

     <String name="Occupation" default="student" eq="student" cardinality="1"/>

</Def>


Referenced by:


TmAttributeBase

  • Name: Model attribute name.
  • Cardinality: Nested cardinalities are not yet supported.
  • Format: Attribute value format specifier.
  • Codec: Attribute value coder/decoder specifier.
  • InlineConstraint: Inline constraint.

...

Panel
borderStylesolid
titleTmThingAttribute
Example
 

<ThingFacet name="Actuator">

     <Attribute name="deviceState" value="[:DevicePath:]deviceState"/>

</ThingFacet>


Referenced by:


TmThingAttribute

  • Attribute: Cherry-picked attribute definition.

...

Panel
borderStylesolid
titleTmThingAtom
Example

<ThingFacet name="Actuator">

    <Double Name="Speed" KnownBy="StartSubscriptionAction"/>

    <Double Name="FlowRate" KnownBy="StartSubscriptionAction"/>

    <String Name="DevicePort" />

    <Number Name="Frequency" />

    <String Name="Operation" />

    <String Name="Command"/>

    <String Name="StartSubscription"  KnownBy="StartSubscriptionAction" />

    <Action name="StartSubscriptionAction">

        <Workflow Limit="1" Live="1" Timeout="-1">

            <Task name="Main">

                <Event name="Argument" as="ActionArgument" />

...

</ThingFacet>


Referenced by:


TmThingAtom

  • Update: Currently only 'auto' value is supported.
  • KnownBy: Associated action[s] name[s], comma-separated list.

...