Commit d0c46ed2 authored by Georgios Dagkakis's avatar Georgios Dagkakis

Merge branch 'CSThreshold'

parents 29ce2d9a 75fa316e
...@@ -79,10 +79,10 @@ class CreateCapacityStations(plugin.InputPreparationPlugin): ...@@ -79,10 +79,10 @@ class CreateCapacityStations(plugin.InputPreparationPlugin):
"priority": priority "priority": priority
} }
# add also a CapacityStationController # add also a CapacityStationController
# XXX some of the attributes should be inputted by the user dueDateThreshold=data['general'].get('dueDateThreshold',14)
data['graph']['node']['CSC']={ data['graph']['node']['CSC']={
"dueDateThreshold": 14, "dueDateThreshold": dueDateThreshold,
"name": "CSC", "name": "CSC",
"prioritizeIfCanFinish": 1, "prioritizeIfCanFinish": 1,
"interval": "1", "interval": "1",
......
...@@ -700,6 +700,12 @@ ...@@ -700,6 +700,12 @@
"description": "Total assembly Space in square meters", "description": "Total assembly Space in square meters",
"type": "number", "type": "number",
"default": 100 "default": 100
},
"dueDateThreshold": {
"default": "14",
"description": "The number of dates for due date threshold",
"title": "dueDateThreshold",
"type": "string"
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment