Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

ThingModels and AppModels can inherit from model facets by using the keyword "combines".

Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.
 

For example:

<ThingModel Name="TempSensor" combines="TempFacetSerial"/>

<ThingModel Name="TempHumidity" combines="TempFacetSerial, HumidityFacetSerial">

     <Sid name="MySensorType" />

</ThingModel>

When a ThingModel combines  ThingFacet, it will inherit all its attributes and actions.

Because only models can be instantiated, but not model facets, model facets must be combined into a model to be used in run time.

One model can combine one or more model facets.

  • No labels