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
a3bf255f
Commit
a3bf255f
authored
Dec 16, 2013
by
Georgios Dagkakis
Committed by
Jérome Perrin
Jan 20, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
assembly updated in order tocall CoreObject init and initialise
parent
cf768b3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dream/simulation/Assembly.py
dream/simulation/Assembly.py
+2
-1
No files found.
dream/simulation/Assembly.py
View file @
a3bf255f
...
...
@@ -38,7 +38,7 @@ class Assembly(CoreObject):
#initialize the object
def
__init__
(
self
,
id
,
name
,
distribution
=
'Fixed'
,
mean
=
1
,
stdev
=
0.1
,
min
=
0
,
max
=
5
):
Process
.
__init__
(
self
)
CoreObject
.
__init__
(
self
)
self
.
id
=
id
self
.
objName
=
name
self
.
type
=
"Assembly"
#String that shows the type of object
...
...
@@ -70,6 +70,7 @@ class Assembly(CoreObject):
def
initialize
(
self
):
Process
.
__init__
(
self
)
CoreObject
.
initialize
(
self
)
self
.
waitToDispose
=
False
#flag that shows if the object waits to dispose an entity
self
.
Up
=
True
#Boolean that shows if the object is in failure ("Down") or not ("up")
...
...
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