define the first version of the protocol buffers
This commit is contained in:
19
Aircraft.proto
Normal file
19
Aircraft.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
package vatger.aman;
|
||||
|
||||
message Aircraft {
|
||||
enum EngineType {
|
||||
UNKNOWN = 0;
|
||||
ELECTRIC = 1;
|
||||
TURBOPROB = 2;
|
||||
JET = 3;
|
||||
}
|
||||
|
||||
string callsign = 1; // aircraft's callsign
|
||||
string airline = 2; // corresponding airline
|
||||
string type = 3; // aircraft ICAO type
|
||||
string wtc = 4; // WTC
|
||||
string wakeRecat = 5; // wake recatogization category
|
||||
Int32 engineCount = 6; // number of engines
|
||||
EngineType engineType = 7; // engine type
|
||||
}
|
||||
Reference in New Issue
Block a user