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
6c116a66
Commit
6c116a66
authored
Sep 29, 2014
by
Ioannis Papagiannopoulos
Committed by
Jérome Perrin
Feb 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extra cotrol for selection of pending entities
parent
4dc6b415
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dream/simulation/OperatorRouter.py
dream/simulation/OperatorRouter.py
+1
-1
No files found.
dream/simulation/OperatorRouter.py
View file @
6c116a66
...
@@ -257,7 +257,7 @@ class Router(ObjectInterruption):
...
@@ -257,7 +257,7 @@ class Router(ObjectInterruption):
if
entity
.
currentStation
.
getActiveObjectQueue
().
index
(
entity
)
==
0
:
if
entity
.
currentStation
.
getActiveObjectQueue
().
index
(
entity
)
==
0
:
# check the next stations
# check the next stations
for
machine
in
entity
.
currentStation
.
next
:
for
machine
in
entity
.
currentStation
.
next
:
if
machine
in
G
.
MachineList
and
entity
.
checkIfRequiredPartsReady
():
if
machine
in
G
.
MachineList
and
entity
.
checkIfRequiredPartsReady
()
and
entity
.
currentStation
.
haveToDispose
()
:
if
any
(
type
==
'Load'
for
type
in
machine
.
multOperationTypeList
)
and
not
entity
.
currentStation
in
self
.
pendingQueues
:
if
any
(
type
==
'Load'
for
type
in
machine
.
multOperationTypeList
)
and
not
entity
.
currentStation
in
self
.
pendingQueues
:
self
.
pendingQueues
.
append
(
entity
.
currentStation
)
self
.
pendingQueues
.
append
(
entity
.
currentStation
)
self
.
pending
.
append
(
entity
)
self
.
pending
.
append
(
entity
)
...
...
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