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
3f3857ee
Commit
3f3857ee
authored
Feb 24, 2014
by
Georgios Dagkakis
Committed by
Jérome Perrin
Mar 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some trace output added to BatchDecomposition/Reassembly
parent
610cf71e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
dream/simulation/BatchDecomposition.py
dream/simulation/BatchDecomposition.py
+1
-0
dream/simulation/BatchReassembly.py
dream/simulation/BatchReassembly.py
+1
-0
No files found.
dream/simulation/BatchDecomposition.py
View file @
3f3857ee
...
...
@@ -118,6 +118,7 @@ class BatchDecomposition(CoreObject):
subBatch
=
SubBatch
(
str
(
activeEntity
.
id
)
+
'_'
+
str
(
i
),
activeEntity
.
name
+
"_SB_"
\
+
str
(
i
),
numberOfUnits
=
numberOfSubBatchUnits
,
parentBatch
=
activeEntity
)
#create the sub-batch
self
.
outputTrace
(
subBatch
.
name
,
'was created from '
+
activeEntity
.
name
)
G
.
EntityList
.
append
(
subBatch
)
activeObjectQueue
.
append
(
subBatch
)
#append the sub-batch to the active object Queue
activeEntity
.
subBatchList
.
append
(
subBatch
)
...
...
dream/simulation/BatchReassembly.py
View file @
3f3857ee
...
...
@@ -133,6 +133,7 @@ class BatchReassembly(CoreObject):
activeObjectQueue
.
append
(
batchToBeReassembled
)
batchToBeReassembled
.
currentStation
=
self
self
.
timeLastEntityEnded
=
now
()
self
.
outputTrace
(
batchToBeReassembled
.
name
,
'was reassembled'
)
# =======================================================================
# returns True if the object doensn't hold entities of type Batch
...
...
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