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
46a8a8ea
Commit
46a8a8ea
authored
Sep 30, 2014
by
Ioannis Papagiannopoulos
Committed by
Georgios Dagkakis
Oct 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remainingProcessingTime read from WIP
parent
c5be48df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dream/simulation/LineGenerationJSON.py
dream/simulation/LineGenerationJSON.py
+2
-0
No files found.
dream/simulation/LineGenerationJSON.py
View file @
46a8a8ea
...
...
@@ -387,6 +387,7 @@ def createWIP():
# if the entity has no parent order the following control will not be performed
if
entity
[
'id'
]
==
componentDict
[
'id'
]:
entityCurrentSeq
=
int
(
entity
[
'sequence'
])
# the current seq number of the entity's route
entityRemainingProcessingTime
=
entity
.
get
(
'remainingProcessingTime'
,{})
ind
=
0
# holder of the route index corresponding to the entityCurrentSeq
solution
=
False
# flag to signal that the route step is found
# find the step that corresponds to the entityCurrentSeq
...
...
@@ -407,6 +408,7 @@ def createWIP():
entity
.
pop
(
'route'
)
# remove the old route
entity
[
'route'
]
=
entityRoute
# and hold the new one without the previous steps
entity
[
'order'
]
=
order
.
id
entity
[
'remainingProcessingTime'
]
=
entityRemainingProcessingTime
break
entityClass
=
entity
.
get
(
'_class'
,
None
)
...
...
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