Commit 608fdb3a authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Georgios Dagkakis

ConditionalBuffer rename

parent 2d75bae7
......@@ -37,7 +37,7 @@ class NoCallerError(Exception):
# ===========================================================================
# the ConditionalBuffer object
# ===========================================================================
class ConditionalBuffer(QueueManagedJob):
class ConditionalBufferManaged(QueueManagedJob):
# =======================================================================
# the default __init__ method of the QueueManagedJob class
# whereas the default capacity is set to infinity
......
......@@ -17,7 +17,7 @@
"name": "Assembly Buffer"
},
"CB1": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"isDummy": "0",
"name": "Conditional Buffer"
},
......
......@@ -17,7 +17,7 @@
"name": "Assembly Buffer"
},
"CB1": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"isDummy": "0",
"name": "Conditional Buffer"
},
......
......@@ -328,7 +328,7 @@
]
},
"QCAM": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"capacity": -1,
"isDummy": "0",
"name": "Queue CAM"
......
......@@ -565,7 +565,7 @@
]
},
"QCAM": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"capacity": -1,
"isDummy": "0",
"name": "Queue CAM"
......
......@@ -560,7 +560,7 @@
]
},
"QCAM": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"capacity": -1,
"isDummy": "0",
"name": "Queue CAM"
......
......@@ -563,7 +563,7 @@
]
},
"QCAM": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"capacity": "-1",
"isDummy": "0",
"name": "Queue CAM"
......
......@@ -563,7 +563,7 @@
]
},
"QCAM": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"capacity": "-1",
"isDummy": "0",
"name": "Queue CAM"
......
......@@ -856,7 +856,7 @@
"name": "Order Decomposition"
},
"QCAM": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"name": "Queue CAM",
"isDummy": "0",
"capacity": "-1"
......
......@@ -1103,7 +1103,7 @@
"name": "Order Decomposition"
},
"QCAM": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"name": "Queue CAM",
"isDummy": "0",
"schedulingRule": "Priority",
......
......@@ -1102,7 +1102,7 @@
"name": "Order Decomposition"
},
"QCAM": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"name": "Queue CAM",
"isDummy": "0",
"capacity": "-1"
......
......@@ -816,7 +816,7 @@
"name": "Order Decomposition"
},
"QCAM": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"name": "Queue CAM",
"isDummy": "0",
"capacity": "-1"
......
......@@ -816,7 +816,7 @@
"name": "Order Decomposition"
},
"QCAM": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"name": "Queue CAM",
"isDummy": "0",
"capacity": "-1"
......
......@@ -788,7 +788,7 @@
"name": "Order Decomposition"
},
"QCAM": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"name": "Queue CAM",
"isDummy": "0",
"capacity": "-1"
......
......@@ -1103,7 +1103,7 @@
"name": "Order Decomposition"
},
"QCAM": {
"_class": "Dream.ConditionalBuffer",
"_class": "Dream.ConditionalBufferManaged",
"name": "Queue CAM",
"isDummy": "0",
"schedulingRule": "Priority",
......
......@@ -108,7 +108,7 @@ class MouldAssemblyBuffer(QueueManagedJob):
activeEntity.order.basicsEnded = 1
# TODO: has to signal ConditionalBuffer to start sending entities again
for secondary in [x for x in activeEntity.order.secondaryComponentsList if activeEntity.order.basicsEnded]:
if secondary.currentStation.__class__.__name__=='ConditionalBuffer':
if secondary.currentStation.__class__.__name__=='ConditionalBufferManaged':
# print now(), self.id, ' signalling conditional buffer'
if secondary.currentStation.expectedSignals['canDispose']:
self.sendSignal(receiver=secondary.currentStation,signal=secondary.currentStation.canDispose)
......
......@@ -49,7 +49,7 @@ from dream.simulation.BatchSource import BatchSource
from dream.simulation.BatchDecomposition import BatchDecomposition
from dream.simulation.BatchReassembly import BatchReassembly
from dream.simulation.BatchScrapMachine import BatchScrapMachine
from dream.simulation.ConditionalBuffer import ConditionalBuffer
from dream.simulation.ConditionalBufferManaged import ConditionalBufferManaged
from dream.simulation.LineClearance import LineClearance
from dream.simulation.MachineManagedJob import MachineManagedJob
from dream.simulation.QueueManagedJob import QueueManagedJob
......
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