Commit 5ead4d0a authored by Sebastien Robin's avatar Sebastien Robin

JobShop GUI: display nice names in the toolbox

parent 6bfeac15
......@@ -16,7 +16,8 @@ class Simulation(ACO.Simulation):
schema["processingTime"],
schema["failures"]
],
"_class": 'Dream.MachineJobShop'
"_class": 'Dream.MachineJobShop',
"name": 'Machine'
}
conf["Dream-QueueJobShop"] = {
"property_list": [
......@@ -24,15 +25,22 @@ class Simulation(ACO.Simulation):
schema["isDummy"],
schema["schedulingRule"]
],
"_class": 'Dream.QueueJobShop'
"_class": 'Dream.QueueJobShop',
"name": 'Job'
}
conf["Dream-ExitJobShop"] = {
"_class": 'Dream.ExitJobShop'
"_class": 'Dream.ExitJobShop',
"name": 'Exit'
}
# XXX remove default machines etc ?
conf["Dream-Configuration"]["gui"]["wip_spreadsheet"] = 1
conf["Dream-Configuration"]["gui"]["job_schedule_spreadsheet"] = 1
conf["Dream-Configuration"]["gui"]["job_gantt"] = 1
# remove tools that does not make sense here
conf.pop('Dream-Machine')
conf.pop('Dream-Queue')
conf.pop('Dream-Exit')
return conf
def _preprocess(self, in_data):
......
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