[chronojump] Exhibition uploads inertial encoder data



commit 80542ea26d8b8711eae5709d88f118c1aae1b4d9
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Feb 25 01:02:27 2019 +0100

    Exhibition uploads inertial encoder data

 src/gui/encoder.cs | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 29ef6e87..76e144bd 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -6977,6 +6977,15 @@ public partial class ChronoJumpWindow
                                                                                        js.ResultMessage);
                                                        }
                                                }
+                                               else if(configChronojump.Exhibition &&
+                                                               configChronojump.ExhibitionStationType == 
ExhibitionTest.testTypes.INERTIAL &&
+                                                               encoderCaptureCurves.Count > 0)
+                                               {
+                                                       UploadEncoderDataObject uo = new 
UploadEncoderDataObject(
+                                                                       encoderCaptureCurves, 
lastEncoderSQLSignal.eccon);
+                                                       
uploadExhibitionTest(ExhibitionTest.testTypes.INERTIAL, Convert.ToDouble(uo.pmeanByPower));
+
+                                               }
                                        }
 
                                } else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]