Jelajahi Sumber

add the report type to filter in the system itself

Sven Czarnian 3 tahun lalu
induk
melakukan
0c5ed87078
1 mengubah file dengan 16 tambahan dan 6 penghapusan
  1. 16 6
      AircraftReport.proto

+ 16 - 6
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
 }