-
Notifications
You must be signed in to change notification settings - Fork 47
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
[Model Update] Provide Production Forecast #554
Merged
agg3fe
merged 5 commits into
eclipse-tractusx:main
from
FlorianDue:provide_production_forecast
Jan 31, 2024
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
1619535
version 2.0.0
FlorianDue 5d209ad
remove spaces, set version 1.0.0 to deprecated and set same meta mode…
FlorianDue e664ec3
correct namespace name in version 1.0.0 so that it corresponds to the…
FlorianDue d04808e
correct release status in version 1.0.0
FlorianDue c3b09b2
update version to 2.1.0
FlorianDue 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
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
130 changes: 130 additions & 0 deletions
130
...nax.shopfloor_information.provide_production_forecast/2.0.0/ProvideProductionForecast.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,130 @@ | ||
########################################################################################## | ||
# Copyright (c) 2023-2024 Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. (represented by Fraunhofer IOSB & Fraunhofer IWU & Fraunhofer IPA) | ||
# Copyright (c) 2023-2024 Siemens AG | ||
# Copyright (c) 2023-2024 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.shopfloor_information.production_forecast_response:2.0.0#> . | ||
@prefix ext-header2: <urn:samm:io.catenax.shared.message_header:2.0.0#> . | ||
@prefix ext-types2: <urn:samm:io.catenax.shared.shopfloor_information_types:2.0.0#> . | ||
@prefix ext-uuid: <urn:samm:io.catenax.shared.uuid:1.0.0#> . | ||
|
||
:ProvideProductionForecast a samm:Aspect ; | ||
samm:preferredName "Provide Production Forecast"@en ; | ||
samm:description "Answer to a customer with all information about the requested items"@en ; | ||
samm:properties ( :productionForecastResponse ext-header2:header ) ; | ||
samm:operations ( ) ; | ||
samm:events ( ) . | ||
|
||
:productionForecastResponse a samm:Property ; | ||
samm:preferredName "Production Forecast Response"@en ; | ||
samm:description "The concrete information about a production forecast"@en ; | ||
samm:characteristic :ProductionForecastCharacteristic . | ||
|
||
:ProductionForecastCharacteristic a samm:Characteristic ; | ||
samm:preferredName "Production Forecast Characteristic"@en ; | ||
samm:description "All Data that is related to a production forecast"@en ; | ||
samm:dataType :ProductionForecastItem . | ||
|
||
:ProductionForecastItem a samm:Entity ; | ||
samm:preferredName "Production Forecast Item"@en ; | ||
samm:description "Datamodel of the concrete production forecast for one forecast item"@en ; | ||
samm:properties ( :listOfForecastItems [ samm:property :iterationNumber; samm:optional true ] ext-types2:communicationMode ext-header2:version ) . | ||
|
||
:listOfForecastItems a samm:Property ; | ||
samm:preferredName "List Of Forecast Items"@en ; | ||
samm:description "List of ForecastItems matching the items to an order"@en ; | ||
samm:characteristic :ForecastItemList . | ||
|
||
:iterationNumber a samm:Property ; | ||
samm:preferredName "Iteration Number"@en ; | ||
samm:description "Only set in CommunicationMode == \"notification/cyclic\" to be able to check the order of the notifications. \n\nNot required for communication mode = \"synchronous\""@en ; | ||
samm:characteristic ext-types2:IntegerValueCharacteristic ; | ||
samm:exampleValue 6 . | ||
|
||
:ForecastItemList a samm-c:List ; | ||
samm:preferredName "Forecast Item List"@en ; | ||
samm:description "List with the forecast items"@en ; | ||
samm:dataType :ForecastItem . | ||
|
||
:ForecastItem a samm:Entity ; | ||
samm:preferredName "Forecast Item"@en ; | ||
samm:description "ForecastItem entry for the requested order"@en ; | ||
samm:properties ( :positionId :productionForecast :precisionOfForecast :productionStatus [ samm:property :reasonsForDelay; samm:optional true ] :returnCode :forecastDate ) . | ||
|
||
:positionId a samm:Property ; | ||
samm:preferredName "Position Id"@en ; | ||
samm:description "Identifier of a position of an order"@en ; | ||
samm:characteristic ext-uuid:UuidV4Trait ; | ||
samm:exampleValue "00000000-0000-0000-C000-000000000046" . | ||
|
||
:productionForecast a samm:Property ; | ||
samm:preferredName "Production Forecast"@en ; | ||
samm:description "Date of completion"@en ; | ||
samm:characteristic samm-c:Timestamp ; | ||
samm:exampleValue "2023-06-19T21:24:00+07:00"^^xsd:dateTime . | ||
|
||
:precisionOfForecast a samm:Property ; | ||
samm:preferredName "Precision Of Forecast"@en ; | ||
samm:description "Accuracy of the prediction"@en ; | ||
samm:characteristic ext-types2:TimeValueCharacteristic . | ||
|
||
:productionStatus a samm:Property ; | ||
samm:preferredName "Production Status"@en ; | ||
samm:description "Status of the order/position within MP"@en ; | ||
samm:characteristic :ProductionStatusEnum ; | ||
samm:exampleValue "itemPlanned" . | ||
|
||
:reasonsForDelay a samm:Property ; | ||
samm:preferredName "Reasons For Delay"@en ; | ||
samm:description "Optional field to provide information to the customer why a delivery date is not met"@en ; | ||
samm:characteristic :ReasonsForDelayEnum ; | ||
samm:exampleValue "supplyProblems" . | ||
|
||
:returnCode a samm:Property ; | ||
samm:preferredName "Return Code"@en ; | ||
samm:description "Return code that indicates whether a single item of an order matches the customers desired request"@en ; | ||
samm:characteristic :ReturnCodeEnum ; | ||
samm:exampleValue "ok" . | ||
|
||
:forecastDate a samm:Property ; | ||
samm:preferredName "Forecast Date"@en ; | ||
samm:description "Date/time of the forecast calculation"@en ; | ||
samm:characteristic samm-c:Timestamp ; | ||
samm:exampleValue "2023-06-19T21:24:00+07:00"^^xsd:dateTime . | ||
|
||
:ProductionStatusEnum a samm-c:Enumeration ; | ||
samm:preferredName "Production Status Enumeration"@en ; | ||
samm:description "Enumeration with all possible states of an order within MP"@en ; | ||
samm:dataType xsd:string ; | ||
samm-c:values ( "itemReceived" "itemPlanned" "itemInProduction" "itemCompleted" "statusUndefined" ) . | ||
|
||
:ReasonsForDelayEnum a samm-c:Enumeration ; | ||
samm:preferredName "Reasons for Delay Enum"@en ; | ||
samm:description "Enum that specifies reasons for a delay of an order"@en ; | ||
samm:dataType xsd:string ; | ||
samm-c:values ( "supplyProblems" "otherCircumstances" "internalProblems" "noInformationAvailable" ) . | ||
|
||
:ReturnCodeEnum a samm-c:Enumeration ; | ||
samm:preferredName "Return Code Enumeration"@en ; | ||
samm:description "Enumeration with all Return Codes"@en ; | ||
samm:dataType xsd:string ; | ||
samm-c:values ( "ok" "lowerAccuracyOfPrecision" "noForecastAvailable" ) . | ||
|
1 change: 1 addition & 0 deletions
1
io.catenax.shopfloor_information.provide_production_forecast/2.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" } |
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
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.
here also please correct the namespace of aspect, to make it similar with folder name.