Пример #1
0
 public Motor(
     decimal price,
     int weight,
     int acceleration,
     int topSpeed,
     int horsepower,
     TunningGradeType gradeType,
     CylinderType cylinderType,
     MotorType engineType)
 {
 }
Пример #2
0
 public Motor(
     decimal price,
     int weight,
     int acceleration,
     int topSpeed,
     int horsepower,
     TunningGradeType gradeType,
     CylinderType cylinderType,
     MotorType engineType)
 {
 }
Пример #3
0
 protected Motor(
     decimal price,
     int weight,
     int acceleration,
     int topSpeed,
     int horsepower,
     TunningGradeType gradeType,
     CylinderType cylinderType,
     MotorType engineType)
     : base(price, weight, acceleration, topSpeed, gradeType)
 {
     this.Horsepower   = horsepower;
     this.CylinderType = cylinderType;
     this.EngineType   = engineType;
 }
Пример #4
0
 public Motor(
     decimal price,
     int weight,
     int acceleration,
     int topSpeed,
     int horsepower,
     TunningGradeType gradeType,
     CylinderType cylinderType,
     MotorType engineType)
 {
     this.Price        = price;
     this.Weight       = weight;
     this.Acceleration = acceleration;
     this.TopSpeed     = topSpeed;
     this.Horsepower   = horsepower;
     this.GradeType    = gradeType;
     this.CylinderType = cylinderType;
     this.EngineType   = engineType;
 }
Пример #5
0
 public void MakePerfect()
 {
     Type = CylinderType.PerfectMoved;
 }