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
902d42f4
Commit
902d42f4
authored
Dec 23, 2014
by
Georgios Dagkakis
Committed by
Ioannis Papagiannopoulos
Jan 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrections in MouldAssemblyManaged
parent
1ea811e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
dream/simulation/MouldAssemblyManaged.py
dream/simulation/MouldAssemblyManaged.py
+3
-4
No files found.
dream/simulation/MouldAssemblyManaged.py
View file @
902d42f4
...
...
@@ -230,11 +230,10 @@ class MouldAssemblyManaged(MachineManagedJob):
'the assembler must be in the mould-to-be-created route
\
'
initial step'
processingTime
=
firstStep
[
'processingTime'
]
# update the activeObject's processing time according to the readings in the mould's route
self
.
distType
=
processingTime
.
get
(
'distributionType'
,
'not found'
)
self
.
procTime
=
float
(
processingTime
.
get
(
'mean'
,
0
))
self
.
distType
=
processingTime
.
keys
()[
0
]
self
.
procTime
=
float
(
processingTime
[
self
.
distType
]
.
get
(
'mean'
,
0
))
# update the first step of the route with the activeObjects id as sole element of the stationIdsList
route
.
insert
(
0
,
{
'stationIdsList'
:[
str
(
self
.
id
)],
'processingTime'
:{
'distributionType'
:
str
(
self
.
distType
),
\
'mean'
:
str
(
self
.
procTime
)}})
route
.
insert
(
0
,
{
'stationIdsList'
:[
str
(
self
.
id
)],
'processingTime'
:{
str
(
self
.
distType
):{
'mean'
:
str
(
self
.
procTime
)}}})
#Below it is to assign an exit if it was not assigned in JSON
#have to talk about it with NEX
exitAssigned
=
False
...
...
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