C# Class TheAirline.Models.Airliners.AirlinerType

Inheritance: BaseModel
显示文件 Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetCapacity ( ) : int
GetLeasingPrice ( ) : long
GetMaintenance ( ) : long
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Protected Methods

Method Description
AirlinerType ( Manufacturer manufacturer, TypeOfAirliner typeOfAirliner, string name, string family, int cockpitCrew, double speed, long range, double wingspan, double length, double weight, double consumption, long price, long minRunwaylength, long fuelcapacity, BodyType body, TypeRange rangeType, TypeOfEngine engine, Period produced, int prodRate, bool isConvertable, bool standardType ) : System
AirlinerType ( SerializationInfo info, StreamingContext ctxt ) : System

Method Details

AirlinerType() protected method

protected AirlinerType ( Manufacturer manufacturer, TypeOfAirliner typeOfAirliner, string name, string family, int cockpitCrew, double speed, long range, double wingspan, double length, double weight, double consumption, long price, long minRunwaylength, long fuelcapacity, BodyType body, TypeRange rangeType, TypeOfEngine engine, Period produced, int prodRate, bool isConvertable, bool standardType ) : System
manufacturer Manufacturer
typeOfAirliner TypeOfAirliner
name string
family string
cockpitCrew int
speed double
range long
wingspan double
length double
weight double
consumption double
price long
minRunwaylength long
fuelcapacity long
body BodyType
rangeType TypeRange
engine TypeOfEngine
produced Period
prodRate int
isConvertable bool
standardType bool
return System

AirlinerType() protected method

protected AirlinerType ( SerializationInfo info, StreamingContext ctxt ) : System
info System.Runtime.Serialization.SerializationInfo
ctxt System.Runtime.Serialization.StreamingContext
return System

GetCapacity() public abstract method

public abstract GetCapacity ( ) : int
return int

GetLeasingPrice() public method

public GetLeasingPrice ( ) : long
return long

GetMaintenance() public method

public GetMaintenance ( ) : long
return long

GetObjectData() public method

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