Browse Source

add a new message to avoid single messages per inbound

Sven Czarnian 3 years ago
parent
commit
33ef849dff
1 changed files with 14 additions and 0 deletions
  1. 14 0
      Communication.proto

+ 14 - 0
Communication.proto

@@ -0,0 +1,14 @@
+syntax = "proto3";
+package aman;
+
+import "AircraftReport.proto";
+import "AircraftSchedule.proto";
+
+message AircraftUpdate {
+    repeated AircraftReport reports = 1; // Contains all updated aircrafts
+}
+
+message AircraftSequence {
+    string                    airport  = 1; // Contains the airport ICAO for an easy filter
+    repeated AircraftSchedule sequence = 2; // Contains the sequence for the airport
+}