[chronojump] Added to enc.cap. R: start, duration and pp/ppt
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Added to enc.cap. R: start, duration and pp/ppt
- Date: Mon, 13 Jan 2014 12:24:04 +0000 (UTC)
commit 80f452fb03f0886b089cce1c4b0dcddcd30c4efc
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Jan 13 13:23:03 2014 +0100
Added to enc.cap. R: start, duration and pp/ppt
src/gui/encoder.cs | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 4fbdbdd..4c33f28 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -4073,11 +4073,14 @@ Log.WriteLine(str);
"meanPower: {4}\npeakPower: {5}\npeakPowerT: {6}",
height, meanSpeed, maxSpeed, speedT1, meanPower, peakPower,
peakPowerT));
- encoderCaptureStringR +=
string.Format("\n{0},2,a,3,4,5,{1},{2},{3},{4},{5},{6},{7},6,7",
+ encoderCaptureStringR +=
string.Format("\n{0},2,a,3,{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},7",
ecca.curvesAccepted +1,
+ ecc.startFrame, ecc.endFrame-ecc.startFrame,
Util.ConvertToPoint(height*10), //cm
Util.ConvertToPoint(meanSpeed), Util.ConvertToPoint(maxSpeed),
speedT1,
- Util.ConvertToPoint(meanPower), Util.ConvertToPoint(peakPower),
Util.ConvertToPoint(peakPowerT*1000) );
+ Util.ConvertToPoint(meanPower), Util.ConvertToPoint(peakPower),
+ Util.ConvertToPoint(peakPowerT*1000), Util.ConvertToPoint(peakPower /
peakPowerT)
+ );
treeviewEncoderCaptureRemoveColumns();
ecca.curvesAccepted = createTreeViewEncoderCapture(encoderCaptureStringR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]