From 0c5ed870781d95bf3bd91f93515b655b65957641 Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Sun, 10 Oct 2021 21:12:48 +0200 Subject: [PATCH] add the report type to filter in the system itself --- AircraftReport.proto | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/AircraftReport.proto b/AircraftReport.proto index 459c973..def69f0 100644 --- a/AircraftReport.proto +++ b/AircraftReport.proto @@ -5,11 +5,21 @@ import "Aircraft.proto"; import "BaseTypes.proto"; message AircraftReport { + enum Reporter { + UNKNOWN = 0; // Unknown station reported + DELIVERY = 1; // Delivery station reported + GROUND = 2; // Ground or Apron reported + TOWER = 3; // Tower reported + APPROACH = 4; // Approach or Departure reported + CENTER = 5; // Center or FSS reported + } + string reportTime = 1; // UTC time of the report - Aircraft aircraft = 2; // aircraft information - string initialApproachFix = 3; // last waypoint of the route - Coordinate position = 4; // current WGS84 position - Dynamics dynamics = 5; // current aircraft dynamics - string destination = 6; // the destination airport - int32 distanceToIAF = 7; // distance to IAF in NM + Reporter reportedBy = 2; // Indicates who reported this aircraft + Aircraft aircraft = 3; // aircraft information + string initialApproachFix = 4; // last waypoint of the route + Coordinate position = 5; // current WGS84 position + Dynamics dynamics = 6; // current aircraft dynamics + string destination = 7; // the destination airport + int32 distanceToIAF = 8; // distance to IAF in NM }