Commit 8448a389 authored by Georgios Dagkakis's avatar Georgios Dagkakis

remove test code

parent eaaa8047
...@@ -36,11 +36,6 @@ class BatchesOperatorGantt(plugin.OutputPreparationPlugin, TimeSupportMixin): ...@@ -36,11 +36,6 @@ class BatchesOperatorGantt(plugin.OutputPreparationPlugin, TimeSupportMixin):
open=False) open=False)
k=1 k=1
schedule=element['results']['schedule']
schedule.append({
"entranceTime": 90.0,
"stationId": "M1"
})
for record in schedule: for record in schedule:
entranceTime=record['entranceTime'] entranceTime=record['entranceTime']
try: try:
...@@ -48,8 +43,8 @@ class BatchesOperatorGantt(plugin.OutputPreparationPlugin, TimeSupportMixin): ...@@ -48,8 +43,8 @@ class BatchesOperatorGantt(plugin.OutputPreparationPlugin, TimeSupportMixin):
except IndexError: except IndexError:
exitTime=maxSimTime exitTime=maxSimTime
k+=1 k+=1
task_dict[operatorId+record['stationId']+str(k)] = dict( task_dict[operatorId+record['stationId']] = dict(
id=operatorId+record['stationId']+str(k), id=operatorId+record['stationId'],
parent=operatorId, parent=operatorId,
text=record['stationId'], text=record['stationId'],
start_date=self.convertToRealWorldTime( start_date=self.convertToRealWorldTime(
......
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