Versions Compared

Key

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

...

Anchor
TmThingComposite grammar
TmThingComposite grammar
Gliffy
nameTmThingComposite grammar

...

borderStylesolid
titleTmAction
Example

 

Referenced by:

TQL model action

...

Panel
borderStylesolid
titleTmThingComposite
Example

 

Referenced by:

TmThingComposite

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

...

borderStylesolid
titleTmThingAdHocComposite
Example

 

Referenced by:

Ad-hoc/untyped composite attribute

<ThingFacet Name="PhidgetRFID">

    <Sid Name="RFIDId" />

    <String Name="ReadTag" Update="auto" KnownBy="PhidgetReadRFIDTagAc" />

    <String Name="WriteTag" KnownBy="PhidgetWriteRFIDTagAc" />

    <String Name="RFIDURL" Default="phid://" />

    <String Name="InterfaceType" />

    <String Name="InterfaceIndex" />

    <Unique Name="RFIDIndex" Value="InterfaceIndex" />

    <DateTime Name="timestamp" Format="$SimpleDateFormat(yyyy-MM-dd'T'HH:mm:ss'Z')" />

    <Action Name="PhidgetReadRFIDTagAc" Documentation="Read the Tag Automatically in the vicinity">

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

...

</ThingFacet>


Referenced by:


TmThingComposite

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

Anchor
TmThingAdHocComposite grammar
TmThingAdHocComposite grammar
Gliffy
nameTmThingAdHocComposite grammar

Panel
borderStylesolid
titleTmThingAdHocComposite
Example

<ThingModel name="SensorModel" combines="SensorFacet">

            <String name="SensorID" />

            <String name="SensorValue" />

            <String name="Unit" />

            <DataModel name="Device">

                   <String name="Name" />

                   <String name="Type" />

            </DataModel>

</ThingModel>


Referenced by:


Ad-hoc/untyped composite attribute

Anchor
TmAction grammar
TmAction grammar
Gliffy
nameTmAction grammar

Panel
borderStylesolid
titleTmAction
Example

    <Action Name="PhidgetReadRFIDTagAc" Documentation="Read the Tag Automatically in the vicinity">

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

            <Task name="Main" while="true">

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

                <Invoke name="ReadValue" waitFor="Argument"

                    get="[%:Event.Argument.RFIDURL.Value:%]" SerialNumber="[%:Event.Argument.InterfaceIndex.Value:%]"

                    DeviceType="[%:Event.Argument.InterfaceType.Value:%]" />

                <Output name="Result" as="ActionResult">

                    <Value>

                        <ReadTag>[%:[%:@Output:%]Invoke.ReadValue.Message.Value:%]

                        </ReadTag>

                    </Value>

                </Output>

            </Task>

        </Workflow>

    </Action>


Referenced by:


TQL model action

Anchor
Condition grammar
Condition grammar
Gliffy
nameCondition grammar

Panel
borderStylesolid
titleCondition
Example

<Def name="Employment" inherits="DataFacet">

       <WorkPlace name="Organization" cardinality="1"/>

       <String name="BusinnesRole" cardinality="1"/>

</Def>

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

       <Sid name="SSN"/>

       <GivenName name="GivenName" cardinality="1..m"/>

       <PostalAddress name="Address" cardinality="0..m"/>

       <Integer name="Age" cardinality="1" default="-1"/>

       <String name="Sex" cardinality="1"/>

       <String name="Occupation"/>

       <String name="MaritalStatus"/>

       <Unique name="FullName" value="GivenName.First, GivenName.Middle, GivenName.Last"/>

       <Unique name="Identity" value="GivenName.First, GivenName.Middle, GivenName.Last, Sex, Age"/>

</Def>

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

       <Employment name="Employment" cardinality="0..m"/>

       <Reference name="Manager" type="Manager" cardinality="1"/>

 </Def>

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

          <String name="Employment.BusinnesRole" default="manager" eq="manager" cardinality="1" modifiers="hidden,readonly"/>

 </Def>

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

       <Constraint target="Employment.BusinnesRole" eq="janitor"/>

</Def>


Referenced by:

Anchor
ConditionExpression grammar
ConditionExpression grammar
Gliffy
nameConditionExpression grammar

Panel
borderStylesolid
titleConditionExpression
Example

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

       <And>

              <Constraint target="Employment.BusinnesRole" eq="janitor"/>

              <Constraint target="Employment.Organization" eq="MyCompany"/>

       </And>

</Def>


Referenced by:

Anchor
ConstraintContent grammar
ConstraintContent grammar
Gliffy
nameConstraintContent grammar

Panel
borderStylesolid
titleConditionConstraintContent
Example

 

Referenced by:

...

Panel
borderStylesolid
titleConditionExpression
Example

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

       <Constraint target="Employment.Organization" ne="MyCompany"/>

</Def>


Referenced by:

Anchor
ConstraintContent StandAloneConstraint grammarConstraintContent
StandAloneConstraint grammar
Gliffy
nameConstraintContent StandAloneConstraint grammar

Example
 
Panel
borderStylesolid
titleConstraintContent
StandAloneConstraint
Example

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

       <Constraint target="Employment.BusinnesRole" eq="janitor"/>

</Def>


Referenced by:

Anchor
StandAloneConstraint NestedConstraint grammarStandAloneConstraint
NestedConstraint grammar
Gliffy
nameStandAloneConstraint NestedConstraint grammar

Panel
borderStylesolid
titleStandAloneConstraintNestedConstraint
Example

 

Referenced by:

...

Panel
borderStylesolid
titleNestedConstraint
Example

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

       <Or>

            <And>

              <Constraint target="Employment.BusinnesRole" ne=""/>

              <Constraint target="Employment.Organization" eq="MyCompany"/>

           </And>

           <Constraint target="Employment.BusinnesRole" eq="BoardMember"/>

     </Or>

</Def>


Referenced by:

...

Panel
borderStylesolid
titleInlineConstraint
Example

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

          <String name="Employment.BusinnesRole" default="manager" eq="manager" cardinality="1" modifiers="hidden,readonly"/>

 </Def>


Referenced by:

...