[chronojump/FS-TFT-Menu] Overriden ToString() on RunInterval (to debug)
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/FS-TFT-Menu] Overriden ToString() on RunInterval (to debug)
- Date: Wed, 27 Apr 2022 17:18:02 +0000 (UTC)
commit ba67afc74734b421badf943c91e885539f724cca
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]