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
a5f3919f
Commit
a5f3919f
authored
Mar 10, 2015
by
Ioannis Papagiannopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mould and OrderDesign receive as arguments remainingProcessingTime and remainingSetupTime
parent
c0c798e4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
dream/simulation/Mould.py
dream/simulation/Mould.py
+5
-1
dream/simulation/OrderDesign.py
dream/simulation/OrderDesign.py
+6
-1
No files found.
dream/simulation/Mould.py
View file @
a5f3919f
...
...
@@ -42,10 +42,14 @@ class Mould(Job): # inherits from the Job class
orderDate
=
0
,
extraPropertyDict
=
None
,
order
=
None
,
remainingProcessingTime
=
{},
remainingSetupTime
=
{},
currentStation
=
None
,
isCritical
=
False
,
**
kw
):
Job
.
__init__
(
self
,
id
,
name
,
route
=
route
,
priority
=
priority
,
dueDate
=
dueDate
,
orderDate
=
orderDate
,
extraPropertyDict
=
extraPropertyDict
,
isCritical
=
isCritical
,
currentStation
=
currentStation
)
extraPropertyDict
=
extraPropertyDict
,
isCritical
=
isCritical
,
remainingProcessingTime
=
remainingProcessingTime
,
remainingSetupTime
=
remainingSetupTime
,
currentStation
=
currentStation
)
self
.
order
=
order
# parent order of the order component
# TODO: in case the order is not given as argument (when the component is given as WIP) have to give a manager as argument
# or create the initiate the parent order not as WIP
...
...
dream/simulation/OrderDesign.py
View file @
a5f3919f
...
...
@@ -42,11 +42,16 @@ class OrderDesign(Job): # inherits from the Job
orderDate
=
0
,
extraPropertyDict
=
None
,
order
=
None
,
remainingProcessingTime
=
{},
remainingSetupTime
=
{},
currentStation
=
None
,
requestingComponent
=
None
,
isCritical
=
False
,
**
kw
):
Job
.
__init__
(
self
,
id
=
id
,
name
=
name
,
route
=
route
,
priority
=
priority
,
dueDate
=
dueDate
,
orderDate
=
orderDate
,
extraPropertyDict
=
extraPropertyDict
,
isCritical
=
isCritical
)
extraPropertyDict
=
extraPropertyDict
,
isCritical
=
isCritical
,
remainingProcessingTime
=
remainingProcessingTime
,
remainingSetupTime
=
remainingSetupTime
,
currentStation
=
currentStation
)
self
.
order
=
order
# parent order of the order component
# TODO: in case the order is not given as argument (when the component is given as WIP) have to give a manager as argument
# or create the initiate the parent order not as WIP
...
...
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