Commit c058cb42 authored by Georgios Dagkakis's avatar Georgios Dagkakis

correction in plugin

parent fd5ddef4
...@@ -61,19 +61,15 @@ class CreateCapacityStations(plugin.InputPreparationPlugin): ...@@ -61,19 +61,15 @@ class CreateCapacityStations(plugin.InputPreparationPlugin):
# XXX another patch, these should be inputted # XXX another patch, these should be inputted
if stationId=='PPASB': if stationId=='PPASB':
data['graph']['node'][stationId]['sharedResources']={ data['graph']['node'][stationId]['sharedResources']={
"sharedResources": {
"stationIds": ["ASBTST"], "stationIds": ["ASBTST"],
"priority": 3 "priority": 3
}, }
}
data['graph']['node'][stationId]['notProcessOutsideThreshold']=1 data['graph']['node'][stationId]['notProcessOutsideThreshold']=1
if stationId=='ASBTST': if stationId=='ASBTST':
data['graph']['node'][stationId]['sharedResources']={ data['graph']['node'][stationId]['sharedResources']={
"sharedResources": {
"stationIds": ["PPASB"], "stationIds": ["PPASB"],
"priority": 2 "priority": 2
}, }
}
data['graph']['node'][stationId]['notProcessOutsideThreshold']=1 data['graph']['node'][stationId]['notProcessOutsideThreshold']=1
# add also a CapacityStationController # add also a CapacityStationController
......
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