Commit 01c103d8 authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Georgios Dagkakis

cherry-pick from readWIPseperatelly. new Router specific for the ManagedJob...

cherry-pick from readWIPseperatelly. new Router specific for the ManagedJob Machine case, inherits from simple Router
parent b459544f
...@@ -31,7 +31,7 @@ import simpy ...@@ -31,7 +31,7 @@ import simpy
from OperatedPoolBroker import Broker from OperatedPoolBroker import Broker
from OperatorPool import OperatorPool from OperatorPool import OperatorPool
from OperatorRouter import Router from OperatorRouterManaged import RouterManaged
from MachineJobShop import MachineJobShop from MachineJobShop import MachineJobShop
# =========================================================================== # ===========================================================================
...@@ -73,7 +73,7 @@ class MachineManagedJob(MachineJobShop): ...@@ -73,7 +73,7 @@ class MachineManagedJob(MachineJobShop):
#create a Router #create a Router
from Globals import G from Globals import G
if not G.Router: if not G.Router:
self.router=Router() self.router=RouterManaged()
G.Router=self.router G.Router=self.router
# otherwise set the already existing router as the machines Router # otherwise set the already existing router as the machines Router
else: else:
......
This diff is collapsed.
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