Esempio n. 1
0
 public Transport(double Weight, double MaxSpeed, int SeatsCount, string Country)
 {
     ForSerialNumber++;
     this.SerialNumber = ForSerialNumber;
     this.SeatsCount   = SeatsCount;
     this.Weight       = Weight;
     this.MaxSpeed     = MaxSpeed;
     this.Country      = Country;
     this.Kind         = KindsOfTransport.NotDetermined;
 }
Esempio n. 2
0
 public Transport(double Weight, double MaxSpeed, int SeatsCount, KindsOfTransport Kind)
 {
     ForSerialNumber++;
     this.SerialNumber = ForSerialNumber;
     this.SeatsCount   = SeatsCount;
     this.Weight       = Weight;
     this.MaxSpeed     = MaxSpeed;
     this.Country      = "USSR";
     this.Kind         = Kind;
 }
Esempio n. 3
0
 public Transport(double Weight, double MaxSpeed, int SeatsCount, string Country, int Year, KindsOfTransport Kind)
 {
     ForSerialNumber++;
     this.SerialNumber = ForSerialNumber;
     this.SeatsCount   = SeatsCount;
     this.Weight       = Weight;
     this.MaxSpeed     = MaxSpeed;
     this.Country      = Country;
     this.Year         = Year;
     this.Kind         = Kind;
 }
Esempio n. 4
0
 public Transport(KindsOfTransport Kind, string Country)
 {
     ForSerialNumber++;
     this.SerialNumber    = ForSerialNumber;
     this.MaxFuel         = 190;
     this.FuelConsumption = 160;
     this.Fuel            = 190;
     this.Weight          = 32;
     this.MaxSpeed        = 55;
     this.SeatsCount      = 5;
     this.Country         = Country;
     this.Year            = 1944;
     this.Kind            = Kind;
 }
Esempio n. 5
0
 public Transport()
 {
     ForSerialNumber++;
     this.SerialNumber    = ForSerialNumber;
     this.MaxFuel         = 190;
     this.FuelConsumption = 160;
     this.Fuel            = 190;
     this.Weight          = 32;
     this.MaxSpeed        = 55;
     this.SeatsCount      = 5;
     this.Country         = "USSR";
     this.Year            = 1944;
     this.Kind            = KindsOfTransport.OwnAssembly;
 }
Esempio n. 6
0
 public Transport(KindsOfTransport Kind, ConsoleColor Color)
 {
     ForSerialNumber++;
     this.SerialNumber    = ForSerialNumber;
     this.MaxFuel         = 190;
     this.FuelConsumption = 160;
     this.Fuel            = 190;
     this.Weight          = 32;
     this.MaxSpeed        = 55;
     this.SeatsCount      = 5;
     this.Country         = "USSR";
     this.Year            = 1944;
     this.Kind            = Kind;
     this.Color           = Color;
 }