Update PIREP statuses

This commit is contained in:
Nabeel Shahzad
2018-04-01 20:37:10 -05:00
parent 0f521c3af9
commit eb06c07fdb
3 changed files with 20 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ class PirepStatus extends Enum
public const SCHEDULED = 'SCH';
public const BOARDING = 'BST';
public const RDY_START = 'RDT';
public const OFF_BLOCK = 'OFB'; // Departed from gate
public const DEPARTED = 'OFB'; // Off block
public const RDY_DEICE = 'DIR';
public const STRT_DEICE = 'DIC';
public const GRND_RTRN = 'GRT';
@@ -24,14 +24,15 @@ class PirepStatus extends Enum
public const APPROACH = 'TEN';
public const ON_FINAL = 'FIN';
public const LANDED = 'LAN';
public const ON_BLOCK = 'ONB'; // Arrived to gate
public const ARRIVED = 'ONB'; // On block
public const CANCELLED = 'DX';
protected static $labels = [
PirepStatus::INITIATED => 'Initiated',
PirepStatus::SCHEDULED => 'Scheduled',
PirepStatus::BOARDING => 'Boarding',
PirepStatus::RDY_START => 'Ready for start',
PirepStatus::OFF_BLOCK => 'Off block',
PirepStatus::DEPARTED => 'Off block',
PirepStatus::RDY_DEICE => 'Ready for de-icing',
PirepStatus::STRT_DEICE => 'De-icing in progress',
PirepStatus::GRND_RTRN => 'Ground return',
@@ -39,7 +40,8 @@ class PirepStatus extends Enum
PirepStatus::DIVERTED => 'Diverted',
PirepStatus::APPROACH => 'Approach',
PirepStatus::ON_FINAL => 'Final approach',
PirepStatus::LANDED => 'Arrived',
PirepStatus::ON_BLOCK => 'On block',
PirepStatus::LANDED => 'Landed',
PirepStatus::ARRIVED => 'Arrived',
PirepStatus::CANCELLED => 'Cancelled',
];
}