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
ccd75d77
Commit
ccd75d77
authored
Sep 24, 2014
by
Ioannis Papagiannopoulos
Committed by
Georgios Dagkakis
Oct 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
singalling in case of requiredParts sequence conclusion corrected
parent
8d5b2ca6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dream/simulation/ConditionalBuffer.py
dream/simulation/ConditionalBuffer.py
+1
-1
dream/simulation/ExitJobShop.py
dream/simulation/ExitJobShop.py
+1
-1
No files found.
dream/simulation/ConditionalBuffer.py
View file @
ccd75d77
...
...
@@ -64,7 +64,7 @@ class ConditionalBuffer(QueueJobShop):
# if the activeEntity is in the requierdParts of the entity
if
activeEntity
in
requiredParts
:
# if the entity that requires the activeEntity can proceed then signal the currentStation of the entity
if
entity
.
checkIfRequiredPartsReady
():
if
entity
.
checkIfRequiredPartsReady
()
and
entity
.
currentStation
.
expectedSignals
[
'canDispose'
]
:
entity
.
mayProceed
=
True
self
.
sendSignal
(
receiver
=
entity
.
currentStation
,
signal
=
entity
.
currentStation
.
canDispose
)
return
activeEntity
...
...
dream/simulation/ExitJobShop.py
View file @
ccd75d77
...
...
@@ -75,7 +75,7 @@ class ExitJobShop(Exit):
# if the activeEntity is in the requierdParts of the entity
if
activeEntity
in
requiredParts
:
# if the entity that requires the activeEntity can proceed then signal the currentStation of the entity
if
entity
.
checkIfRequiredPartsReady
():
if
entity
.
checkIfRequiredPartsReady
()
and
entity
.
currentStation
.
expectedSignals
[
'canDispose'
]
:
self
.
sendSignal
(
receiver
=
entity
.
currentStation
,
signal
=
entity
.
currentStation
.
canDispose
)
return
activeEntity
\ No newline at end of file
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