[chronojump] Fix in last commit
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fix in last commit
- Date: Thu, 9 Mar 2017 12:11:42 +0000 (UTC)
commit 966fbf7a64e0016124f32bcbfedc79b58dbaccb0
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Mar 9 13:11:03 2017 +0100
Fix in last commit
src/gui/encoder.cs | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 9fcc488..0fb2067 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -5127,12 +5127,12 @@ public partial class ChronoJumpWindow
//LogB.Debug("encoderCaptureStringR");
//LogB.Debug(encoderCaptureStringR);
- double meanSpeed = Convert.ToDouble(Util.ChangeDecimalSeparator(strs[2]));
- double maxSpeed = Convert.ToDouble(Util.ChangeDecimalSeparator(strs[3]));
- double meanForce = Convert.ToDouble(Util.ChangeDecimalSeparator(strs[9]));
- double maxForce = Convert.ToDouble(Util.ChangeDecimalSeparator(strs[10]));
- double meanPower = Convert.ToDouble(Util.ChangeDecimalSeparator(strs[5]));
- double peakPower = Convert.ToDouble(Util.ChangeDecimalSeparator(strs[6]));
+ double meanSpeed = Convert.ToDouble(Util.ChangeDecimalSeparator(strs[4]));
+ double maxSpeed = Convert.ToDouble(Util.ChangeDecimalSeparator(strs[5]));
+ double meanForce = Convert.ToDouble(Util.ChangeDecimalSeparator(strs[11]));
+ double maxForce = Convert.ToDouble(Util.ChangeDecimalSeparator(strs[12]));
+ double meanPower = Convert.ToDouble(Util.ChangeDecimalSeparator(strs[7]));
+ double peakPower = Convert.ToDouble(Util.ChangeDecimalSeparator(strs[8]));
captureCurvesBarsData.Add(new EncoderBarsData(meanSpeed, maxSpeed, meanForce,
maxForce, meanPower, peakPower));
LogB.Information("activating needToRefreshTreeviewCapture");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]