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
54ce2762
Commit
54ce2762
authored
Jan 21, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MouldAssembly: this seems to be a typo
parent
a09605aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dream/simulation/MouldAssembly.py
dream/simulation/MouldAssembly.py
+1
-1
No files found.
dream/simulation/MouldAssembly.py
View file @
54ce2762
...
@@ -253,7 +253,7 @@ class MouldAssembly(MachineJobShop):
...
@@ -253,7 +253,7 @@ class MouldAssembly(MachineJobShop):
setupTime
=
self
.
getOperationTime
(
setupTime
)
setupTime
=
self
.
getOperationTime
(
setupTime
)
self
.
stpRng
=
RandomNumberGenerator
(
self
,
setupTime
)
self
.
stpRng
=
RandomNumberGenerator
(
self
,
setupTime
)
# update the activeObject's processing time according to the readings in the mould's route
# update the activeObject's processing time according to the readings in the mould's route
setupDistType
=
setupTime
.
get
keys
()[
0
]
setupDistType
=
setupTime
.
keys
()[
0
]
setTime
=
float
(
setupTime
[
setupDistType
].
get
(
'mean'
,
0
))
setTime
=
float
(
setupTime
[
setupDistType
].
get
(
'mean'
,
0
))
setupOpType
=
firstStep
.
get
(
'operationType'
,{}).
get
(
'Setup'
,
'not found'
)
# can be manual/automatic
setupOpType
=
firstStep
.
get
(
'operationType'
,{}).
get
(
'Setup'
,
'not found'
)
# can be manual/automatic
# update the first step of the route with the activeObjects id as sole element of the stationIdsList
# update the first step of the route with the activeObjects id as sole element of the stationIdsList
...
...
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