C# Class TheAirline.Helpers.TimeTableHelpers

Datei anzeigen Open project: TheAirlineProject/tap-desktop

Public Methods

Method Description
IsRouteEntryInOccupied ( RouteTimeTableEntry entry, FleetAirliner airliner ) : bool
IsRoutePlannerTimeTableValid ( RouteTimeTable timeTable, FleetAirliner airliner, List entries, bool withSlots = true ) : bool
IsTimeTableValid ( FleetAirliner airliner, List entries, bool withSlots = true ) : bool
IsTimeTableValid ( RouteTimeTable timeTable, FleetAirliner airliner, List entries, bool withSlots = true ) : bool

Private Methods

Method Description
GetNextEntry ( RouteTimeTableEntry entry, FleetAirliner airliner, List entries ) : RouteTimeTableEntry
GetPreviousEntry ( RouteTimeTableEntry entry, FleetAirliner airliner, List entries ) : RouteTimeTableEntry
IsRouteEntryValid ( RouteTimeTableEntry entry, FleetAirliner airliner, IEnumerable entries, bool withSlots ) : bool

Method Details

IsRouteEntryInOccupied() public static method

public static IsRouteEntryInOccupied ( RouteTimeTableEntry entry, FleetAirliner airliner ) : bool
entry RouteTimeTableEntry
airliner TheAirline.Models.Airliners.FleetAirliner
return bool

IsRoutePlannerTimeTableValid() public static method

public static IsRoutePlannerTimeTableValid ( RouteTimeTable timeTable, FleetAirliner airliner, List entries, bool withSlots = true ) : bool
timeTable TheAirline.Models.Routes.RouteTimeTable
airliner TheAirline.Models.Airliners.FleetAirliner
entries List
withSlots bool
return bool

IsTimeTableValid() public static method

public static IsTimeTableValid ( FleetAirliner airliner, List entries, bool withSlots = true ) : bool
airliner TheAirline.Models.Airliners.FleetAirliner
entries List
withSlots bool
return bool

IsTimeTableValid() public static method

public static IsTimeTableValid ( RouteTimeTable timeTable, FleetAirliner airliner, List entries, bool withSlots = true ) : bool
timeTable TheAirline.Models.Routes.RouteTimeTable
airliner TheAirline.Models.Airliners.FleetAirliner
entries List
withSlots bool
return bool