Skip to content
Snippets Groups Projects
Commit 81d24142 authored by Andreas Kraft's avatar Andreas Kraft
Browse files

Merge branch 'RDM-2020-0024-SDT_4_0_-_Renaming_Data_Types' into WI-0081-Smart_Device_Template_4_0

# Conflicts:
#	SDT/schema4.0/docs/SDT_UML.uxf
#	SDT/schema4.0/docs/images/SDT_UML_Basic_Elements.png
#	SDT/schema4.0/docs/images/SDT_simplified.png
#	SDT/schema4.0/test/subdevices-test.xml
parents ff202849 6af1118e
No related branches found
No related tags found
No related merge requests found
Showing
with 85 additions and 85 deletions
SDT/schema4.0/docs/images/Array.png

1.6 KiB | W: | H:

SDT/schema4.0/docs/images/Array.png

1.56 KiB | W: | H:

SDT/schema4.0/docs/images/Array.png
SDT/schema4.0/docs/images/Array.png
SDT/schema4.0/docs/images/Array.png
SDT/schema4.0/docs/images/Array.png
  • 2-up
  • Swipe
  • Onion skin
SDT/schema4.0/docs/images/Enum.png

2.08 KiB | W: | H:

SDT/schema4.0/docs/images/Enum.png

1.69 KiB | W: | H:

SDT/schema4.0/docs/images/Enum.png
SDT/schema4.0/docs/images/Enum.png
SDT/schema4.0/docs/images/Enum.png
SDT/schema4.0/docs/images/Enum.png
  • 2-up
  • Swipe
  • Onion skin
SDT/schema4.0/docs/images/SDT_UML_DataType.png

55.9 KiB | W: | H:

SDT/schema4.0/docs/images/SDT_UML_DataType.png

53.6 KiB | W: | H:

SDT/schema4.0/docs/images/SDT_UML_DataType.png
SDT/schema4.0/docs/images/SDT_UML_DataType.png
SDT/schema4.0/docs/images/SDT_UML_DataType.png
SDT/schema4.0/docs/images/SDT_UML_DataType.png
  • 2-up
  • Swipe
  • Onion skin
SDT/schema4.0/docs/images/SimpleType.png

2.49 KiB | W: | H:

SDT/schema4.0/docs/images/SimpleType.png

2.28 KiB | W: | H:

SDT/schema4.0/docs/images/SimpleType.png
SDT/schema4.0/docs/images/SimpleType.png
SDT/schema4.0/docs/images/SimpleType.png
SDT/schema4.0/docs/images/SimpleType.png
  • 2-up
  • Swipe
  • Onion skin
SDT/schema4.0/docs/images/Struct.png

1.76 KiB | W: | H:

SDT/schema4.0/docs/images/Struct.png

1.69 KiB | W: | H:

