Unverified Commit fbc21f45 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

API: Add departure and arrival platform

Closes #164
parent 02555f5c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1902,6 +1902,7 @@ sub startup {
					uic           => $status->{dep_eva},
					longitude     => $status->{dep_lon},
					latitude      => $status->{dep_lat},
					platform      => $status->{dep_platform},
					scheduledTime => $status->{sched_departure}
					? $status->{sched_departure}->epoch
					: undef,
@@ -1915,6 +1916,7 @@ sub startup {
					uic           => $status->{arr_eva},
					longitude     => $status->{arr_lon},
					latitude      => $status->{arr_lat},
					platform      => $status->{arr_platform},
					scheduledTime => $status->{sched_arrival}
					? $status->{sched_arrival}->epoch
					: undef,
+2 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@
				"uic" : 8000098,<br/>
				"latitude" : 51.451355,<br/>
				"longitude" : 7.014793,<br/>
				"platform" : "12", (ggf. null)<br/>
				"scheduledTime": 1556083680,<br/>
				"realTime": 1556083680<br/>
			},<br/>
@@ -50,6 +51,7 @@
				"uic" : 8001896,<br/>
				"latitude" : 51.422853,<br/>
				"longitude" : 7.023296,<br/>
				"platform" : "2", (ggf. null)<br/>
				"scheduledTime": 1556083980, (ggf. null)<br/>
				"realTime": 1556083980 (ggf. null)<br/>
			},<br/>