Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
3c511b38
Commit
3c511b38
authored
Aug 26, 2014
by
Ioannis Papagiannopoulos
Committed by
Jérome Perrin
Feb 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ConditionalBuffer rename
parent
d11cf3b8
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
17 additions
and
17 deletions
+17
-17
dream/simulation/ConditionalBufferManaged.py
dream/simulation/ConditionalBufferManaged.py
+1
-1
dream/simulation/JSONInputs/Topology40.json
dream/simulation/JSONInputs/Topology40.json
+1
-1
dream/simulation/JSONInputs/Topology41.json
dream/simulation/JSONInputs/Topology41.json
+1
-1
dream/simulation/JSONInputs/Topology57.json
dream/simulation/JSONInputs/Topology57.json
+1
-1
dream/simulation/JSONInputs/Topology58.json
dream/simulation/JSONInputs/Topology58.json
+1
-1
dream/simulation/JSONInputs/Topology59.json
dream/simulation/JSONInputs/Topology59.json
+1
-1
dream/simulation/JSONInputs/Topology61.json
dream/simulation/JSONInputs/Topology61.json
+1
-1
dream/simulation/JSONInputs/Topology62.json
dream/simulation/JSONInputs/Topology62.json
+1
-1
dream/simulation/JSONInputs/Topology66.json
dream/simulation/JSONInputs/Topology66.json
+1
-1
dream/simulation/JSONInputs/Topology67.json
dream/simulation/JSONInputs/Topology67.json
+1
-1
dream/simulation/JSONInputs/Topology68.json
dream/simulation/JSONInputs/Topology68.json
+1
-1
dream/simulation/JSONInputs/Topology70.json
dream/simulation/JSONInputs/Topology70.json
+1
-1
dream/simulation/JSONInputs/Topology71.json
dream/simulation/JSONInputs/Topology71.json
+1
-1
dream/simulation/JSONInputs/Topology72.json
dream/simulation/JSONInputs/Topology72.json
+1
-1
dream/simulation/JSONInputs/Topology73.json
dream/simulation/JSONInputs/Topology73.json
+1
-1
dream/simulation/MouldAssemblyBuffer.py
dream/simulation/MouldAssemblyBuffer.py
+1
-1
dream/simulation/imports.py
dream/simulation/imports.py
+1
-1
No files found.
dream/simulation/ConditionalBuffer.py
→
dream/simulation/ConditionalBuffer
Managed
.py
View file @
3c511b38
...
...
@@ -37,7 +37,7 @@ class NoCallerError(Exception):
# ===========================================================================
# the ConditionalBuffer object
# ===========================================================================
class
ConditionalBuffer
(
QueueManagedJob
):
class
ConditionalBuffer
Managed
(
QueueManagedJob
):
# =======================================================================
# the default __init__ method of the QueueManagedJob class
# whereas the default capacity is set to infinity
...
...
dream/simulation/JSONInputs/Topology40.json
View file @
3c511b38
...
...
@@ -17,7 +17,7 @@
"name"
:
"Assembly Buffer"
},
"CB1"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"isDummy"
:
"0"
,
"name"
:
"Conditional Buffer"
},
...
...
dream/simulation/JSONInputs/Topology41.json
View file @
3c511b38
...
...
@@ -17,7 +17,7 @@
"name"
:
"Assembly Buffer"
},
"CB1"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"isDummy"
:
"0"
,
"name"
:
"Conditional Buffer"
},
...
...
dream/simulation/JSONInputs/Topology57.json
View file @
3c511b38
...
...
@@ -328,7 +328,7 @@
]
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"capacity"
:
-1
,
"isDummy"
:
"0"
,
"name"
:
"Queue CAM"
...
...
dream/simulation/JSONInputs/Topology58.json
View file @
3c511b38
...
...
@@ -565,7 +565,7 @@
]
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"capacity"
:
-1
,
"isDummy"
:
"0"
,
"name"
:
"Queue CAM"
...
...
dream/simulation/JSONInputs/Topology59.json
View file @
3c511b38
...
...
@@ -560,7 +560,7 @@
]
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"capacity"
:
-1
,
"isDummy"
:
"0"
,
"name"
:
"Queue CAM"
...
...
dream/simulation/JSONInputs/Topology61.json
View file @
3c511b38
...
...
@@ -563,7 +563,7 @@
]
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"capacity"
:
"-1"
,
"isDummy"
:
"0"
,
"name"
:
"Queue CAM"
...
...
dream/simulation/JSONInputs/Topology62.json
View file @
3c511b38
...
...
@@ -563,7 +563,7 @@
]
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"capacity"
:
"-1"
,
"isDummy"
:
"0"
,
"name"
:
"Queue CAM"
...
...
dream/simulation/JSONInputs/Topology66.json
View file @
3c511b38
...
...
@@ -856,7 +856,7 @@
"name"
:
"Order Decomposition"
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"name"
:
"Queue CAM"
,
"isDummy"
:
"0"
,
"capacity"
:
"-1"
...
...
dream/simulation/JSONInputs/Topology67.json
View file @
3c511b38
...
...
@@ -1103,7 +1103,7 @@
"name"
:
"Order Decomposition"
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"name"
:
"Queue CAM"
,
"isDummy"
:
"0"
,
"schedulingRule"
:
"Priority"
,
...
...
dream/simulation/JSONInputs/Topology68.json
View file @
3c511b38
...
...
@@ -1102,7 +1102,7 @@
"name"
:
"Order Decomposition"
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"name"
:
"Queue CAM"
,
"isDummy"
:
"0"
,
"capacity"
:
"-1"
...
...
dream/simulation/JSONInputs/Topology70.json
View file @
3c511b38
...
...
@@ -816,7 +816,7 @@
"name"
:
"Order Decomposition"
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"name"
:
"Queue CAM"
,
"isDummy"
:
"0"
,
"capacity"
:
"-1"
...
...
dream/simulation/JSONInputs/Topology71.json
View file @
3c511b38
...
...
@@ -816,7 +816,7 @@
"name"
:
"Order Decomposition"
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"name"
:
"Queue CAM"
,
"isDummy"
:
"0"
,
"capacity"
:
"-1"
...
...
dream/simulation/JSONInputs/Topology72.json
View file @
3c511b38
...
...
@@ -788,7 +788,7 @@
"name"
:
"Order Decomposition"
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"name"
:
"Queue CAM"
,
"isDummy"
:
"0"
,
"capacity"
:
"-1"
...
...
dream/simulation/JSONInputs/Topology73.json
View file @
3c511b38
...
...
@@ -1103,7 +1103,7 @@
"name"
:
"Order Decomposition"
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"_class"
:
"Dream.ConditionalBuffer
Managed
"
,
"name"
:
"Queue CAM"
,
"isDummy"
:
"0"
,
"schedulingRule"
:
"Priority"
,
...
...
dream/simulation/MouldAssemblyBuffer.py
View file @
3c511b38
...
...
@@ -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__
==
'ConditionalBuffer
Managed
'
:
# print now(), self.id, ' signalling conditional buffer'
if
secondary
.
currentStation
.
expectedSignals
[
'canDispose'
]:
self
.
sendSignal
(
receiver
=
secondary
.
currentStation
,
signal
=
secondary
.
currentStation
.
canDispose
)
...
...
dream/simulation/imports.py
View file @
3c511b38
...
...
@@ -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.ConditionalBuffer
Managed
import
ConditionalBufferManaged
from
dream.simulation.LineClearance
import
LineClearance
from
dream.simulation.MachineManagedJob
import
MachineManagedJob
from
dream.simulation.QueueManagedJob
import
QueueManagedJob
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment