[chronojump] Improvements on runExecuteInspector
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Improvements on runExecuteInspector
- Date: Tue, 20 Mar 2018 07:59:11 +0000 (UTC)
commit 7d2344959f89905131a7baa529834509f3b34b7d
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Mar 20 08:58:40 2018 +0100
Improvements on runExecuteInspector
src/execute/run.cs | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/execute/run.cs b/src/execute/run.cs
index 62dc327..12a006b 100644
--- a/src/execute/run.cs
+++ b/src/execute/run.cs
@@ -701,7 +701,7 @@ public class RunIntervalExecute : RunExecute
"added
(DCFLightTimes: {1} + DCContactTimes: {2}) / n: {3}, " +
"now
timestamp is: {4}",
Math.Round(timestampTemp/1000.0, 3), Math.Round(timestampDCFlightTimes/1000.0, 3),
-
Math.Round(timestampDCContactTimes/1000.0, 3), Math.Round(timestampDCn/1000.0, 3),
+
Math.Round(timestampDCContactTimes/1000.0, 3), timestampDCn,
Math.Round(timestamp/1000.0, 3));
}
@@ -714,7 +714,9 @@ public class RunIntervalExecute : RunExecute
//note in double contacts mode timestamp can have added
DCFlightTimes and DCContactTimes. So contact time is not only on lastTc
double myRaceTime = lastTc + timestamp/1000.0;
- runEI.ChangePhase(RunExecuteInspector.Phases.IN, runEIString
+ "; trackTime: " + Math.Round(myRaceTime, 3));
+ runEI.ChangePhase(RunExecuteInspector.Phases.IN, runEIString +
+ string.Format("; timestamp: {0};
<b>trackTime: {1}</b>",
+ Math.Round(timestamp/1000.0, 3),
Math.Round(myRaceTime, 3)));
LogB.Information(string.Format("RACE ({0}) TC: {1}; TV: {2};
TOTALTIME: {3}", tracks, lastTc, timestamp/1000.0, myRaceTime));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]