From aa9783f462022ebe0312588d40abc6fd57818bdf Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 19 Oct 2024 17:45:16 +0200 Subject: efa departure board: add has_realtime annotations --- lib/DBInfoscreen/Controller/Stationboard.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/DBInfoscreen/Controller/Stationboard.pm') 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 => [], -- cgit v1.2.3