Commit f9504d56 authored by Georgios Dagkakis's avatar Georgios Dagkakis

MachineManagedJob and MachineJobShop updated

parent 97a2b87d
This diff is collapsed.
...@@ -31,6 +31,15 @@ from Machine import Machine ...@@ -31,6 +31,15 @@ from Machine import Machine
# the MachineJobShop object # the MachineJobShop object
# =========================================================================== # ===========================================================================
class MachineJobShop(Machine): class MachineJobShop(Machine):
# =======================================================================
# parses inputs if they are given in a dictionary
# =======================================================================
def parseInputs(self, inputsDict):
Machine.parseInputs(self, inputsDict)
from Globals import G
G.MachineJobShopList.append(self)
# ======================================================================= # =======================================================================
# set all the objects in previous and next # set all the objects in previous and next
# ======================================================================= # =======================================================================
......
...@@ -39,6 +39,14 @@ from MachineJobShop import MachineJobShop ...@@ -39,6 +39,14 @@ from MachineJobShop import MachineJobShop
# =========================================================================== # ===========================================================================
class MachineManagedJob(MachineJobShop): class MachineManagedJob(MachineJobShop):
# =======================================================================
# parses inputs if they are given in a dictionary
# =======================================================================
def parseInputs(self, inputsDict):
MachineJobShop.parseInputs(self, inputsDict)
from Globals import G
G.MachineManagedJobList.append(self)
# ======================================================================= # =======================================================================
# initialise the MachineManagedJob # initialise the MachineManagedJob
# ======================================================================= # =======================================================================
......
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