Ejemplo n.º 1
0
    def parse(self, version, implicit, data_owner_code, elements):
        organizational_unit_code, schedule_code, schedule_type_code, line_planning_number, journey_nuwber, stop_order, journey_pattern_code, user_stop_code, target_arrival_time, target_departure_time, wheel_chair_accessible, data_owner_is_operator = elements

        target_arrival_time = time32(target_arrival_time)
        target_departure_time = time32(target_departure_time)
        wheel_chair_accessible = wheelchair(wheel_chair_accessible)

        self.data.append([version, implicit, data_owner_code, organizational_unit_code, schedule_code, schedule_type_code, line_planning_number, journey_nuwber, stop_order, journey_pattern_code, user_stop_code, target_arrival_time, target_departure_time, wheel_chair_accessible, data_owner_is_operator])
Ejemplo n.º 2
0
    def parse(self, version, implicit, data_owner_code, elements):
        organizational_unit_code, schedule_code, schedule_type_code, line_planning_number, journey_nuwber, stop_order, journey_pattern_code, user_stop_code, target_arrival_time, target_departure_time, wheel_chair_accessible, data_owner_is_operator = elements

        target_arrival_time = time32(target_arrival_time)
        target_departure_time = time32(target_departure_time)
        wheel_chair_accessible = wheelchair(wheel_chair_accessible)

        self.data.append([version, implicit, data_owner_code, organizational_unit_code, schedule_code, schedule_type_code, line_planning_number, journey_nuwber, stop_order, journey_pattern_code, user_stop_code, target_arrival_time, target_departure_time, wheel_chair_accessible, data_owner_is_operator])
Ejemplo n.º 3
0
    def parse(self, version, implicit, data_owner_code, elements):
        timetable_version_code, organizational_unit_code, period_group_rode, specific_day_code, day_type, line_planning_number, journey_number, time_demand_group_code, journey_pattern_code, departure_time, wheel_chair_accessible, data_owner_is_operator = elements
        
        wheel_chair_accessible = wheelchair(wheel_chair_accessible)
        departure_time = time32(departure_time)

        self.data.append([version, implicit, data_owner_code, timetable_version_code, organizational_unit_code, period_group_rode, specific_day_code, day_type, line_planning_number, journey_number, time_demand_group_code, journey_pattern_code, departure_time, wheel_chair_accessible, data_owner_is_operator])
Ejemplo n.º 4
0
    def parse(self, version, implicit, data_owner_code, elements):
        timetable_version_code, organizational_unit_code, period_group_rode, specific_day_code, day_type, line_planning_number, journey_number, time_demand_group_code, journey_pattern_code, departure_time, wheel_chair_accessible, data_owner_is_operator = elements
        
        wheel_chair_accessible = wheelchair(wheel_chair_accessible)
        departure_time = time32(departure_time)

        daytype = str(daytype2bitstring(day_type))

        self.data.append([version, implicit, data_owner_code, timetable_version_code, organizational_unit_code, period_group_rode, specific_day_code,
                          daytype, line_planning_number, journey_number, time_demand_group_code, journey_pattern_code,
                          departure_time, wheel_chair_accessible, data_owner_is_operator])