There are three types of Models that can be defined at the time of creating models for your IoT applications. The three models are:
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<Find Status="Success" Format="all"> <Result> <PhidgetSensors QName="SimpleModel.MyModels.PhidgetSensors"> <phidId>KNUBPHLOAAAAUAABA6EJCI75</phidId> <SensorValue Value="" Known="60" Version="1" Timestamp="1457740291438" DateTime="2016-03-11 15:51:31.438" QName="SimpleModel.MyModels.PhidgetSensors.SensorValue" FName="SensorValue"/> <SensorURL Value="phid://" Known="phid://" Version="1" Timestamp="1457740291442" DateTime="2016-03-11 15:51:31.442" QName="SimpleModel.MyModels.PhidgetSensors.SensorURL" FName="SensorURL"/> <SensorInterfaceType Value="PhidgetInterfaceKit" Known="PhidgetInterfaceKit" Version="1" Timestamp="1457740291444" DateTime="2016-03-11 15:51:31.444" QName="SimpleModel.MyModels.PhidgetSensors.SensorInterfaceType" FName="SensorInterfaceType"/> <Simulated Value="true" Known="true" Version="1" Timestamp="1457740291445" DateTime="2016-03-11 15:51:31.445" QName="SimpleModel.MyModels.PhidgetSensors.Simulated" FName="Simulated"/> <SensorInterfaceIndex Value="0" Known="0" Version="1" Timestamp="1457740291443" DateTime="2016-03-11 15:51:31.443" QName="SimpleModel.MyModels.PhidgetSensors.SensorInterfaceIndex" FName="SensorInterfaceIndex"/> <SensorType Value="Rotation" Known="Rotation" Version="1" Timestamp="1457740291444" DateTime="2016-03-11 15:51:31.444" QName="SimpleModel.MyModels.PhidgetSensors.SensorType" FName="SensorType"/> <SensorValueFormat Value="Raw" Known="Raw" Version="1" Timestamp="1457740291445" DateTime="2016-03-11 15:51:31.445" QName="SimpleModel.MyModels.PhidgetSensors.SensorValueFormat" FName="SensorValueFormat"/> </PhidgetSensors> </Result> </Find> |
Automatically generated System Attributes
...
...
...
Query
Constraint?
...
Version number of the attribute. This number is automatically incremented each time the value changes.
No historical data is persisted. Only the last value is persisted.
...
No. You can request the value
using Format on <Find>
...
1457663102004 is same as Fri, 11 Mar 2016 02:25:02 GMT
Note that this is only the "Create" timestamp. If attributes are updated their timestamp do not change.
...
Fully qualified name of the attribute. <NamSpace>.<Domain>.<ModelName>.<AttributeName>. For example
SimpleModel.MyModels.VendorInfo.vendorName given that VendorInfo is defined within
Namespace - SimpleModel, with Domain as MyModels and DataModel Name as VendorInfo
...
Applicable to ThingFacet/AppFacet. Known is the value that is set within the Action. Known can not be
set using Create / Update TQL Query by the user.
...
2016-03-10 18:25:02.004 Note that is is only the "Create" Datetime. If attributes are
updated their datetime value do not change.
...
Note | ||||||
---|---|---|---|---|---|---|
| ||||||
The following system generated tags are for each attribute:
|
Status: This is a transient attribute returned as part of the result of TQL Create/Save, Update and Delete operations
...
. It is not persisted.