Beispiel #1
0
 public CarWheelsViewModel()
 {
     LeftFrontTyre  = new WheelStatusViewModel(true);
     LeftRearTyre   = new WheelStatusViewModel(true);
     RightFrontTyre = new WheelStatusViewModel(false);
     RightRearTyre  = new WheelStatusViewModel(false);
 }
Beispiel #2
0
 public CarWheelsViewModel(SessionRemainingCalculator sessionRemainingCalculator, IPaceProvider paceProvider)
 {
     LeftFrontTyre  = new WheelStatusViewModel(true, sessionRemainingCalculator, paceProvider);
     LeftRearTyre   = new WheelStatusViewModel(true, sessionRemainingCalculator, paceProvider);
     RightFrontTyre = new WheelStatusViewModel(false, sessionRemainingCalculator, paceProvider);
     RightRearTyre  = new WheelStatusViewModel(false, sessionRemainingCalculator, paceProvider);
 }