void BrakeRegulator_evNewBrakeSettingCalculated(object sender, NewBrakeSettingCalculatedEventArgs args)
 {
     this.Dispatcher.Invoke(
         new Action<TextBlock, string>((textBox, val)
             => textBox.Text = val),
                 textBlock_steeringBrake,
                 String.Format("{0:0.###}", args.GetBrakeSetting())
     );
 }
 void BrakeRegulator_evNewBrakeSettingCalculated(object sender, NewBrakeSettingCalculatedEventArgs args)
 {
     extentionCardCommunicator.SetBrake(args.GetBrakeSetting());
 }
 private void BrakeRegulator_evNewBrakeSettingCalculated(object sender, NewBrakeSettingCalculatedEventArgs args)
 {
     Model.CarInfo.BrakeSteering = args.GetBrakeSetting();
 }