SDT/schema4.0/docs/images/Struct.png
SDT/schema4.0/docs/images/Struct.png
SDT/schema4.0/docs/images/Struct.png
SDT/schema4.0/docs/images/Struct.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -29,7 +29,7 @@ PropertiesDef = ...@@ -29,7 +29,7 @@ PropertiesDef =
attribute value { text }?, attribute value { text }?,
attribute semanticURI { xsd:anyURI }?, attribute semanticURI { xsd:anyURI }?,
DocDef, DocDef,
SimpleType Simple
}+ }+
} }
DataTypeDef = DataTypeDef =
...@@ -38,16 +38,16 @@ DataTypeDef = ...@@ -38,16 +38,16 @@ DataTypeDef =
attribute unitOfMeasure { text }?, attribute unitOfMeasure { text }?,
attribute semanticURI { xsd:anyURI }?, attribute semanticURI { xsd:anyURI }?,
DocDef, DocDef,
(ExtendDef? | (StructType | ArrayType | SimpleType | EnumType)), (ExtendDef? | (Struct | Array | Simple | Enum)),
ConstraintsDef? ConstraintsDef?
} }
StructType = element Struct { DataTypeDef+ } Struct = element Struct { DataTypeDef+ }
ArrayType = element Array { DataTypeDef } Array = element Array { DataTypeDef }
SimpleType = Simple =
element SimpleType { element Simple {
attribute type { BasicType } attribute type { BasicType }
} }
EnumType = element Enum { EnumValueDef+ } Enum = element Enum { EnumValueDef+ }
BasicType = BasicType =
"integer" "integer"
| "boolean" | "boolean"
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
</attribute> </attribute>
</optional> </optional>
<ref name="DocDef"/> <ref name="DocDef"/>
<ref name="SimpleType" /> <ref name="Simple" />
</element> </element>
</oneOrMore> </oneOrMore>
</element> </element>
...@@ -117,10 +117,10 @@ ...@@ -117,10 +117,10 @@
<ref name="ExtendDef" /> <ref name="ExtendDef" />
</optional> </optional>
<choice> <choice>
<ref name="StructType" /> <ref name="Struct" />
<ref name="ArrayType" /> <ref name="Array" />
<ref name="SimpleType" /> <ref name="Simple" />
<ref name="EnumType" /> <ref name="Enum" />
</choice> </choice>
</choice> </choice>
<optional> <optional>
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
</define> </define>
<define name="StructType"> <define name="Struct">
<element name="Struct"> <element name="Struct">
<oneOrMore> <oneOrMore>
<ref name="DataTypeDef" /> <ref name="DataTypeDef" />
...@@ -139,15 +139,15 @@ ...@@ -139,15 +139,15 @@
</define> </define>
<define name="ArrayType"> <define name="Array">
<element name="Array"> <element name="Array">
<ref name="DataTypeDef" /> <ref name="DataTypeDef" />
</element> </element>
</define> </define>
<define name="SimpleType"> <define name="Simple">
<element name="SimpleType"> <element name="Simple">
<attribute name="type"> <attribute name="type">
<ref name="BasicType" /> <ref name="BasicType" />
</attribute> </attribute>
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
</define> </define>
<define name="EnumType"> <define name="Enum">
<element name="Enum"> <element name="Enum">
<oneOrMore> <oneOrMore>
<ref name="EnumValueDef" /> <ref name="EnumValueDef" />
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<xs:complexContent> <xs:complexContent>
<xs:extension base="DocDef"> <xs:extension base="DocDef">
<xs:sequence> <xs:sequence>
<xs:element ref="SimpleType"/> <xs:element ref="Simple"/>
</xs:sequence> </xs:sequence>
<xs:attribute name="name" use="required" type="xs:Name"/> <xs:attribute name="name" use="required" type="xs:Name"/>
<xs:attribute name="optional" type="xs:boolean"/> <xs:attribute name="optional" type="xs:boolean"/>
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
<xs:choice> <xs:choice>
<xs:element ref="Struct"/> <xs:element ref="Struct"/>
<xs:element ref="Array"/> <xs:element ref="Array"/>
<xs:element ref="SimpleType"/> <xs:element ref="Simple"/>
<xs:element ref="Enum"/> <xs:element ref="Enum"/>
</xs:choice> </xs:choice>
</xs:choice> </xs:choice>
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="SimpleType"> <xs:element name="Simple">
<xs:complexType> <xs:complexType>
<xs:attribute name="type" use="required" type="BasicType"/> <xs:attribute name="type" use="required" type="BasicType"/>
</xs:complexType> </xs:complexType>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<DataPoint name="operationStatus" readable="true" writable="true"> <DataPoint name="operationStatus" readable="true" writable="true">
<Doc>This property indicates the ON/OFF status.</Doc> <Doc>This property indicates the ON/OFF status.</Doc>
<DataType> <DataType>
<SimpleType type="boolean" /> <Simple type="boolean" />
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<DataPoint name="installationLocation" readable="true" writable="true"> <DataPoint name="installationLocation" readable="true" writable="true">
<Doc>This property indicates the installation location</Doc> <Doc>This property indicates the installation location</Doc>
<DataType> <DataType>
<SimpleType type="string" /> <Simple type="string" />
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<DataPoint name="measuredInstantaneousPowerConsumption" readable="true" writable="false"> <DataPoint name="measuredInstantaneousPowerConsumption" readable="true" writable="false">
<Doc>This property indicates the instantaneous power consumption of the device in watts.</Doc> <Doc>This property indicates the instantaneous power consumption of the device in watts.</Doc>
<DataType unitOfMeasure="watts"> <DataType unitOfMeasure="watts">
<SimpleType type="integer" /> <Simple type="integer" />
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<DataPoint name="measuredTemperatureValue" readable="true" writable="false"> <DataPoint name="measuredTemperatureValue" readable="true" writable="false">
<Doc>This property indicates the measured temperature value in units of 0.1C.</Doc> <Doc>This property indicates the measured temperature value in units of 0.1C.</Doc>
<DataType unitOfMeasure="celsius"> <DataType unitOfMeasure="celsius">
<SimpleType type="integer" /> <Simple type="integer" />
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
...@@ -74,10 +74,10 @@ ...@@ -74,10 +74,10 @@
<Properties> <Properties>
<Property name="Name" value="washing machine"> <Property name="Name" value="washing machine">
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
<Property name="Vendor" value="ACME"> <Property name="Vendor" value="ACME">
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
</Properties> </Properties>
...@@ -122,25 +122,25 @@ ...@@ -122,25 +122,25 @@
<DataPoint name="door_CoverOpen_CloseStatus" readable="true" writable="false"> <DataPoint name="door_CoverOpen_CloseStatus" readable="true" writable="false">
<Doc>This property indicates whether the door/cover is open or closed.</Doc> <Doc>This property indicates whether the door/cover is open or closed.</Doc>
<DataType> <DataType>
<SimpleType type="boolean" /> <Simple type="boolean" />
</DataType> </DataType>
</DataPoint> </DataPoint>
<DataPoint name="washingMachineSetting" readable="true" writable="true"> <DataPoint name="washingMachineSetting" readable="true" writable="true">
<Doc>Washing machine setting</Doc> <Doc>Washing machine setting</Doc>
<DataType> <DataType>
<SimpleType type="string" /> <Simple type="string" />
</DataType> </DataType>
</DataPoint> </DataPoint>
<DataPoint name="currentStageOfWashingCycle" readable="true" writable="false"> <DataPoint name="currentStageOfWashingCycle" readable="true" writable="false">
<Doc>This property indicates the current stage of the washing cycle.</Doc> <Doc>This property indicates the current stage of the washing cycle.</Doc>
<DataType> <DataType>
<SimpleType type="string" /> <Simple type="string" />
</DataType> </DataType>
</DataPoint> </DataPoint>
<DataPoint name="timeRemainingToCompleteWashingCycle" readable="true" writable="false"> <DataPoint name="timeRemainingToCompleteWashingCycle" readable="true" writable="false">
<Doc>This property indicates the time remaining to complete the current washing cycle in the HH:MM:SS format.</Doc> <Doc>This property indicates the time remaining to complete the current washing cycle in the HH:MM:SS format.</Doc>
<DataType> <DataType>
<SimpleType type="time" /> <Simple type="time" />
</DataType> </DataType>
</DataPoint> </DataPoint>
...@@ -152,19 +152,19 @@ ...@@ -152,19 +152,19 @@
<DataPoint name="onTimerReservationSetting" readable="true" writable="true"> <DataPoint name="onTimerReservationSetting" readable="true" writable="true">
<Doc>Reservation ON/OFF</Doc> <Doc>Reservation ON/OFF</Doc>
<DataType> <DataType>
<SimpleType type="boolean" /> <Simple type="boolean" />
</DataType> </DataType>
</DataPoint> </DataPoint>
<DataPoint name="onTimerSetting" readable="true" writable="true"> <DataPoint name="onTimerSetting" readable="true" writable="true">
<Doc>Timer value (HH:MM)</Doc> <Doc>Timer value (HH:MM)</Doc>
<DataType> <DataType>
<SimpleType type="time" /> <Simple type="time" />
</DataType> </DataType>
</DataPoint> </DataPoint>
<DataPoint name="relativeTimeBasedOnTimerSetting" readable="true" writable="true"> <DataPoint name="relativeTimeBasedOnTimerSetting" readable="true" writable="true">
<Doc>Timer value (HH:MM)</Doc> <Doc>Timer value (HH:MM)</Doc>
<DataType> <DataType>
<SimpleType type="time" /> <Simple type="time" />
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<DataPoint name="status" readable="true" writable="true"> <DataPoint name="status" readable="true" writable="true">
<Doc>This property indicates the ON/OFF status.</Doc> <Doc>This property indicates the ON/OFF status.</Doc>
<DataType> <DataType>
<SimpleType type="boolean" /> <Simple type="boolean" />
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
......
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
<Args> <Args>
<Arg name="argMandatory"> <Arg name="argMandatory">
<DataType> <DataType>
<SimpleType type="boolean" /> <Simple type="boolean" />
</DataType> </DataType>
</Arg> </Arg>
<Arg name="argOptional" optional="true"> <Arg name="argOptional" optional="true">
<DataType> <DataType>
<SimpleType type="boolean" /> <Simple type="boolean" />
</DataType> </DataType>
</Arg> </Arg>
</Args> </Args>
...@@ -24,12 +24,12 @@ ...@@ -24,12 +24,12 @@
<Args> <Args>
<Arg name="arg1" default="true"> <Arg name="arg1" default="true">
<DataType> <DataType>
<SimpleType type="boolean" /> <Simple type="boolean" />
</DataType> </DataType>
</Arg> </Arg>
<Arg name="arg2" default="foo"> <Arg name="arg2" default="foo">
<DataType> <DataType>
<SimpleType type="string" /> <Simple type="string" />
</DataType> </DataType>
</Arg> </Arg>
</Args> </Args>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<Action name="get"> <Action name="get">
<Doc>Obtain the current associated state.</Doc> <Doc>Obtain the current associated state.</Doc>
<DataType> <DataType>
<SimpleType type="boolean" /> <Simple type="boolean" />
</DataType> </DataType>
</Action> </Action>
<Action name="setTarget"> <Action name="setTarget">
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<Arg name="value"> <Arg name="value">
<Doc>The desired value of the associated state.</Doc> <Doc>The desired value of the associated state.</Doc>
<DataType> <DataType>
<SimpleType type="boolean" /> <Simple type="boolean" />
</DataType> </DataType>
</Arg> </Arg>
</Args> </Args>
......
...@@ -9,12 +9,12 @@ ...@@ -9,12 +9,12 @@
<Properties> <Properties>
<Property name="Name"> <Property name="Name">
<Doc>Original value: PowerSwitch</Doc> <Doc>Original value: PowerSwitch</Doc>
<SimpleType type="string"/> <Simple type="string"/>
</Property> </Property>
<!-- The Vendor field should probably be part of the domain --> <!-- The Vendor field should probably be part of the domain -->
<Property name="Vendor"> <Property name="Vendor">
<Doc>Original value: Telekom Innovation Laboratories</Doc> <Doc>Original value: Telekom Innovation Laboratories</Doc>
<SimpleType type="string"/> <Simple type="string"/>
</Property> </Property>
</Properties> </Properties>
<ModuleClasses> <ModuleClasses>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<Action name="state"> <Action name="state">
<Doc>Query the state of the switch. Returns the string &quot;<tt>on</tt>&quot; or &quot;<tt>off</tt>&quot;.</Doc> <Doc>Query the state of the switch. Returns the string &quot;<tt>on</tt>&quot; or &quot;<tt>off</tt>&quot;.</Doc>
<DataType> <DataType>
<SimpleType type="string"/> <Simple type="string"/>
</DataType> </DataType>
</Action> </Action>
</Actions> </Actions>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<Data> <Data>
<DataPoint name="state" writable="false"> <DataPoint name="state" writable="false">
<DataType> <DataType>
<SimpleType type="boolean"/> <Simple type="boolean"/>
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<Data> <Data>
<DataPoint name="TestDataPoint" optional="true" default="foo"> <DataPoint name="TestDataPoint" optional="true" default="foo">
<DataType> <DataType>
<SimpleType type="string" /> <Simple type="string" />
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<Domain id="datatypes-test" xmlns="http://www.onem2m.org/xml/sdt/4.0" xmlns:xi="http://www.w3.org/2001/XInclude"> <Domain id="datatypes-test" xmlns="http://www.onem2m.org/xml/sdt/4.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<DataTypes> <DataTypes>
<DataType name="temperatureType" unitOfMeasure="C"> <DataType name="temperatureType" unitOfMeasure="C">
<SimpleType type="float"/> <Simple type="float"/>
</DataType> </DataType>
<DataType name="anEnumType"> <DataType name="anEnumType">
<Enum> <Enum>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<Doc>This is a test device.</Doc> <Doc>This is a test device.</Doc>
<Properties> <Properties>
<Property name="aProperty"> <Property name="aProperty">
<SimpleType type="string"></SimpleType> <Simple type="string" />
</Property> </Property>
</Properties> </Properties>
<ModuleClasses> <ModuleClasses>
......
...@@ -7,37 +7,37 @@ ...@@ -7,37 +7,37 @@
<DataPoint name="currentTemperature" readable="true" writable="false" eventable="true" optional="false"> <DataPoint name="currentTemperature" readable="true" writable="false" eventable="true" optional="false">
<Doc>The current temperature.</Doc> <Doc>The current temperature.</Doc>
<DataType> <DataType>
<SimpleType type="float" /> <Simple type="float" />
</DataType> </DataType>
</DataPoint> </DataPoint>
<DataPoint name="targetTemperature" readable="true" writable="true" eventable="true" optional="true"> <DataPoint name="targetTemperature" readable="true" writable="true" eventable="true" optional="true">
<Doc>The desired temperature to reach.</Doc> <Doc>The desired temperature to reach.</Doc>
<DataType> <DataType>
<SimpleType type="float" /> <Simple type="float" />
</DataType> </DataType>
</DataPoint> </DataPoint>
<DataPoint name="unit" readable="true" writable="false" eventable="true" optional="true"> <DataPoint name="unit" readable="true" writable="false" eventable="true" optional="true">
<Doc>The unit of measure for the temperature values. The default is Celsius (C).</Doc> <Doc>The unit of measure for the temperature values. The default is Celsius (C).</Doc>
<DataType> <DataType>
<SimpleType type="string" /> <Simple type="string" />
</DataType> </DataType>
</DataPoint> </DataPoint>
<DataPoint name="minValue" readable="true" writable="false" eventable="true" optional="true"> <DataPoint name="minValue" readable="true" writable="false" eventable="true" optional="true">
<Doc>Minimum value of "targetTemperature".</Doc> <Doc>Minimum value of "targetTemperature".</Doc>
<DataType> <DataType>
<SimpleType type="float" /> <Simple type="float" />
</DataType> </DataType>
</DataPoint> </DataPoint>
<DataPoint name="maxValue" readable="true" writable="false" eventable="true" optional="true"> <DataPoint name="maxValue" readable="true" writable="false" eventable="true" optional="true">
<Doc>Maximum value of "targetTemperature".</Doc> <Doc>Maximum value of "targetTemperature".</Doc>
<DataType> <DataType>
<SimpleType type="float" /> <Simple type="float" />
</DataType> </DataType>
</DataPoint> </DataPoint>
<DataPoint name="stepValue" readable="true" writable="false" eventable="true" optional="true"> <DataPoint name="stepValue" readable="true" writable="false" eventable="true" optional="true">
<Doc>Step value allowed for "targetTemperature".</Doc> <Doc>Step value allowed for "targetTemperature".</Doc>
<DataType> <DataType>
<SimpleType type="float" /> <Simple type="float" />
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
...@@ -49,16 +49,16 @@ ...@@ -49,16 +49,16 @@
<Doc>This is a test device.</Doc> <Doc>This is a test device.</Doc>
<Properties> <Properties>
<Property name="address"> <Property name="address">
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
<Property name="functionCode"> <Property name="functionCode">
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
<Property name="registers"> <Property name="registers">
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
<Property name="slaveID"> <Property name="slaveID">
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
</Properties> </Properties>
<ModuleClasses> <ModuleClasses>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<DataPoint name="operationStatus" writable="true"> <DataPoint name="operationStatus" writable="true">
<Doc>This property sets the ON/OFF status.</Doc> <Doc>This property sets the ON/OFF status.</Doc>
<DataType> <DataType>
<SimpleType type="boolean"/> <Simple type="boolean"/>
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<DataPoint name="installationLocation" writable="true"> <DataPoint name="installationLocation" writable="true">
<Doc>This property indicates the installation location</Doc> <Doc>This property indicates the installation location</Doc>
<DataType> <DataType>
<SimpleType type="string"/> <Simple type="string"/>
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<DataPoint name="measuredCumulativePowerConsumption" writable="false"> <DataPoint name="measuredCumulativePowerConsumption" writable="false">
<Doc>This indicates cumulative power consumption of the device in increments of 0.001kWh.</Doc> <Doc>This indicates cumulative power consumption of the device in increments of 0.001kWh.</Doc>
<DataType unitOfMeasure="watt"> <DataType unitOfMeasure="watt">
<SimpleType type="integer"/> <Simple type="integer"/>
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<DataPoint name="onTimer" writable="true"> <DataPoint name="onTimer" writable="true">
<Doc>Timer value (HH:MM)</Doc> <Doc>Timer value (HH:MM)</Doc>
<DataType> <DataType>
<SimpleType type="time"/> <Simple type="time"/>
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<DataPoint name="statusDoor" writable="false"> <DataPoint name="statusDoor" writable="false">
<Doc>This reads the open=true or closed=false status of a door </Doc> <Doc>This reads the open=true or closed=false status of a door </Doc>
<DataType> <DataType>
<SimpleType type="boolean"/> <Simple type="boolean"/>
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
<Data> <Data>
<DataPoint name="TestExtendsDataPoint1" writable="true"> <DataPoint name="TestExtendsDataPoint1" writable="true">
<DataType> <DataType>
<SimpleType type="integer" /> <Simple type="integer" />
</DataType> </DataType>
</DataPoint> </DataPoint>
<DataPoint name="TestExtendsDataPoint2" writable="true"> <DataPoint name="TestExtendsDataPoint2" writable="true">
<DataType> <DataType>
<SimpleType type="integer" /> <Simple type="integer" />
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<Data> <Data>
<DataPoint name="TestExtendsDataPoint3" writable="true"> <DataPoint name="TestExtendsDataPoint3" writable="true">
<DataType> <DataType>
<SimpleType type="integer" /> <Simple type="integer" />
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
Obtain the current associated state. Obtain the current associated state.
</Doc> </Doc>
<DataType> <DataType>
<SimpleType type="boolean" /> <Simple type="boolean" />
</DataType> </DataType>
</Action> </Action>
<Action name="setTarget"> <Action name="setTarget">
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
The desired value of the associated state. The desired value of the associated state.
</Doc> </Doc>
<DataType> <DataType>
<SimpleType type="boolean" /> <Simple type="boolean" />
</DataType> </DataType>
</Arg> </Arg>
</Args> </Args>
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
<Data> <Data>
<DataPoint name="state" readable="true"> <DataPoint name="state" readable="true">
<DataType> <DataType>
<SimpleType type="boolean" /> <Simple type="boolean" />
</DataType> </DataType>
</DataPoint> </DataPoint>
</Data> </Data>
...@@ -128,23 +128,23 @@ ...@@ -128,23 +128,23 @@
<Properties> <Properties>
<Property name="Name"> <Property name="Name">
<Doc>Original value: Multi Socket Electrical-Extension-Block</Doc> <Doc>Original value: Multi Socket Electrical-Extension-Block</Doc>
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
<Property name="Vendor"> <Property name="Vendor">
<Doc>Original value: HGI</Doc> <Doc>Original value: HGI</Doc>
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
<Property name="FirmwareVersion"> <Property name="FirmwareVersion">
<Doc>Original value: 1.0</Doc> <Doc>Original value: 1.0</Doc>
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
<Property name="VendorURL"> <Property name="VendorURL">
<Doc>Original value: http://www.onem2m.org</Doc> <Doc>Original value: http://www.onem2m.org</Doc>
<SimpleType type="uri" /> <Simple type="uri" />
</Property> </Property>
<Property name="SerialNumber"> <Property name="SerialNumber">
<Doc>Original value: 1234.5</Doc> <Doc>Original value: 1234.5</Doc>
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
</Properties> </Properties>
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
<Properties> <Properties>
<Property name="version" value="1.0.0"> <Property name="version" value="1.0.0">
<Doc>Version for this ModuleClass</Doc> <Doc>Version for this ModuleClass</Doc>
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
</Properties> </Properties>
</ModuleClass> </ModuleClass>
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
<Array> <Array>
<DataType> <DataType>
<Doc>This is an example simple data type with a minimum-value constraint.</Doc> <Doc>This is an example simple data type with a minimum-value constraint.</Doc>
<SimpleType type="float" /> <Simple type="float" />
<Constraints> <Constraints>
<Constraint name="minValue" type="float" value="0.0"> <Constraint name="minValue" type="float" value="0.0">
<Doc>The value must be equal or greater 0.0</Doc> <Doc>The value must be equal or greater 0.0</Doc>
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
<DataType name="timeFrame"> <DataType name="timeFrame">
<Array> <Array>
<DataType> <DataType>
<SimpleType type="datetime" /> <Simple type="datetime" />
</DataType> </DataType>
</Array> </Array>
</DataType> </DataType>
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
<DataType name="names"> <DataType name="names">
<Array> <Array>
<DataType> <DataType>
<SimpleType type="string" /> <Simple type="string" />
</DataType> </DataType>
</Array> </Array>
</DataType> </DataType>
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
This datapoint represents the firmware version of the extension block. This datapoint represents the firmware version of the extension block.
</Doc> </Doc>
<DataType> <DataType>
<SimpleType type="string" /> <Simple type="string" />
</DataType> </DataType>
</DataPoint> </DataPoint>
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
<DataType> <DataType>
<Array> <Array>
<DataType> <DataType>
<SimpleType type="string" /> <Simple type="string" />
</DataType> </DataType>
</Array> </Array>
</DataType> </DataType>
...@@ -257,10 +257,10 @@ ...@@ -257,10 +257,10 @@
</Doc> </Doc>
<Properties> <Properties>
<Property name="Name" value="PowerSwitch 1"> <Property name="Name" value="PowerSwitch 1">
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
<Property name="Vendor" value="HGI"> <Property name="Vendor" value="HGI">
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
</Properties> </Properties>
<ModuleClasses> <ModuleClasses>
...@@ -278,16 +278,16 @@ ...@@ -278,16 +278,16 @@
</Doc> </Doc>
<Properties> <Properties>
<Property name="Name" value="PowerSwitch 2"> <Property name="Name" value="PowerSwitch 2">
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
<Property name="Vendor" value="HGI"> <Property name="Vendor" value="HGI">
<SimpleType type="string" /> <Simple type="string" />
</Property> </Property>
<Property name="VendorURL" value="http://www.onem2m.org"> <Property name="VendorURL" value="http://www.onem2m.org">
<SimpleType type="uri" /> <Simple type="uri" />
</Property> </Property>
<Property name="maximumAltitude" value="2800"> <Property name="maximumAltitude" value="2800">
<SimpleType type="integer" /> <Simple type="integer" />
</Property> </Property>
</Properties> </Properties>
<ModuleClasses> <ModuleClasses>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment