Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SDT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
16
Issues
16
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MAS
SDT
Commits
ff366ff9
Commit
ff366ff9
authored
Jul 01, 2019
by
ankraft
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reworked examples. Added Simple example.
parent
ee9cd4a6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
356 additions
and
62 deletions
+356
-62
Examples.md
SDT/schema4.0/docs/Examples.md
+331
-56
EchonetLiteExamples.xml
SDT/schema4.0/test/EchonetLiteExamples.xml
+5
-6
SimpleExample.xml
SDT/schema4.0/test/SimpleExample.xml
+20
-0
No files found.
SDT/schema4.0/docs/Examples.md
View file @
ff366ff9
This diff is collapsed.
Click to expand it.
SDT/schema4.0/test/EchonetLiteExamples.xml
View file @
ff366ff9
...
...
@@ -69,6 +69,9 @@
<DeviceClasses>
<DeviceClass
id=
"SimpleWaschingMachine"
>
<!-- Device Properties -->
<Properties>
<Property
name=
"Name"
value=
"washing machine"
>
<SimpleType
type=
"string"
/>
...
...
@@ -119,21 +122,18 @@
<DataPoint
name=
"door_CoverOpen_CloseStatus"
readable=
"true"
writable=
"false"
>
<Doc>
This property indicates whether the door/cover is open or closed.
</Doc>
<DataType>
<!-- <SimpleType type="enum" /> -->
<SimpleType
type=
"string"
/>
<SimpleType
type=
"boolean"
/>
</DataType>
</DataPoint>
<DataPoint
name=
"washingMachineSetting"
readable=
"true"
writable=
"true"
>
<Doc>
Washing machine setting
</Doc>
<DataType>
<!-- <SimpleType type="enum" /> -->
<SimpleType
type=
"string"
/>
</DataType>
</DataPoint>
<DataPoint
name=
"currentStageOfWashingCycle"
readable=
"true"
writable=
"false"
>
<Doc>
This property indicates the current stage of the washing cycle.
</Doc>
<DataType>
<!-- <SimpleType type="enum" /> -->
<SimpleType
type=
"string"
/>
</DataType>
</DataPoint>
...
...
@@ -152,7 +152,6 @@
<DataPoint
name=
"onTimerReservationSetting"
readable=
"true"
writable=
"true"
>
<Doc>
Reservation ON/OFF
</Doc>
<DataType>
<!-- <SimpleType type="enum" /> -->
<SimpleType
type=
"boolean"
/>
</DataType>
</DataPoint>
...
...
@@ -168,9 +167,9 @@
<SimpleType
type=
"time"
/>
</DataType>
</DataPoint>
</Data>
</ModuleClass>
</ModuleClasses>
</DeviceClass>
</DeviceClasses>
...
...
SDT/schema4.0/test/SimpleExample.xml
0 → 100644
View file @
ff366ff9
<?xml version="1.0" encoding="iso-8859-1"?>
<Domain
xmlns=
"http://www.onem2m.org/xml/sdt/4.0"
id=
"SimpleExample"
>
<DeviceClasses>
<DeviceClass
id=
"Light"
>
<Doc>
This is a very simple device representing a light.
</Doc>
<ModuleClasses>
<ModuleClass
name=
"Switch"
>
<Data>
<DataPoint
name=
"status"
readable=
"true"
writable=
"true"
>
<Doc>
This property indicates the ON/OFF status.
</Doc>
<DataType>
<SimpleType
type=
"boolean"
/>
</DataType>
</DataPoint>
</Data>
</ModuleClass>
</ModuleClasses>
</DeviceClass>
</DeviceClasses>
</Domain>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment