-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shopfloor information types2 #257
Merged
bs-jokri
merged 6 commits into
eclipse-tractusx:main
from
wehrstedt-jan:ShopfloorInformationTypes2
Sep 4, 2023
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
039ec26
first version of ShopfloorInformationTypes
wehrstedt-jan e76905b
pull request get production forecast
wehrstedt-jan cb86682
update of common data after review
wehrstedt-jan b05aa6a
metadata added
wehrstedt-jan 05cebba
fix: message header prefix
dominikoeh c447a2d
Merge branch 'main' into pr/257
bs-jokri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
87 changes: 87 additions & 0 deletions
87
io.catenax.shared.shopfloor_information_types/1.0.0/ShopfloorInformationTypes.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
########################################################################################## | ||
# Copyright (c) 2023 Fraunhofer Institute of Optronics, System Technology and Image Exploitation (IOSB) | ||
# Copyright (c) 2023 Siemens AG | ||
# Copyright (c) 2023 Contributors to the Eclipse Foundation | ||
# | ||
# See the NOTICE file(s) distributed with this work for additional | ||
# information regarding copyright ownership. | ||
# | ||
# This work is made available under the terms of the | ||
# Creative Commons Attribution 4.0 International (CC-BY-4.0) license, | ||
# which is available at | ||
# https://creativecommons.org/licenses/by/4.0/legalcode. | ||
# | ||
# SPDX-License-Identifier: CC-BY-4.0 | ||
########################################################################################## | ||
@prefix samm: <urn:samm:org.eclipse.esmf.samm:meta-model:2.0.0#> . | ||
@prefix samm-c: <urn:samm:org.eclipse.esmf.samm:characteristic:2.0.0#> . | ||
@prefix samm-e: <urn:samm:org.eclipse.esmf.samm:entity:2.0.0#> . | ||
@prefix unit: <urn:samm:org.eclipse.esmf.samm:unit:2.0.0#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix : <urn:samm:io.catenax.shared.shopfloor_information_types:1.0.0#> . | ||
@prefix ext-header: <urn:samm:io.catenax.shared.message_header:1.0.0#> . | ||
|
||
:ShopfloorInformationTypes a samm:Aspect ; | ||
samm:preferredName "Shopfloor Information Types"@en ; | ||
samm:description "Collection of types used in multiple data models of the Shopfloor Information Service"@en ; | ||
samm:properties ( :communicationMode :versionDataModel :timeValue ) ; | ||
samm:operations ( ) ; | ||
samm:events ( ) . | ||
|
||
:communicationMode a samm:Property ; | ||
samm:preferredName "Communication Mode"@en ; | ||
samm:description "Specification of the communication mode"@en ; | ||
samm:characteristic :CommunicationModeEnum ; | ||
samm:exampleValue "synchronous" . | ||
|
||
:versionDataModel a samm:Property ; | ||
samm:preferredName "Version Data Model"@en ; | ||
samm:description "Specifies the used version of the data model"@en ; | ||
samm:characteristic ext-header:BpnCharacteristic ; | ||
samm:exampleValue "urn:samm:io.catenax.shared.shopfloor_information_types:1.0.0" . | ||
|
||
:timeValue a samm:Property ; | ||
samm:preferredName "Time Value"@en ; | ||
samm:description "A time Value property"@en ; | ||
samm:characteristic :TimeValueCharacteristic . | ||
|
||
:CommunicationModeEnum a samm-c:Enumeration ; | ||
samm:preferredName "Communication Mode Enumeration"@en ; | ||
samm:description "Enumerates all possible communication modes"@en ; | ||
samm:dataType xsd:string ; | ||
samm-c:values ( "synchronous" "cyclic" "notification" ) . | ||
|
||
:TimeValueCharacteristic a samm:Characteristic ; | ||
samm:preferredName "Time Value Characteristic"@en ; | ||
samm:description "Link to the TimeUnit Data Type"@en ; | ||
samm:dataType :TimeValue . | ||
|
||
:TimeValue a samm:Entity ; | ||
samm:preferredName "Time Value"@en ; | ||
samm:description "Datatype to express a time value"@en ; | ||
samm:properties ( :timeUnit :value ) . | ||
|
||
:timeUnit a samm:Property ; | ||
samm:preferredName "Time Unit"@en ; | ||
samm:description "Specifies the unit in which the time is represented"@en ; | ||
samm:characteristic :TimeUnitEnum . | ||
|
||
:value a samm:Property ; | ||
samm:preferredName "Value"@en ; | ||
samm:description "The amount of timeUnits considered"@en ; | ||
samm:characteristic :IntegerValueCharacteristic ; | ||
samm:exampleValue 12 . | ||
|
||
:TimeUnitEnum a samm-c:Enumeration ; | ||
samm:preferredName "Time Unit Enum"@en ; | ||
samm:description "Enumerates all time units"@en ; | ||
samm:dataType samm:curie ; | ||
samm-c:values ( "unit:secondUnitOfTime"^^samm:curie "unit:minuteUnitOfTime"^^samm:curie "unit:hour"^^samm:curie "unit:day"^^samm:curie "unit:week"^^samm:curie "unit:month"^^samm:curie "unit:year"^^samm:curie ) . | ||
|
||
:IntegerValueCharacteristic a samm:Characteristic ; | ||
samm:preferredName "Integer Value Characteristic"@en ; | ||
samm:description "The value of the specified timeUnit as an integer value"@en ; | ||
samm:dataType xsd:integer . | ||
|
1 change: 1 addition & 0 deletions
1
io.catenax.shared.shopfloor_information_types/1.0.0/metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{ "status" : "release" } |
7 changes: 7 additions & 0 deletions
7
io.catenax.shared.shopfloor_information_types/RELEASE_NOTES.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Changelog | ||
|
||
All notable changes to this model will be documented in this file. | ||
|
||
## [1.0.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. don't forget to add the date of the MS3 approval to the RELEASE_NOTES once it is MS3 approved |
||
|
||
- initial version of the aspect model for ShopfloorInformationTypes |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked the use of curies. this way it is correct. The curie type is from the SAMM meta model.