[chronojump] findMaxPowerSpeedForceIntersession now shows the date on inertial
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] findMaxPowerSpeedForceIntersession now shows the date on inertial
- Date: Tue, 5 Apr 2022 09:06:48 +0000 (UTC)
commit 3ef04ab84f1f73559a4a3a37746f30058f6fc357
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Apr 5 11:06:02 2022 +0200
findMaxPowerSpeedForceIntersession now shows the date on inertial
src/gui/app1/encoder.cs | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/encoder.cs b/src/gui/app1/encoder.cs
index cf03bbecd..18ab01064 100644
--- a/src/gui/app1/encoder.cs
+++ b/src/gui/app1/encoder.cs
@@ -759,11 +759,18 @@ public partial class ChronoJumpWindow
if(encoderConfigurationCurrent.Equals(es.encoderConfiguration))
{
if(Convert.ToDouble(es.future1) > maxPowerIntersession)
+ {
maxPowerIntersession = Convert.ToDouble(es.future1);
- if(Convert.ToDouble(es.future2) > maxSpeedIntersession)
+ maxPowerIntersessionDate = es.GetDateStr();
+ } if(Convert.ToDouble(es.future2) > maxSpeedIntersession)
+ {
maxSpeedIntersession = Convert.ToDouble(es.future2);
- if(Convert.ToDouble(es.future3) > maxForceIntersession)
+ maxSpeedIntersessionDate = es.GetDateStr();
+ } if(Convert.ToDouble(es.future3) > maxForceIntersession)
+ {
maxForceIntersession = Convert.ToDouble(es.future3);
+ maxForceIntersessionDate = es.GetDateStr();
+ }
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]