C# 클래스 TheAirline.Models.Routes.Route

상속: BaseModel
파일 보기 프로젝트 열기: TheAirlineProject/tap-desktop 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetBalance double

공개 메소드들

메소드 설명
AddRouteInvoice ( Invoice invoice ) : void
AddStopover ( StopoverRoute stopover ) : void
ClearRouteStats ( ) : void
ContainsDestination ( Airport destination ) : bool
GetAirliners ( ) : List
GetBalance ( DateTime startTime, DateTime endTime ) : double
GetCurrentAirliner ( ) : FleetAirliner
GetDestinations ( ) : List
GetDistance ( ) : double
GetFillingDegree ( ) : double
GetFlightTime ( AirlinerType type ) : TimeSpan
GetInvoices ( ) : Invoices
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetRouteInvoiceAmount ( Invoice type ) : double
GetRouteInvoiceAmount ( Invoice type, DateTime startTime, DateTime endTime ) : double
GetRouteInvoiceTypes ( ) : List
RemoveStopover ( Airport stopover ) : void
SetRouteInvoice ( Invoice type, int year, int month, int day, double amount ) : void

보호된 메소드들

메소드 설명
Route ( RouteType type, string id, Airport destination1, Airport destination2, DateTime startDate ) : System
Route ( SerializationInfo info, StreamingContext ctxt ) : System

비공개 메소드들

메소드 설명
GetBalance ( ) : double

메소드 상세

AddRouteInvoice() 공개 메소드

public AddRouteInvoice ( Invoice invoice ) : void
invoice TheAirline.Models.General.Finances.Invoice
리턴 void

AddStopover() 공개 메소드

public AddStopover ( StopoverRoute stopover ) : void
stopover StopoverRoute
리턴 void

ClearRouteStats() 공개 메소드

public ClearRouteStats ( ) : void
리턴 void

ContainsDestination() 공개 메소드

public ContainsDestination ( Airport destination ) : bool
destination TheAirline.Models.Airports.Airport
리턴 bool

GetAirliners() 공개 메소드

public GetAirliners ( ) : List
리턴 List

GetBalance() 공개 메소드

public GetBalance ( DateTime startTime, DateTime endTime ) : double
startTime DateTime
endTime DateTime
리턴 double

GetCurrentAirliner() 공개 메소드

public GetCurrentAirliner ( ) : FleetAirliner
리턴 FleetAirliner

GetDestinations() 공개 메소드

public GetDestinations ( ) : List
리턴 List

GetDistance() 공개 메소드

public GetDistance ( ) : double
리턴 double

GetFillingDegree() 공개 추상적인 메소드

public abstract GetFillingDegree ( ) : double
리턴 double

GetFlightTime() 공개 메소드

public GetFlightTime ( AirlinerType type ) : TimeSpan
type AirlinerType
리턴 TimeSpan

GetInvoices() 공개 메소드

public GetInvoices ( ) : Invoices
리턴 Invoices

GetObjectData() 공개 메소드

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo
context StreamingContext
리턴 void

GetRouteInvoiceAmount() 공개 메소드

public GetRouteInvoiceAmount ( Invoice type ) : double
type Invoice
리턴 double

GetRouteInvoiceAmount() 공개 메소드

public GetRouteInvoiceAmount ( Invoice type, DateTime startTime, DateTime endTime ) : double
type Invoice
startTime DateTime
endTime DateTime
리턴 double

GetRouteInvoiceTypes() 공개 메소드

public GetRouteInvoiceTypes ( ) : List
리턴 List

RemoveStopover() 공개 메소드

public RemoveStopover ( Airport stopover ) : void
stopover Airport
리턴 void

Route() 보호된 메소드

protected Route ( RouteType type, string id, Airport destination1, Airport destination2, DateTime startDate ) : System
type RouteType
id string
destination1 Airport
destination2 Airport
startDate DateTime
리턴 System

Route() 보호된 메소드

protected Route ( SerializationInfo info, StreamingContext ctxt ) : System
info SerializationInfo
ctxt StreamingContext
리턴 System

SetRouteInvoice() 공개 메소드

public SetRouteInvoice ( Invoice type, int year, int month, int day, double amount ) : void
type Invoice
year int
month int
day int
amount double
리턴 void