[chronojump] At runInterval end (insert), photocell_l is inserted
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] At runInterval end (insert), photocell_l is inserted
- Date: Thu, 14 Apr 2022 15:38:19 +0000 (UTC)
commit e0dd0f629de254a8b733588ccaae9f9540b2c12f
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Apr 14 17:36:40 2022 +0200
At runInterval end (insert), photocell_l is inserted
src/execute/run.cs | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/execute/run.cs b/src/execute/run.cs
index 70ca9e2ca..4bb21d1eb 100644
--- a/src/execute/run.cs
+++ b/src/execute/run.cs
@@ -1350,7 +1350,8 @@ public class RunIntervalExecute : RunExecute
limitString,
Util.BoolToNegativeInt(simulated),
!startIn, //initialSpeed true if not startIn
- datetime
+ datetime,
+ photocell_l
);
else {
uniqueID = SqliteRunInterval.Insert(false, Constants.RunIntervalTable, "NULL",
personID, sessionID, type,
@@ -1360,12 +1361,13 @@ public class RunIntervalExecute : RunExecute
limitString,
Util.BoolToNegativeInt(simulated),
!startIn,
- datetime
+ datetime,
+ photocell_l
);
//define the created object
eventDone = new RunInterval(uniqueID, personID, sessionID, type, distanceTotal,
timeTotal, distanceInterval, intervalTimesString,
- tracksHere, description, limitString,
Util.BoolToNegativeInt(simulated), !startIn, datetime);
+ tracksHere, description, limitString,
Util.BoolToNegativeInt(simulated), !startIn, datetime, photocell_l);
/*
string tempValuesString;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]