Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
MAS
SDT
Commits
901b45c3
Commit
901b45c3
authored
Jan 21, 2019
by
ankraft
Browse files
Prepared for 4.0 transition.
parent
b0394a28
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
21 additions
and
17 deletions
+21
-17
SDT/schema4.0/build.xml
SDT/schema4.0/build.xml
+1
-1
SDT/schema4.0/etc/dal.rnc
SDT/schema4.0/etc/dal.rnc
+1
-1
SDT/schema4.0/etc/domain.rnc
SDT/schema4.0/etc/domain.rnc
+1
-1
SDT/schema4.0/etc/schema.xmlns
SDT/schema4.0/etc/schema.xmlns
+2
-2
SDT/schema4.0/etc/schemas.xml
SDT/schema4.0/etc/schemas.xml
+1
-1
SDT/schema4.0/test/EchonetLiteExamples.xml
SDT/schema4.0/test/EchonetLiteExamples.xml
+9
-5
SDT/schema4.0/test/dal-core.xml
SDT/schema4.0/test/dal-core.xml
+1
-1
SDT/schema4.0/test/dal-eg.xml
SDT/schema4.0/test/dal-eg.xml
+1
-1
SDT/schema4.0/test/example1.SDT.xml
SDT/schema4.0/test/example1.SDT.xml
+1
-1
SDT/schema4.0/test/example2.SDT.xml
SDT/schema4.0/test/example2.SDT.xml
+1
-1
SDT/schema4.0/test/example3.SDT.xml
SDT/schema4.0/test/example3.SDT.xml
+1
-1
SDT/schema4.0/test/mseeb.xml
SDT/schema4.0/test/mseeb.xml
+1
-1
No files found.
SDT/schema4.0/build.xml
View file @
901b45c3
...
...
@@ -92,7 +92,7 @@
<schemavalidate
warn=
"true"
>
<fileset
dir=
"${basedir}/test"
includes=
"*.xml"
/>
<attribute
name=
"http://apache.org/xml/features/xinclude"
value=
"true"
/>
<schema
namespace=
"http://homegatewayinitiative.org/xml/dal/
3
.0"
<schema
namespace=
"http://homegatewayinitiative.org/xml/dal/
4
.0"
file=
"${path.src}/domain.xsd"
/>
<schema
namespace=
"http://www.w3.org/2001/XInclude"
file=
"${basedir}/etc/XInclude.xsd"
/>
...
...
SDT/schema4.0/etc/dal.rnc
View file @
901b45c3
namespace local = ""
default namespace xsl = "http://homegatewayinitiative.org/xml/dal/
3
.0"
default namespace xsl = "http://homegatewayinitiative.org/xml/dal/
4
.0"
namespace xi = "http://www.w3.org/2001/XInclude"
version = "1.0"
...
...
SDT/schema4.0/etc/domain.rnc
View file @
901b45c3
...
...
@@ -65,12 +65,12 @@ BasicType =
| "byte"
| "float"
| "array"
| "enum"
| "date"
| "time"
| "datetime"
| "blob"
| "uri"
| "void"
ConstraintsDef =
element Constraints {
element Constraint {
...
...
SDT/schema4.0/etc/schema.xmlns
View file @
901b45c3
targetNamespace="http://homegatewayinitiative.org/xml/dal/
3
.0"
xmlns="http://homegatewayinitiative.org/xml/dal/
3
.0"
targetNamespace="http://homegatewayinitiative.org/xml/dal/
4
.0"
xmlns="http://homegatewayinitiative.org/xml/dal/
4
.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
SDT/schema4.0/etc/schemas.xml
View file @
901b45c3
<locatingRules
xmlns=
"http://thaiopensource.com/ns/locating-rules/1.0"
>
<namespace
ns=
"http://homegatewayinitiative.org/xml/dal/
2
.0"
typeId=
"DAL"
/>
<namespace
ns=
"http://homegatewayinitiative.org/xml/dal/
4
.0"
typeId=
"DAL"
/>
<namespace
ns=
"http://www.w3.org/2001/XInclude"
typeId=
"XINC"
/>
<typeId
id=
"DAL"
uri=
"dal.rnc"
/>
...
...
SDT/schema4.0/test/EchonetLiteExamples.xml
View file @
901b45c3
...
...
@@ -3,7 +3,7 @@
<!-- Example SDT definition taken from EchonetLite https://github.com/ECHONET-Consortium -->
<Domain
xmlns=
"http://homegatewayinitiative.org/xml/dal/
3
.0"
<Domain
xmlns=
"http://homegatewayinitiative.org/xml/dal/
4
.0"
xmlns:xi=
"http://www.w3.org/2001/XInclude"
id=
"example.based.on.echonetLite"
>
...
...
@@ -119,19 +119,22 @@
<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="enum" /> -->
<SimpleType
type=
"string"
/>
</DataType>
</DataPoint>
<DataPoint
name=
"washingMachineSetting"
readable=
"true"
writable=
"true"
>
<Doc>
Washing machine setting
</Doc>
<DataType>
<SimpleType
type=
"enum"
/>
<!-- <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="enum" /> -->
<SimpleType
type=
"string"
/>
</DataType>
</DataPoint>
<DataPoint
name=
"timeRemainingToCompleteWashingCycle"
readable=
"true"
writable=
"false"
>
...
...
@@ -149,7 +152,8 @@
<DataPoint
name=
"onTimerReservationSetting"
readable=
"true"
writable=
"true"
>
<Doc>
Reservation ON/OFF
</Doc>
<DataType>
<SimpleType
type=
"enum"
/>
<!-- <SimpleType type="enum" /> -->
<SimpleType
type=
"boolean"
/>
</DataType>
</DataPoint>
<DataPoint
name=
"onTimerSetting"
readable=
"true"
writable=
"true"
>
...
...
SDT/schema4.0/test/dal-core.xml
View file @
901b45c3
<?xml version="1.0" encoding="iso-8859-1"?>
<Domain
xmlns=
"http://homegatewayinitiative.org/xml/dal/
3
.0"
<Domain
xmlns=
"http://homegatewayinitiative.org/xml/dal/
4
.0"
id=
"hgi.dal.core"
>
<Modules>
...
...
SDT/schema4.0/test/dal-eg.xml
View file @
901b45c3
<?xml version="1.0" encoding="iso-8859-1"?>
<Domain
xmlns:xi=
"http://www.w3.org/2001/XInclude"
xmlns=
"http://homegatewayinitiative.org/xml/dal/
3
.0"
xmlns=
"http://homegatewayinitiative.org/xml/dal/
4
.0"
id=
"com.telekom"
>
<Imports>
...
...
SDT/schema4.0/test/example1.SDT.xml
View file @
901b45c3
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Example1 SDT inspired by some Echonet Lite examples -->
<Domain
xmlns=
"http://homegatewayinitiative.org/xml/dal/
3
.0"
<Domain
xmlns=
"http://homegatewayinitiative.org/xml/dal/
4
.0"
xmlns:xi=
"http://www.w3.org/2001/XInclude"
id=
"example1.SDT"
>
...
...
SDT/schema4.0/test/example2.SDT.xml
View file @
901b45c3
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Example1 SDT inspired by some Echonet Lite examples -->
<Domain
xmlns=
"http://homegatewayinitiative.org/xml/dal/
3
.0"
<Domain
xmlns=
"http://homegatewayinitiative.org/xml/dal/
4
.0"
xmlns:xi=
"http://www.w3.org/2001/XInclude"
id=
"example2.SDT"
>
...
...
SDT/schema4.0/test/example3.SDT.xml
View file @
901b45c3
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Example1 SDT inspired by some Echonet Lite examples -->
<Domain
xmlns=
"http://homegatewayinitiative.org/xml/dal/
3
.0"
<Domain
xmlns=
"http://homegatewayinitiative.org/xml/dal/
4
.0"
xmlns:xi=
"http://www.w3.org/2001/XInclude"
id=
"example3.SDT"
>
...
...
SDT/schema4.0/test/mseeb.xml
View file @
901b45c3
...
...
@@ -62,7 +62,7 @@
-->
<Domain
xmlns:xi=
"http://www.w3.org/2001/XInclude"
xmlns=
"http://homegatewayinitiative.org/xml/dal/
3
.0"
xmlns=
"http://homegatewayinitiative.org/xml/dal/
4
.0"
id=
"org.homegatewayinitiative"
>
<!-- The following import statements include ModuleClasses from HGI -->
...
...
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