Exemple #1
0
        /// <summary>
        /// constructor
        /// </summary>
        public TcxLap(string dateTimeString)
        {
            // init list of tracks
            this.tracks = new List <TcxTrack>();

            // init fields
            this.startTime = TcxUtility.ToFitTime(dateTimeString);
            this.timestamp = this.startTime.GetTimeStamp();
        }
Exemple #2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="dateTimeString"></param>
        public TcxActivity(string dateTimeString)
        {
            // create new List of laps
            this.laps = new List <TcxLap>();

            // init fields
            this.id             = TcxUtility.ToFitTime(dateTimeString);
            this.timestamp      = TcxUtility.ToFitTime(dateTimeString).GetTimeStamp();
            this.LocalTimestamp = this.Timestamp;
        }
Exemple #3
0
        //public string SensorState { get; set; }
        //Field1 Index0 ("PositionLat" Field#0) Value: 123811718 (raw value 123811718)
        //Field2 Index0 ("PositionLong" Field#1) Value: 1277884156 (raw value 1277884156)

        //Field8 Index0 ("HeartRate" Field#3) Value: 88 (raw value 88)
        //Field9 Index0 ("Cadence" Field#4) Value: 54 (raw value 54)
        //Field10 Index0 ("Temperature" Field#13) Value: 33 (raw value 33)
        //Field11 Index0 ("FractionalCadence" Field#53) Value: 0 (raw value 0)
        //Field12 Index0 ("EnhancedAltitude" Field#78) Value: 7.2 (raw value 2536)
        //Field13 Index0 ("EnhancedSpeed" Field#73) Value: 1.726 (raw value 1726)

        /// <summary>
        /// constructor
        /// </summary>
        public TcxTrackPoint(string dateTimeString)
        {
            this.positions = new List <TcxPosition>();
            this.timestamp = TcxUtility.ToFitTime(dateTimeString).GetTimeStamp();
        }