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
6ed62573
Commit
6ed62573
authored
Apr 19, 2014
by
Ioannis Papagiannopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor corrections to MachineManagedJob
parent
a5eab28d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dream/simulation/MachineManagedJob.py
dream/simulation/MachineManagedJob.py
+4
-4
No files found.
dream/simulation/MachineManagedJob.py
View file @
6ed62573
...
...
@@ -122,8 +122,8 @@ class MachineManagedJob(MachineJobShop):
#===============================================================
if
activeObject
.
checkIfActive
()
and
len
(
activeObjectQueue
)
<
activeObject
.
capacity
\
and
activeObject
.
checkOperator
()
\
and
not
giverObject
.
exitIsAssigned
():
giverObject
.
assignExit
()
and
not
giverObject
.
exitIsAssigned
To
():
giverObject
.
assignExit
To
()
# if the activeObject is not in manager's activeCallersList of the entityToGet
if
activeObject
not
in
giverObjectQueue
[
0
].
manager
.
activeCallersList
:
# append it to the activeCallerList of the manager of the entity to be received
...
...
@@ -159,8 +159,8 @@ class MachineManagedJob(MachineJobShop):
# the entityToGet should be updated
if
activeObject
.
checkIfActive
()
and
len
(
activeObjectQueue
)
<
activeObject
.
capacity
:
#\
# and self.checkOperator()\
# and not activeObject.giver.exitIsAssigned():
# activeObject.giver.assignExit()
# and not activeObject.giver.exitIsAssigned
To
():
# activeObject.giver.assignExit
To
()
# # if the activeObject is not in manager's activeCallersList of the entityToGet
# if self not in activeObject.giver.getActiveObjectQueue()[0].manager.activeCallersList:
# # append it to the activeCallerList of the manager of the entity to be received
...
...
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