Loading lib/DBInfoscreen.pm +10 −0 Original line number Diff line number Diff line Loading @@ -190,6 +190,16 @@ sub startup { = (qw(help_outline person_outline people priority_high)); my $text = 'Auslastung unbekannt'; if ( $occupancy eq 'MANY_SEATS' ) { $occupancy = 1; } elsif ( $occupancy eq 'FEW_SEATS' ) { $occupancy = 2; } elsif ( $occupancy eq 'STANDING_ONLY' ) { $occupancy = 3; } if ( $occupancy > 2 ) { $text = 'Sehr hohe Auslastung erwartet'; } Loading lib/DBInfoscreen/Controller/Stationboard.pm +1 −0 Original line number Diff line number Diff line Loading @@ -1513,6 +1513,7 @@ sub handle_efa { is_cancelled => $result->is_cancelled, linetype => $linetype, delay => $result->delay, occupancy => $result->occupancy, replaced_by => [], replacement_for => [], route_pre => [], Loading Loading
lib/DBInfoscreen.pm +10 −0 Original line number Diff line number Diff line Loading @@ -190,6 +190,16 @@ sub startup { = (qw(help_outline person_outline people priority_high)); my $text = 'Auslastung unbekannt'; if ( $occupancy eq 'MANY_SEATS' ) { $occupancy = 1; } elsif ( $occupancy eq 'FEW_SEATS' ) { $occupancy = 2; } elsif ( $occupancy eq 'STANDING_ONLY' ) { $occupancy = 3; } if ( $occupancy > 2 ) { $text = 'Sehr hohe Auslastung erwartet'; } Loading
lib/DBInfoscreen/Controller/Stationboard.pm +1 −0 Original line number Diff line number Diff line Loading @@ -1513,6 +1513,7 @@ sub handle_efa { is_cancelled => $result->is_cancelled, linetype => $linetype, delay => $result->delay, occupancy => $result->occupancy, replaced_by => [], replacement_for => [], route_pre => [], Loading