Commit 3ce1606c authored by Georgios Dagkakis's avatar Georgios Dagkakis

different ids for tasks

parent 8448a389
...@@ -43,8 +43,8 @@ class BatchesOperatorGantt(plugin.OutputPreparationPlugin, TimeSupportMixin): ...@@ -43,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']] = dict( task_dict[operatorId+record['stationId']+str(k)] = dict(
id=operatorId+record['stationId'], id=operatorId+record['stationId']+str(k),
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