コード例 #1
0
 public AirlinerPassengerType(Manufacturer manufacturer, string name,string family, int seating, int cockpitcrew, int cabincrew, double speed, long range, double wingspan, double length, double consumption, long price, int maxAirlinerClasses, long minRunwaylength, long fuelcapacity, BodyType body, TypeRange rangeType, EngineType engine, Period<DateTime> produced, int prodRate, Boolean standardType = true)
     : base(manufacturer,TypeOfAirliner.Passenger,name,family,cockpitcrew,speed,range,wingspan,length,consumption,price,minRunwaylength,fuelcapacity,body,rangeType,engine,produced, prodRate,standardType)
 {
     this.MaxSeatingCapacity = seating;
     this.CabinCrew = cabincrew;
     this.MaxAirlinerClasses = maxAirlinerClasses;
 }
コード例 #2
0
 public AirlinerCargoType(
     Manufacturer manufacturer,
     string name,
     string family,
     int cockpitcrew,
     double cargoSize,
     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<DateTime> produced,
     int prodRate,
     bool isConvertable,
     bool standardType = true)
     : base(manufacturer,
         TypeOfAirliner.Cargo,
         name,
         family,
         cockpitcrew,
         speed,
         range,
         wingspan,
         length,
         weight,
         consumption,
         price,
         minRunwaylength,
         fuelcapacity,
         body,
         rangeType,
         engine,
         produced,
         prodRate,
         isConvertable,
         standardType)
 {
     CargoSize = cargoSize;
 }
コード例 #3
0
 public AirlinerType(Manufacturer manufacturer,TypeOfAirliner typeOfAirliner, string name,string family, int cockpitCrew, double speed, long range, double wingspan, double length, double consumption, long price,long minRunwaylength, long fuelcapacity, BodyType body, TypeRange rangeType, EngineType engine, Period<DateTime> produced,int prodRate, Boolean standardType)
 {
     this.TypeAirliner = typeOfAirliner;
     this.AirlinerFamily = family;
     this.Manufacturer = manufacturer;
     this.Name = name;
     this.CruisingSpeed = speed;
     this.Range = range;
     this.Wingspan = wingspan;
     this.Length = length;
     this.CockpitCrew = cockpitCrew;
     this.Price = price;
     this.FuelConsumption = consumption;
     this.Produced = produced;
     this.Engine = engine;
     this.Body = body;
     this.RangeType = rangeType;
     this.MinRunwaylength = minRunwaylength;
     this.FuelCapacity = fuelcapacity;
     this.IsStandardType = standardType;
     this.ProductionRate = prodRate;
 }
コード例 #4
0
ファイル: AirlinerType.cs プロジェクト: petfol/tap-desktop
 public AirlinerCargoType(Manufacturer manufacturer, string name, string family, int cockpitcrew, double cargoSize, double speed, long range, double wingspan, double length, double consumption, long price, long minRunwaylength, long fuelcapacity, BodyType body, TypeRange rangeType, EngineType engine, Period <DateTime> produced, int prodRate, Boolean isConvertable, Boolean standardType = true)
     : base(manufacturer, TypeOfAirliner.Cargo, name, family, cockpitcrew, speed, range, wingspan, length, consumption, price, minRunwaylength, fuelcapacity, body, rangeType, engine, produced, prodRate, isConvertable, standardType)
 {
     this.CargoSize = cargoSize;
 }
コード例 #5
0
ファイル: AirlinerType.cs プロジェクト: petfol/tap-desktop
 public AirlinerPassengerType(Manufacturer manufacturer, string name, string family, int seating, int cockpitcrew, int cabincrew, double speed, long range, double wingspan, double length, double consumption, long price, int maxAirlinerClasses, long minRunwaylength, long fuelcapacity, BodyType body, TypeRange rangeType, EngineType engine, Period <DateTime> produced, int prodRate, Boolean isConvertable, Boolean standardType = true)
     : base(manufacturer, TypeOfAirliner.Passenger, name, family, cockpitcrew, speed, range, wingspan, length, consumption, price, minRunwaylength, fuelcapacity, body, rangeType, engine, produced, prodRate, isConvertable, standardType)
 {
     this.MaxSeatingCapacity = seating;
     this.CabinCrew          = cabincrew;
     this.MaxAirlinerClasses = maxAirlinerClasses;
 }
コード例 #6
0
ファイル: AirlinerType.cs プロジェクト: petfol/tap-desktop
 public AirlinerType(Manufacturer manufacturer, TypeOfAirliner typeOfAirliner, string name, string family, int cockpitCrew, double speed, long range, double wingspan, double length, double consumption, long price, long minRunwaylength, long fuelcapacity, BodyType body, TypeRange rangeType, EngineType engine, Period <DateTime> produced, int prodRate, Boolean isConvertable, Boolean standardType)
 {
     this.TypeAirliner    = typeOfAirliner;
     this.AirlinerFamily  = family;
     this.Manufacturer    = manufacturer;
     this.Name            = name;
     this.CruisingSpeed   = speed;
     this.Range           = range;
     this.Wingspan        = wingspan;
     this.Length          = length;
     this.CockpitCrew     = cockpitCrew;
     this.Price           = price;
     this.FuelConsumption = consumption;
     this.Produced        = produced;
     this.Engine          = engine;
     this.Body            = body;
     this.RangeType       = rangeType;
     this.MinRunwaylength = minRunwaylength;
     this.FuelCapacity    = fuelcapacity;
     this.IsStandardType  = standardType;
     this.ProductionRate  = prodRate;
     this.IsConvertable   = isConvertable;
 }
コード例 #7
0
 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<DateTime> produced,
     int prodRate,
     bool isConvertable,
     bool standardType)
 {
     TypeAirliner = typeOfAirliner;
     AirlinerFamily = family;
     Manufacturer = manufacturer;
     Name = name;
     CruisingSpeed = speed;
     Range = range;
     Wingspan = wingspan;
     Length = length;
     Weight = weight;
     CockpitCrew = cockpitCrew;
     Price = price;
     FuelConsumption = consumption;
     Produced = produced;
     Engine = engine;
     Body = body;
     RangeType = rangeType;
     MinRunwaylength = minRunwaylength;
     FuelCapacity = fuelcapacity;
     IsStandardType = standardType;
     ProductionRate = prodRate;
     IsConvertable = isConvertable;
 }
コード例 #8
0
ファイル: AirlinerType.cs プロジェクト: tehknox/tap-desktop
 public AirlinerCombiType(Manufacturer manufacturer, string name, string family, int seating, int cockpitcrew, int cabincrew, double speed, long range, double wingspan, double length, double consumption, long price, int maxAirlinerClasses, long minRunwaylength, long fuelcapacity, BodyType body, TypeRange rangeType, EngineType engine, Period<DateTime> produced, int prodRate, double cargo, Boolean isConvertable, Boolean standardType = true)
     : base(manufacturer, name, family, seating, cockpitcrew, cabincrew, speed, range, wingspan, length, consumption, price, maxAirlinerClasses, minRunwaylength, fuelcapacity, body, rangeType, engine, produced, prodRate, isConvertable, standardType)
 {
     this.CargoSize = cargo;
     this.TypeAirliner = TypeOfAirliner.Mixed;
 }