Commit 673e78d6 authored by Georgios Dagkakis's avatar Georgios Dagkakis

BatchScrapMachine to pass canDeliverOnInterruption to Machine

parent be2056f8
......@@ -45,7 +45,8 @@ class BatchScrapMachine(Machine):
# =======================================================================
def __init__(self, id, name, capacity=1, \
processingTime=None, repairman='None',\
scrapQuantity={}, **kw):
scrapQuantity={},
canDeliverOnInterruption=False, **kw):
if not processingTime:
processingTime = {'distributionType': 'Fixed',
'mean': 1}
......@@ -53,7 +54,8 @@ class BatchScrapMachine(Machine):
Machine.__init__(self,id=id,name=name,\
capacity=capacity,\
processingTime=processingTime,
repairman=repairman)
repairman=repairman,
canDeliverOnInterruption=canDeliverOnInterruption)
# set the attributes of the scrap quantity distribution
if not scrapQuantity:
......
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