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
b1ec5dcb
Commit
b1ec5dcb
authored
Jun 06, 2014
by
Georgios Dagkakis
Committed by
Jérome Perrin
Jun 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix in main script
parent
83791603
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
dream/simulation/LineGenerationJSON.py
dream/simulation/LineGenerationJSON.py
+3
-1
No files found.
dream/simulation/LineGenerationJSON.py
View file @
b1ec5dcb
...
@@ -799,13 +799,15 @@ def createObjects():
...
@@ -799,13 +799,15 @@ def createObjects():
name
=
element
.
get
(
'name'
,
'not found'
)
name
=
element
.
get
(
'name'
,
'not found'
)
intervalCapacity
=
element
.
get
(
'intervalCapacity'
,
[])
intervalCapacity
=
element
.
get
(
'intervalCapacity'
,
[])
CS
=
CapacityStation
(
id
,
name
,
intervalCapacity
=
intervalCapacity
)
CS
=
CapacityStation
(
id
,
name
,
intervalCapacity
=
intervalCapacity
)
CS
.
nextIds
=
getSuccessorList
(
id
)
G
.
CapacityStationList
.
append
(
CS
)
G
.
CapacityStationList
.
append
(
CS
)
G
.
ObjList
.
append
(
CS
)
G
.
ObjList
.
append
(
CS
)
elif
objClass
==
'Dream.CapacityStationBuffer'
:
elif
objClass
==
'Dream.CapacityStationBuffer'
:
id
=
element
.
get
(
'id'
,
'not found'
)
id
=
element
.
get
(
'id'
,
'not found'
)
name
=
element
.
get
(
'name'
,
'not found'
)
name
=
element
.
get
(
'name'
,
'not found'
)
CB
=
CapacityStation
(
id
,
name
)
CB
=
CapacityStationBuffer
(
id
,
name
)
CB
.
nextIds
=
getSuccessorList
(
id
)
G
.
CapacityStationBufferList
.
append
(
CB
)
G
.
CapacityStationBufferList
.
append
(
CB
)
G
.
ObjList
.
append
(
CB
)
G
.
ObjList
.
append
(
CB
)
...
...
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