example of defining operation types in a more straightforward type

parent c5ed4d28
...@@ -314,25 +314,14 @@ ...@@ -314,25 +314,14 @@
] ]
}, },
"_operationType": { "_operationType": {
"_class": "Dream.PropertyList",
"name": "Operation type",
"id": "operationType",
"description": "the type of operations that are performed manually in the machine", "description": "the type of operations that are performed manually in the machine",
"properties": { "default": "Automatic",
"operationType": {
"type": "string", "type": "string",
"enum": [ "enum" : [
"Load", "Automatic",
"Setup", "Manual"
"Processing",
"MT-Load",
"MT-Load-Setup",
"MT-Load-Setup-Processing",
"MT-Setup-Processing"
] ]
} }
}
}
}, },
"edge": { "edge": {
"description": "Base definition for edge", "description": "Base definition for edge",
...@@ -479,6 +468,26 @@ ...@@ -479,6 +468,26 @@
"default": "M", "default": "M",
"required": true "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": { "processingTime": {
"$ref": "#/definitions/_dist", "$ref": "#/definitions/_dist",
"required": true "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