Skip to content

Commit 94a167d

Browse files
authored
Merge pull request #50 from MelleD/bugifx-missing-link-to-example-movement.ttl-in-documentation
Add movement.ttl for documentation #49
2 parents e16835e + 0c45f4a commit 94a167d

File tree

1 file changed

+84
-0
lines changed
  • documentation/js-sdk-guide/modules/tooling-guide/examples

1 file changed

+84
-0
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Copyright (c) 2023 Robert Bosch Manufacturing Solutions GmbH
2+
#
3+
# See the AUTHORS file(s) distributed with this work for
4+
# additional information regarding authorship.
5+
#
6+
# This Source Code Form is subject to the terms of the Mozilla Public
7+
# License, v. 2.0. If a copy of the MPL was not distributed with this
8+
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
9+
#
10+
# SPDX-License-Identifier: MPL-2.0
11+
12+
@prefix samm: <urn:samm:org.eclipse.esmf.samm:meta-model:1.0.0#> .
13+
@prefix samm-c: <urn:samm:org.eclipse.esmf.samm:characteristic:1.0.0#> .
14+
@prefix unit: <urn:samm:org.eclipse.esmf.samm:unit:1.0.0#> .
15+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
16+
@prefix : <urn:samm:org.eclipse.examples.movement:2.1.0#> .
17+
18+
:Movement a samm:Aspect ;
19+
samm:preferredName "Movement"@en ;
20+
samm:description "Aspect for movement information"@en ;
21+
samm:properties ( :moving :speedLimitWarning :position :startDate :endDate ) ;
22+
samm:operations () .
23+
24+
:moving a samm:Property ;
25+
samm:preferredName "Moving"@en ;
26+
samm:description "Flag indicating if the position is changing"@en ;
27+
samm:characteristic samm-c:Boolean .
28+
29+
:startDate a samm:Property ;
30+
samm:preferredName "Start Date"@en ;
31+
samm:description "Date, when the batch was started"@en ;
32+
samm:characteristic samm-c:Timestamp .
33+
34+
:endDate a samm:Property ;
35+
samm:preferredName "End Date"@en ;
36+
samm:description "Date, when the last part of the batch was produced"@en ;
37+
samm:characteristic samm-c:Timestamp .
38+
39+
:speedLimitWarning a samm:Property ;
40+
samm:preferredName "Speed Limit Warning"@en ;
41+
samm:description "Indicates if speed limit is adhered to."@en ;
42+
samm:characteristic :WarningLevel .
43+
44+
:position a samm:Property ;
45+
samm:preferredName "Position"@en ;
46+
samm:description "Indicates a position"@en ;
47+
samm:characteristic :SpatialPositionCharacteristic .
48+
49+
:SpatialPositionCharacteristic a samm-c:SingleEntity ;
50+
samm:preferredName "Spatial Position Characteristic"@en ;
51+
samm:description "Represents a single location in space."@en ;
52+
samm:dataType :SpatialPosition .
53+
54+
:WarningLevel a samm-c:Enumeration ;
55+
samm:preferredName "Warning Level"@en ;
56+
samm:description "Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red)."@en ;
57+
samm:dataType xsd:string ;
58+
samm-c:values ( "green" "yellow" "red" ) .
59+
60+
:SpatialPosition a samm:Entity ;
61+
samm:preferredName "Spatial Position"@en ;
62+
samm:description "Position in space, described along three axis, with the third axis optional, if all positions are in a plane."@en ;
63+
samm:properties ( :x :y :z ) .
64+
65+
:x a samm:Property ;
66+
samm:preferredName "x"@en ;
67+
samm:description "x coordinate in space"@en ;
68+
samm:characteristic :Coordinate .
69+
70+
:y a samm:Property ;
71+
samm:preferredName "y"@en ;
72+
samm:description "y coordinate in space"@en ;
73+
samm:characteristic :Coordinate .
74+
75+
:z a samm:Property ;
76+
samm:preferredName "z"@en ;
77+
samm:description "z coordinate in space"@en ;
78+
samm:characteristic :Coordinate .
79+
80+
:Coordinate a samm-c:Measurement ;
81+
samm:preferredName "Coordinate"@en ;
82+
samm:description "Represents a coordinate along an axis in space."@en ;
83+
samm:dataType xsd:float ;
84+
samm-c:unit unit:metre .

0 commit comments

Comments
 (0)