C# Class TheAirline.Models.Airliners.AirlinerPassengerType

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

Private Properties

Property Type Description

Public Methods

Method Description
AirlinerPassengerType ( Manufacturer manufacturer, string name, string family, int seating, int cockpitcrew, int cabincrew, double speed, long range, double wingspan, double length, double weight, double consumption, long price, int maxAirlinerClasses, long minRunwaylength, long fuelcapacity, BodyType body, TypeRange rangeType, TypeOfEngine engine, Period produced, int prodRate, bool isConvertable, bool standardType = true ) : System
GetCapacity ( ) : int
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Protected Methods

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

Method Details

AirlinerPassengerType() public method

public AirlinerPassengerType ( Manufacturer manufacturer, string name, string family, int seating, int cockpitcrew, int cabincrew, double speed, long range, double wingspan, double length, double weight, double consumption, long price, int maxAirlinerClasses, long minRunwaylength, long fuelcapacity, BodyType body, TypeRange rangeType, TypeOfEngine engine, Period produced, int prodRate, bool isConvertable, bool standardType = true ) : System
manufacturer Manufacturer
name string
family string
seating int
cockpitcrew int
cabincrew int
speed double
range long
wingspan double
length double
weight double
consumption double
price long
maxAirlinerClasses int
minRunwaylength long
fuelcapacity long
body BodyType
rangeType TypeRange
engine TypeOfEngine
produced Period
prodRate int
isConvertable bool
standardType bool
return System

AirlinerPassengerType() protected method

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

GetCapacity() public method

public GetCapacity ( ) : int
return int

GetObjectData() public method

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