example2.SDT.xml 1.11 KB
Newer Older
1 2
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Example1 SDT inspired by some Echonet Lite examples -->
3
<Domain xmlns="http://www.onem2m.org/xml/sdt/4.0"
4 5 6 7 8 9 10
	xmlns:xi="http://www.w3.org/2001/XInclude"
	id="example2.SDT">

    <Imports>
        <xi:include href="./example1.SDT.xml" parse="xml" />
    </Imports>

11 12 13 14
	<DeviceClasses>
		<DeviceClass id="airConditioner">
			<ModuleClasses>
				<ModuleClass name="operationStatus">
15
					<Extend domain="example1.SDT" entity="operationStatus"/>
16 17
				</ModuleClass>
				<ModuleClass name="installationLocation">
18
					<Extend domain="example1.SDT" entity="installationLocation"/>
19 20
				</ModuleClass>
				<ModuleClass name="measuredCumulativePowerConsumption">
21
					<Extend domain="example1.SDT" entity="measuredCumulativePowerConsumption"/>
22 23
				</ModuleClass>
				<ModuleClass name="measuredCumulativePowerConsumption">
24
					<Extend domain="example1.SDT" entity="measuredCumulativePowerConsumption"/>
25 26
				</ModuleClass>
				<ModuleClass name="onTimerSetting">
27
					<Extend domain="example1.SDT" entity="onTimerSetting"/>
28 29 30 31
				</ModuleClass>
			</ModuleClasses>
		</DeviceClass>
	</DeviceClasses>
32
</Domain>