Commit 91f17848 authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Jérome Perrin

example of defining operation types in a more straightforward type

parent 5ca16831
......@@ -314,25 +314,14 @@
]
},
"_operationType": {
"_class": "Dream.PropertyList",
"name": "Operation type",
"id": "operationType",
"description": "the type of operations that are performed manually in the machine",
"properties": {
"operationType": {
"default": "Automatic",
"type": "string",
"enum": [
"Load",
"Setup",
"Processing",
"MT-Load",
"MT-Load-Setup",
"MT-Load-Setup-Processing",
"MT-Setup-Processing"
"enum" : [
"Automatic",
"Manual"
]
}
}
}
},
"edge": {
"description": "Base definition for edge",
......@@ -479,6 +468,26 @@
"default": "M",
"required": true
},
"loadType": {
"$ref": "#/definitions/_operationType",
"required": true
},
"setupType": {
"$ref": "#/definitions/_operationType",
"required": true
},
"processingType": {
"$ref": "#/definitions/_operationType",
"required": true
},
"loadTime": {
"$ref": "#/definitions/_dist",
"required": true
},
"setupTime": {
"$ref": "#/definitions/_dist",
"required": true
},
"processingTime": {
"$ref": "#/definitions/_dist",
"required": true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment