Loading lib/Travel/Status/DE/HAFAS/Stop.pm +7 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ Travel::Status::DE::HAFAS::Stop->mk_ro_accessors( rt_dep sched_dep dep dep_delay dep_cancelled delay direction rt_platform sched_platform platform is_changed_platform is_additional load ) ); Loading Loading @@ -69,6 +70,7 @@ sub new { my $arr_cancelled = $stop->{aCncl}; my $dep_cancelled = $stop->{dCncl}; my $is_additional = $stop->{isAdd}; my @messages; for my $msg ( @{ $stop->{msgL} // [] } ) { Loading Loading @@ -109,6 +111,7 @@ sub new { rt_platform => $rt_platform, is_changed_platform => $changed_platform, platform => $rt_platform // $sched_platform, is_additional => $is_additional, load => $tco, messages => \@messages, }; Loading Loading @@ -273,6 +276,10 @@ Actual or scheduled platform. True if real-time and scheduled platform disagree. =item $stop->is_additional True if the stop is an unscheduled addition to the train's route. =item $stop->load Expected utilization / passenger load from this stop on. Loading Loading
lib/Travel/Status/DE/HAFAS/Stop.pm +7 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ Travel::Status::DE::HAFAS::Stop->mk_ro_accessors( rt_dep sched_dep dep dep_delay dep_cancelled delay direction rt_platform sched_platform platform is_changed_platform is_additional load ) ); Loading Loading @@ -69,6 +70,7 @@ sub new { my $arr_cancelled = $stop->{aCncl}; my $dep_cancelled = $stop->{dCncl}; my $is_additional = $stop->{isAdd}; my @messages; for my $msg ( @{ $stop->{msgL} // [] } ) { Loading Loading @@ -109,6 +111,7 @@ sub new { rt_platform => $rt_platform, is_changed_platform => $changed_platform, platform => $rt_platform // $sched_platform, is_additional => $is_additional, load => $tco, messages => \@messages, }; Loading Loading @@ -273,6 +276,10 @@ Actual or scheduled platform. True if real-time and scheduled platform disagree. =item $stop->is_additional True if the stop is an unscheduled addition to the train's route. =item $stop->load Expected utilization / passenger load from this stop on. Loading