diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-10-19 17:45:16 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-10-19 17:45:16 +0200 |
commit | aa9783f462022ebe0312588d40abc6fd57818bdf (patch) | |
tree | 16898e305422b7c5fc866463b86a117ccb5f67da /lib | |
parent | 6e8addac3f0c91583b5afc980e0c5c74d5198e29 (diff) |
efa departure board: add has_realtime annotations
Diffstat (limited to 'lib')
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 9018299..aa5cb28 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -1750,6 +1750,7 @@ sub handle_efa { is_bit_delayed => ( $delay and $delay > 0 and $delay < 5 ? 1 : 0 ), is_delayed => ( $delay and $delay >= 5 ? 1 : 0 ), + has_realtime => defined $delay ? 1 : 0, occupancy => $result->occupancy, station => $efa->stop->id, replaced_by => [], |