Пример #1
0
 public void UpdatePowerTrainPacket(double speed, int rpm, Gears position, DriveGear driveGear)
 {
     this.Velocity           = speed;
     this.RPM                = rpm;
     this.GearShifterPostion = position;
     this.DriveGear          = driveGear;
 }
Пример #2
0
 public Gear(double ratio, DriveGear label, int sequenceNumber)
 {
     this.GearRatio      = ratio;
     this.Label          = label;
     this.SequenceNumber = sequenceNumber;
 }