From 30b4bdb5b0e55a0bc06602201e90115b817b8f89 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Tue, 2 Apr 2024 19:50:21 +0200 Subject: Section: add comment with known section types --- lib/Travel/Routing/DE/HAFAS/Connection/Section.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Travel/Routing/DE/HAFAS/Connection/Section.pm b/lib/Travel/Routing/DE/HAFAS/Connection/Section.pm index 3a8b958..477900f 100644 --- a/lib/Travel/Routing/DE/HAFAS/Connection/Section.pm +++ b/lib/Travel/Routing/DE/HAFAS/Connection/Section.pm @@ -115,6 +115,8 @@ sub new { $ref->{arr_delay} = ( $rt_arr->epoch - $sched_arr->epoch ) / 60; } + # known types according to 2015 DB Navigator: + # HIDE, JNY, WALK, BIKE, KISS, PARK, TAXI, TRSF, DEVI if ( $sec->{type} eq 'JNY' ) { $ref->{journey} = Travel::Status::DE::HAFAS::Journey->new( -- cgit v1.2.3