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
ac8e2b48
Commit
ac8e2b48
authored
Mar 03, 2014
by
Ioannis Papagiannopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CoreObject getEntity refining
parent
2118af98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
dream/simulation/CoreObject.py
dream/simulation/CoreObject.py
+4
-2
No files found.
dream/simulation/CoreObject.py
View file @
ac8e2b48
...
@@ -216,9 +216,11 @@ class CoreObject(Process):
...
@@ -216,9 +216,11 @@ class CoreObject(Process):
# perform preemption when required
# perform preemption when required
# if the object is not Exit
# if the object is not Exit
if
activeObject
.
receiver
:
if
activeObject
.
receiver
:
# if the receiver has an operatorPool
# if the receiver has an operatorPool
and its operationType is Load
try
:
try
:
if
activeObject
.
receiver
.
operatorPool
:
if
activeObject
.
receiver
.
operatorPool
\
and
(
activeObject
.
receiver
.
type
==
'MachineJobShop'
\
or
activeObject
.
receiver
.
type
==
'MachineManagedJob'
):
# and the operationType list contains Load, the receiver is operated
# and the operationType list contains Load, the receiver is operated
if
(
activeObject
.
receiver
.
operatorPool
!=
"None"
)
\
if
(
activeObject
.
receiver
.
operatorPool
!=
"None"
)
\
and
any
(
type
==
"Load"
for
type
in
activeObject
.
receiver
.
multOperationTypeList
):
and
any
(
type
==
"Load"
for
type
in
activeObject
.
receiver
.
multOperationTypeList
):
...
...
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