[chronojump] Overriden ToString() on RunInterval (to debug)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Overriden ToString() on RunInterval (to debug)
- Date: Wed, 20 Apr 2022 09:11:25 +0000 (UTC)
commit 9cab90bdb079d8ae4998b63f3a2bedf01ef6dd6e
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Apr 20 11:10:49 2022 +0200
Overriden ToString() on RunInterval (to debug)
src/run.cs | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
---
diff --git a/src/run.cs b/src/run.cs
index c392a6351..accb4e438 100644
--- a/src/run.cs
+++ b/src/run.cs
@@ -221,6 +221,22 @@ public class RunInterval : Run
limited, simulated, initialSpeed, datetime, photocell_l);
}
+ //to debug
+ public override string ToString()
+ {
+ return string.Format("uniqueID: {0}, personID: {1}, sessionID: {2}, " +
+ "type: {3}, distanceTotal: {4}, timeTotal: {5}, " +
+ "distanceInterval: {6}, intervalTimesString: {7}, " +
+ "tracks: {8}, description: {9}, " +
+ "limited: {10}, simulated: {11}, initialSpeed: {12}, " +
+ "datetime: {13}, photocell_l: {14}",
+ uniqueID, personID, sessionID,
+ type, distanceTotal, timeTotal,
+ distanceInterval, intervalTimesString,
+ tracks, description,
+ limited, simulated, initialSpeed, datetime, photocell_l);
+ }
+
//this discards RSA
public static string GetSprintPositions(double distanceInterval, string intervalTimesString, string
distancesString)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]