[chronojump/FS-TFT-Menu] findMaxPowerSpeedForceIntersession implements repCriteria
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/FS-TFT-Menu] findMaxPowerSpeedForceIntersession implements repCriteria
- Date: Wed, 20 Apr 2022 11:59:23 +0000 (UTC)
commit 2086dce7a0f95bc4e65f437aadc290c2c283df23
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Apr 8 12:30:21 2022 +0200
findMaxPowerSpeedForceIntersession implements repCriteria
src/gui/app1/encoder.cs | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/app1/encoder.cs b/src/gui/app1/encoder.cs
index 26b9839bd..1663426f5 100644
--- a/src/gui/app1/encoder.cs
+++ b/src/gui/app1/encoder.cs
@@ -734,10 +734,12 @@ public partial class ChronoJumpWindow
foreach(EncoderSQL es in arrayTemp)
{
if(
- (encGI == Constants.EncoderGI.GRAVITATORY &&
-
Util.SimilarDouble(Convert.ToDouble(Util.ChangeDecimalSeparator(es.extraWeight)), extraWeight)) ||
- (encGI == Constants.EncoderGI.INERTIAL &&
- encoderConfigurationCurrent.Equals(es.encoderConfiguration))
+ ( encGI == Constants.EncoderGI.GRAVITATORY &&
+ es.repCriteria == preferences.encoderRepetitionCriteriaGravitatory &&
+
Util.SimilarDouble(Convert.ToDouble(Util.ChangeDecimalSeparator(es.extraWeight)), extraWeight) ) ||
+ ( encGI == Constants.EncoderGI.INERTIAL &&
+ es.repCriteria == preferences.encoderRepetitionCriteriaInertial &&
+ encoderConfigurationCurrent.Equals(es.encoderConfiguration) )
) {
if(Convert.ToDouble(es.future1) > maxPowerIntersession)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]