Commit 3c989f93 authored by Jérome Perrin's avatar Jérome Perrin

allow configuring operationType on job shop machines

parent 9f11b64b
...@@ -77,6 +77,13 @@ schema = { ...@@ -77,6 +77,13 @@ schema = {
"_class": "Dream.Property", "_class": "Dream.Property",
"_default": "None" "_default": "None"
}, },
"operationType": {
"id": "operationType",
"type": "string",
"name": "Operation Type",
"_class": "Dream.Property",
"_default": "Processing"
},
"isDummy": { "isDummy": {
"id": "isDummy", "id": "isDummy",
"type": "string", "type": "string",
......
...@@ -16,7 +16,8 @@ class Simulation(ACO.Simulation): ...@@ -16,7 +16,8 @@ class Simulation(ACO.Simulation):
conf["Dream-MachineManagedJob"] = { conf["Dream-MachineManagedJob"] = {
"property_list": [ "property_list": [
schema["processingTime"], schema["processingTime"],
schema["failures"] schema["failures"],
schema["operationType"]
], ],
"_class": 'Dream.MachineManagedJob', "_class": 'Dream.MachineManagedJob',
"name": 'Machine' "name": 'Machine'
...@@ -24,7 +25,8 @@ class Simulation(ACO.Simulation): ...@@ -24,7 +25,8 @@ class Simulation(ACO.Simulation):
conf["Dream-MouldAssembly"] = { conf["Dream-MouldAssembly"] = {
"property_list": [ "property_list": [
schema["processingTime"], schema["processingTime"],
schema["failures"] schema["failures"],
schema["operationType"]
], ],
"_class": 'Dream.MouldAssembly', "_class": 'Dream.MouldAssembly',
"name": 'MouldAss' "name": 'MouldAss'
......
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