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
215d20c6
Commit
215d20c6
authored
May 05, 2015
by
Andreas Kraft
Browse files
Made type of DataPoints required
parent
92eab929
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
159 additions
and
160 deletions
+159
-160
SDT/schema2.0/docs/SDT_UML.uxf
SDT/schema2.0/docs/SDT_UML.uxf
+154
-153
SDT/schema2.0/docs/images/SDT2.0_UML.png
SDT/schema2.0/docs/images/SDT2.0_UML.png
+0
-0
SDT/schema2.0/etc/domain.rnc
SDT/schema2.0/etc/domain.rnc
+1
-1
SDT/schema2.0/src/domain.rng
SDT/schema2.0/src/domain.rng
+3
-5
SDT/schema2.0/src/domain.xsd
SDT/schema2.0/src/domain.xsd
+1
-1
No files found.
SDT/schema2.0/docs/SDT_UML.uxf
View file @
215d20c6
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram
program=
"umlet"
version=
"13.1"
>
<zoom_level>
10
</zoom_level>
<zoom_level>
9
</zoom_level>
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
330
</x>
<y>
120
</y>
<w>
15
0
</w>
<h>
1
30
</h>
<x>
261
</x>
<y>
99
</y>
<w>
1
3
5
</w>
<h>
1
17
</h>
</coordinates>
<panel_attributes>
ModuleClass
--
...
...
@@ -24,27 +24,27 @@ fg=blue
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
580
</x>
<y>
1
90
</y>
<w>
1
40
</w>
<h>
10
0
</h>
<x>
486
</x>
<y>
1
62
</y>
<w>
1
26
</w>
<h>
9
0
</h>
</coordinates>
<panel_attributes>
Action
--
*@ name : text*
/@ type : DataType/
/- Doc : Doc/
/
-
Arg : Arg/
/
*
Arg : Arg/
fg=blue
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>
Relation
</id>
<coordinates>
<x>
470
</x>
<y>
1
00
</y>
<w>
1
30
</w>
<h>
90
</h>
<x>
387
</x>
<y>
8
1
</y>
<w>
1
17
</w>
<h>
81
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=0,1
...
...
@@ -54,10 +54,10 @@ m1=0,1
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
800
</x>
<y>
2
60
</y>
<w>
1
60
</w>
<h>
80
</h>
<x>
684
</x>
<y>
2
25
</y>
<w>
1
44
</w>
<h>
72
</h>
</coordinates>
<panel_attributes>
Arg
--
...
...
@@ -70,10 +70,10 @@ fg=blue</panel_attributes>
<element>
<id>
Relation
</id>
<coordinates>
<x>
710
</x>
<y>
2
60
</y>
<w>
110
</w>
<h>
40
</h>
<x>
603
</x>
<y>
2
25
</y>
<w>
99
</w>
<h>
36
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=0..*
</panel_attributes>
...
...
@@ -82,10 +82,10 @@ m1=0..*</panel_attributes>
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
60
</x>
<y>
230
</y>
<w>
20
0
</w>
<h>
10
0
</h>
<x>
18
</x>
<y>
198
</y>
<w>
18
0
</w>
<h>
9
0
</h>
</coordinates>
<panel_attributes>
Domain
--
...
...
@@ -99,10 +99,10 @@ fg=blue</panel_attributes>
<element>
<id>
Relation
</id>
<coordinates>
<x>
250
</x>
<y>
120
</y>
<w>
10
0
</w>
<h>
20
0
</h>
<x>
189
</x>
<y>
99
</y>
<w>
9
0
</w>
<h>
18
0
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1= 0..*
</panel_attributes>
...
...
@@ -111,10 +111,10 @@ m1= 0..*</panel_attributes>
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
330
</x>
<y>
600
</y>
<w>
1
90
</w>
<h>
10
0
</h>
<x>
261
</x>
<y>
486
</y>
<w>
1
71
</w>
<h>
9
0
</h>
</coordinates>
<panel_attributes>
Device
--
...
...
@@ -128,23 +128,23 @@ fg=blue</panel_attributes>
<element>
<id>
Relation
</id>
<coordinates>
<x>
24
0
</x>
<y>
300
</y>
<w>
5
0
</w>
<h>
25
0
</h>
<x>
18
0
</x>
<y>
261
</y>
<w>
4
5
</w>
<h>
18
0
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=0..*
</panel_attributes>
<additional_attributes>
10.0;
23
0.0;10.0;1
8
0.0;30.0;1
8
0.0;30.0;10.0;20.0;10.0
</additional_attributes>
<additional_attributes>
10.0;
18
0.0;10.0;1
4
0.0;30.0;1
4
0.0;30.0;10.0;20.0;10.0
</additional_attributes>
</element>
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
590
</x>
<y>
610
</y>
<w>
1
80
</w>
<h>
1
30
</h>
<x>
495
</x>
<y>
495
</y>
<w>
1
62
</w>
<h>
1
17
</h>
</coordinates>
<panel_attributes>
DeviceInfo
--
...
...
@@ -160,10 +160,10 @@ fg=blue</panel_attributes>
<element>
<id>
Relation
</id>
<coordinates>
<x>
510
</x>
<y>
610
</y>
<w>
10
0
</w>
<h>
90
</h>
<x>
423
</x>
<y>
495
</y>
<w>
9
0
</w>
<h>
81
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1= 0,1
</panel_attributes>
...
...
@@ -172,10 +172,10 @@ m1= 0,1</panel_attributes>
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
800
</x>
<y>
30
</y>
<w>
1
60
</w>
<h>
210
</h>
<x>
684
</x>
<y>
18
</y>
<w>
1
44
</w>
<h>
189
</h>
</coordinates>
<panel_attributes>
<<
Enumeration
>>
DataType
...
...
@@ -195,10 +195,10 @@ blob</panel_attributes>
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
850
</x>
<y>
650
</y>
<w>
110
</w>
<h>
5
0
</h>
<x>
729
</x>
<y>
531
</y>
<w>
99
</w>
<h>
4
5
</h>
</coordinates>
<panel_attributes>
Doc
--
...
...
@@ -209,10 +209,10 @@ fg=blue</panel_attributes>
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
580
</x>
<y>
90
</y>
<w>
1
30
</w>
<h>
80
</h>
<x>
486
</x>
<y>
72
</y>
<w>
1
17
</w>
<h>
72
</h>
</coordinates>
<panel_attributes>
<<
Attributes
>>
Extends
...
...
@@ -225,10 +225,10 @@ Extends
<element>
<id>
Relation
</id>
<coordinates>
<x>
470
</x>
<y>
1
80
</y>
<w>
1
30
</w>
<h>
5
0
</h>
<x>
387
</x>
<y>
1
53
</y>
<w>
1
17
</w>
<h>
4
5
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=0..*
...
...
@@ -238,10 +238,10 @@ m1=0..*
<element>
<id>
Relation
</id>
<coordinates>
<x>
710
</x>
<y>
40
</y>
<w>
110
</w>
<h>
220
</h>
<x>
603
</x>
<y>
27
</y>
<w>
99
</w>
<h>
198
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=0,1
...
...
@@ -251,10 +251,10 @@ m1=0,1
<element>
<id>
Relation
</id>
<coordinates>
<x>
780
</x>
<y>
640
</y>
<w>
90
</w>
<h>
5
0
</h>
<x>
666
</x>
<y>
522
</y>
<w>
81
</w>
<h>
4
5
</h>
</coordinates>
<panel_attributes>
lt=
<
..
m1=0..*
...
...
@@ -264,10 +264,10 @@ m1=0..*
<element>
<id>
Relation
</id>
<coordinates>
<x>
950
</x>
<y>
11
0
</y>
<w>
5
0
</w>
<h>
220
</h>
<x>
819
</x>
<y>
9
0
</y>
<w>
4
5
</w>
<h>
198
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1= 1
...
...
@@ -277,10 +277,10 @@ m1= 1
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
580
</x>
<y>
340
</y>
<w>
1
70
</w>
<h>
5
0
</h>
<x>
486
</x>
<y>
297
</y>
<w>
1
53
</w>
<h>
4
5
</h>
</coordinates>
<panel_attributes>
Data
--
...
...
@@ -291,10 +291,10 @@ fg=blue</panel_attributes>
<element>
<id>
Relation
</id>
<coordinates>
<x>
470
</x>
<y>
2
10
</y>
<w>
1
30
</w>
<h>
1
70
</h>
<x>
387
</x>
<y>
1
8
0
</y>
<w>
1
17
</w>
<h>
1
53
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=0..*
...
...
@@ -304,10 +304,10 @@ m1=0..*
<element>
<id>
Relation
</id>
<coordinates>
<x>
74
0
</x>
<y>
3
5
0
</y>
<w>
80
</w>
<h>
5
0
</h>
<x>
63
0
</x>
<y>
30
6
</y>
<w>
72
</w>
<h>
4
5
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=0..*
...
...
@@ -317,15 +317,15 @@ m1=0..*
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
800
</x>
<y>
3
60
</y>
<w>
1
60
</w>
<h>
1
30
</h>
<x>
684
</x>
<y>
3
15
</y>
<w>
1
44
</w>
<h>
1
17
</h>
</coordinates>
<panel_attributes>
DataPoint
--
*@ name : text*
/
@ type : DataType
/
@ type : DataType
/@ writable : boolean/
/@ readable : boolean/
/@ eventable : boolean/
...
...
@@ -337,10 +337,10 @@ fg=blue
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
590
</x>
<y>
520
</y>
<w>
1
60
</w>
<h>
80
</h>
<x>
495
</x>
<y>
414
</y>
<w>
1
44
</w>
<h>
72
</h>
</coordinates>
<panel_attributes>
Event
--
...
...
@@ -353,23 +353,23 @@ fg=blue</panel_attributes>
<element>
<id>
Relation
</id>
<coordinates>
<x>
470
</x>
<y>
220
</y>
<w>
1
40
</w>
<h>
340
</h>
<x>
387
</x>
<y>
189
</y>
<w>
1
26
</w>
<h>
261
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=0..*
</panel_attributes>
<additional_attributes>
120.0;
31
0.0;30.0;
31
0.0;30.0;10.0;10.0;10.0
</additional_attributes>
<additional_attributes>
120.0;
26
0.0;30.0;
26
0.0;30.0;10.0;10.0;10.0
</additional_attributes>
</element>
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
330
</x>
<y>
550
</y>
<w>
1
20
</w>
<h>
30
</h>
<x>
261
</x>
<y>
441
</y>
<w>
1
35
</w>
<h>
27
</h>
</coordinates>
<panel_attributes>
Module
fg=blue
</panel_attributes>
...
...
@@ -378,48 +378,48 @@ fg=blue</panel_attributes>
<element>
<id>
Relation
</id>
<coordinates>
<x>
440
</x>
<y>
550
</y>
<w>
110
</w>
<h>
1
30
</h>
<x>
387
</x>
<y>
441
</y>
<w>
72
</w>
<h>
1
17
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=0..*
</panel_attributes>
<additional_attributes>
10.0;10.0;
9
0.0;10.0;
9
0.0;110.0;
8
0.0;110.0
</additional_attributes>
<additional_attributes>
10.0;10.0;
6
0.0;10.0;
6
0.0;110.0;
5
0.0;110.0
</additional_attributes>
</element>
<element>
<id>
Relation
</id>
<coordinates>
<x>
3
8
0
</x>
<y>
2
4
0
</y>
<w>
10
0
</w>
<h>
330
</h>
<x>
30
6
</x>
<y>
20
7
</y>
<w>
9
0
</w>
<h>
252
</h>
</coordinates>
<panel_attributes>
lt=
<<<
.
<<
extends
>>
</panel_attributes>
<additional_attributes>
10.0;10.0;10.0;
31
0.0
</additional_attributes>
<additional_attributes>
10.0;10.0;10.0;
26
0.0
</additional_attributes>
</element>
<element>
<id>
Relation
</id>
<coordinates>
<x>
650
</x>
<y>
3
80
</y>
<w>
1
30
</w>
<h>
210
</h>
<x>
549
</x>
<y>
3
33
</y>
<w>
1
26
</w>
<h>
144
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=0..*
</panel_attributes>
<additional_attributes>
10.0;10.0;10.0;
12
0.0;1
1
0.0;
12
0.0;1
1
0.0;1
9
0.0;100.0;1
9
0.0
</additional_attributes>
<additional_attributes>
10.0;10.0;10.0;
7
0.0;1
2
0.0;
7
0.0;1
2
0.0;1
4
0.0;100.0;1
4
0.0
</additional_attributes>
</element>
<element>
<id>
Relation
</id>
<coordinates>
<x>
950
</x>
<y>
40
</y>
<w>
70
</w>
<h>
3
90
</h>
<x>
819
</x>
<y>
27
</y>
<w>
63
</w>
<h>
3
51
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=1
...
...
@@ -429,10 +429,10 @@ m1=1
<element>
<id>
UMLClass
</id>
<coordinates>
<x>
7
0
</x>
<y>
530
</y>
<w>
1
90
</w>
<h>
110
</h>
<x>
2
7
</x>
<y>
423
</y>
<w>
1
71
</w>
<h>
99
</h>
</coordinates>
<panel_attributes>
RootDevice
--
...
...
@@ -447,10 +447,10 @@ fg=blue</panel_attributes>
<element>
<id>
Relation
</id>
<coordinates>
<x>
250
</x>
<y>
590
</y>
<w>
10
0
</w>
<h>
5
0
</h>
<x>
189
</x>
<y>
477
</y>
<w>
9
0
</w>
<h>
4
5
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=0..*
...
...
@@ -460,10 +460,10 @@ m1=0..*
<element>
<id>
UMLNote
</id>
<coordinates>
<x>
60
</x>
<y>
30
</y>
<w>
20
0
</w>
<h>
1
30
</h>
<x>
18
</x>
<y>
18
</y>
<w>
18
0
</w>
<h>
1
26
</h>
</coordinates>
<panel_attributes>
bg=#FAF8C8
fontsize=10
...
...
@@ -471,7 +471,8 @@ fontsize=10
*@mandatoryElementAttribute*
- element
- element : Subclass
/- optionalElement/
/- optionalElement (0/1)/
/* optionalElement (0/n)/
"Contains" Relation
...
...
@@ -481,10 +482,10 @@ Subclassing</panel_attributes>
<element>
<id>
Relation
</id>
<coordinates>
<x>
1
6
0
</x>
<y>
90
</y>
<w>
10
0
</w>
<h>
40
</h>
<x>
10
8
</x>
<y>
81
</y>
<w>
9
0
</w>
<h>
36
</h>
</coordinates>
<panel_attributes>
lt=
<
-
fontsize=10
...
...
@@ -495,10 +496,10 @@ m1=0..*
<element>
<id>
Relation
</id>
<coordinates>
<x>
1
6
0
</x>
<y>
1
2
0
</y>
<w>
110
</w>
<h>
40
</h>
<x>
10
8
</x>
<y>
10
8
</y>
<w>
99
</w>
<h>
36
</h>
</coordinates>
<panel_attributes>
lt=
<<<
.
<<
extends
>>
...
...
@@ -508,10 +509,10 @@ fontsize=10</panel_attributes>
<element>
<id>
Relation
</id>
<coordinates>
<x>
250
</x>
<y>
550
</y>
<w>
10
0
</w>
<h>
60
</h>
<x>
189
</x>
<y>
441
</y>
<w>
9
0
</w>
<h>
54
</h>
</coordinates>
<panel_attributes>
lt=
<
-
m1=0..*
...
...
@@ -521,10 +522,10 @@ m1=0..*
<element>
<id>
Relation
</id>
<coordinates>
<x>
250
</x>
<y>
610
</y>
<w>
3
60
</w>
<h>
1
30
</h>
<x>
189
</x>
<y>
495
</y>
<w>
3
24
</w>
<h>
1
17
</h>
</coordinates>
<panel_attributes>
lt=
<
-
</panel_attributes>
...
...
SDT/schema2.0/docs/images/SDT2.0_UML.png
View replaced file @
92eab929
View file @
215d20c6
81 KB
|
W:
|
H:
81.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
SDT/schema2.0/etc/domain.rnc
View file @
215d20c6
...
...
@@ -99,7 +99,7 @@ Data =
element Data {
element DataPoint {
attribute name { text },
attribute type { DataType }
?
,
attribute type { DataType },
attribute writable { xsd:boolean }?,
attribute readable { xsd:boolean }?,
attribute eventable { xsd:boolean }?,
...
...
SDT/schema2.0/src/domain.rng
View file @
215d20c6
...
...
@@ -246,11 +246,9 @@
<attribute name="name">
<text/>
</attribute>
<optional>
<attribute name="type">
<ref name="DataType"/>
</attribute>
</optional>
<attribute name="type">
<ref name="DataType"/>
</attribute>
<optional>
<attribute name="writable">
<data type="boolean"/>
...
...
SDT/schema2.0/src/domain.xsd
View file @
215d20c6
...
...
@@ -201,7 +201,7 @@
<xs:complexType>
<xs:group
ref=
"Doc"
/>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"type"
type=
"DataType"
/>
<xs:attribute
name=
"type"
use=
"required"
type=
"DataType"
/>
<xs:attribute
name=
"writable"
type=
"xs:boolean"
/>
<xs:attribute
name=
"readable"
type=
"xs:boolean"
/>
<xs:attribute
name=
"eventable"
type=
"xs:boolean"
/>
...
...
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