C# Class TheAirline.Models.Airports.Terminals

Inheritance: BaseModel
Mostra file Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description
Terminals System

Public Methods

Method Description
AddTerminal ( Terminal terminal ) : void
Clear ( ) : void
GetDeliveredTerminals ( ) : List
GetFreeGates ( ) : int
GetFreeGates ( Terminal type ) : int
GetFreeSlotsPercent ( Airline airline, Terminal type ) : double
GetGates ( ) : List
GetGates ( Airline airline ) : List
GetInuseGates ( Terminal type ) : int
GetInusePercent ( Terminal type ) : double
GetNumberOfAirportTerminals ( ) : int
GetNumberOfAirportTerminals ( Terminal terminaltype ) : int
GetNumberOfGates ( ) : int
GetNumberOfGates ( Airline airline ) : int
GetNumberOfGates ( Terminal type ) : int
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetOrdereredGates ( ) : int
GetTerminals ( ) : List
HasTerminal ( Airline airline ) : System.Boolean
RemoveTerminal ( Terminal terminal ) : void
SwitchAirline ( Airline airlineFrom, Airline airlineTo ) : void
Terminals ( Airport airport ) : System

Private Methods

Method Description
Terminals ( SerializationInfo info, StreamingContext ctxt ) : System

Method Details

AddTerminal() public method

public AddTerminal ( Terminal terminal ) : void
terminal Terminal
return void

Clear() public method

public Clear ( ) : void
return void

GetDeliveredTerminals() public method

public GetDeliveredTerminals ( ) : List
return List

GetFreeGates() public method

public GetFreeGates ( ) : int
return int

GetFreeGates() public method

public GetFreeGates ( Terminal type ) : int
type Terminal
return int

GetFreeSlotsPercent() public method

public GetFreeSlotsPercent ( Airline airline, Terminal type ) : double
airline TheAirline.Models.Airlines.Airline
type Terminal
return double

GetGates() public method

public GetGates ( ) : List
return List

GetGates() public method

public GetGates ( Airline airline ) : List
airline TheAirline.Models.Airlines.Airline
return List

GetInuseGates() public method

public GetInuseGates ( Terminal type ) : int
type Terminal
return int

GetInusePercent() public method

public GetInusePercent ( Terminal type ) : double
type Terminal
return double

GetNumberOfAirportTerminals() public method

public GetNumberOfAirportTerminals ( ) : int
return int

GetNumberOfAirportTerminals() public method

public GetNumberOfAirportTerminals ( Terminal terminaltype ) : int
terminaltype Terminal
return int

GetNumberOfGates() public method

public GetNumberOfGates ( ) : int
return int

GetNumberOfGates() public method

public GetNumberOfGates ( Airline airline ) : int
airline TheAirline.Models.Airlines.Airline
return int

GetNumberOfGates() public method

public GetNumberOfGates ( Terminal type ) : int
type Terminal
return int

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

GetOrdereredGates() public method

public GetOrdereredGates ( ) : int
return int

GetTerminals() public method

public GetTerminals ( ) : List
return List

HasTerminal() public method

public HasTerminal ( Airline airline ) : System.Boolean
airline TheAirline.Models.Airlines.Airline
return System.Boolean

RemoveTerminal() public method

public RemoveTerminal ( Terminal terminal ) : void
terminal Terminal
return void

SwitchAirline() public method

public SwitchAirline ( Airline airlineFrom, Airline airlineTo ) : void
airlineFrom TheAirline.Models.Airlines.Airline
airlineTo TheAirline.Models.Airlines.Airline
return void

Terminals() public method

public Terminals ( Airport airport ) : System
airport Airport
return System