Commit 36884db7 authored by Georgios Dagkakis's avatar Georgios Dagkakis

key in the results updated. dump updated

parent a4a94421
......@@ -336,7 +336,7 @@ class Operator(ObjectResource):
if self.schedule:
json['results']['schedule']=[]
for record in self.schedule:
json['results']['schedule'].append({'stationId':record[0].id,'time':record[1]})
json['results']['schedule'].append({'stationId':record[0].id,'entranceTime':record[1]})
G.outputJSON['elementList'].append(json)
#===========================================================================
......
......@@ -42,12 +42,12 @@
"results": {
"schedule": [
{
"stationId": "M1",
"time": 0
"entranceTime": 0,
"stationId": "M1"
},
{
"stationId": "M2",
"time": 20.0
"entranceTime": 20.0,
"stationId": "M2"
}
],
"waiting_ratio": 81.0,
......
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