[chronojump] Fixed weight on Jump creation at SqliteJump.DataReaderToJump
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed weight on Jump creation at SqliteJump.DataReaderToJump
- Date: Thu, 2 Jan 2020 12:18:25 +0000 (UTC)
commit 02acd5299afbc896b84d4f7bbfb5e358bffd4e82
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Jan 2 12:27:23 2020 +0100
Fixed weight on Jump creation at SqliteJump.DataReaderToJump
src/sqlite/jump.cs | 42 +++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)
---
diff --git a/src/sqlite/jump.cs b/src/sqlite/jump.cs
index 5cff7c97..35cc674c 100644
--- a/src/sqlite/jump.cs
+++ b/src/sqlite/jump.cs
@@ -307,28 +307,28 @@ class SqliteJump : Sqlite
List<Jump> jmp_l = new List<Jump>();
Jump jmp;
- LogB.Information("Imprimire Jumps:");
+ LogB.Information("Imprimire Jumps:");
while(reader.Read()) {
- jmp = new Jump (
- Convert.ToInt32(reader[0].ToString()), //uniqueID
- Convert.ToInt32(reader[1].ToString()), //personID
- Convert.ToInt32(reader[2].ToString()), //sessionID
- reader[3].ToString(), //type
- Convert.ToDouble(Util.ChangeDecimalSeparator(
- reader[4].ToString())), //tv
- Convert.ToDouble(Util.ChangeDecimalSeparator(
- reader[5].ToString())), //tc
- Convert.ToDouble(Util.ChangeDecimalSeparator(
- reader[6].ToString())), //fall
- Convert.ToDouble(Util.ChangeDecimalSeparator(
- reader[6].ToString())), //weight
- reader[8].ToString(), // description
- Convert.ToDouble(Util.ChangeDecimalSeparator(
- reader[9].ToString())), //angle
- Convert.ToInt32(reader[10].ToString())); //simulated
-
- jmp_l.Add(jmp);
- LogB.Information(jmp.ToString());
+ jmp = new Jump (
+ Convert.ToInt32(reader[0].ToString()), //uniqueID
+ Convert.ToInt32(reader[1].ToString()), //personID
+ Convert.ToInt32(reader[2].ToString()), //sessionID
+ reader[3].ToString(), //type
+ Convert.ToDouble(Util.ChangeDecimalSeparator(
+ reader[4].ToString())), //tv
+ Convert.ToDouble(Util.ChangeDecimalSeparator(
+ reader[5].ToString())), //tc
+ Convert.ToDouble(Util.ChangeDecimalSeparator(
+ reader[6].ToString())), //fall
+ Convert.ToDouble(Util.ChangeDecimalSeparator(
+ reader[7].ToString())), //weight
+ reader[8].ToString(), // description
+ Convert.ToDouble(Util.ChangeDecimalSeparator(
+ reader[9].ToString())), //angle
+ Convert.ToInt32(reader[10].ToString())); //simulated
+
+ jmp_l.Add(jmp);
+ LogB.Information(jmp.ToString());
}
return jmp_l;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]