[chronojump] Some comments for mean speed, mean force on encoder SQL



commit 57a27bdc799604d193d9b748d7222b456b1f1b1b
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Oct 16 17:00:34 2017 +0200

    Some comments for mean speed, mean force on encoder SQL

 src/encoder.cs        |    6 +++---
 src/sqlite/encoder.cs |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/encoder.cs b/src/encoder.cs
index 9f2ffba..087a9eb 100644
--- a/src/encoder.cs
+++ b/src/encoder.cs
@@ -648,9 +648,9 @@ public class EncoderSQL
                this.status = status;
                this.videoURL = videoURL;
                this.encoderConfiguration = encoderConfiguration;
-               this.future1 = future1; //on curves: meanPower
-               this.future2 = future2;
-               this.future3 = future3;
+               this.future1 = future1; //on curves: meanPower. Better use alter table
+               this.future2 = future2; //on curves: meanSpeed
+               this.future3 = future3; //on curves: meanForce
                this.exerciseName = exerciseName;
 
                if(eccon == "c")
diff --git a/src/sqlite/encoder.cs b/src/sqlite/encoder.cs
index 8c94667..dded99c 100644
--- a/src/sqlite/encoder.cs
+++ b/src/sqlite/encoder.cs
@@ -599,7 +599,7 @@ class SqliteEncoder : Sqlite
                        "signalID INT, " +
                        "curveID INT, " +
                        "msCentral INT, " +
-                       "future1 TEXT )";
+                       "future1 TEXT )"; //need future2, future3. Better to use alter table here and on 
encoder table
                dbcmd.ExecuteNonQuery();
        }
        


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