Class Workout
The workout data entity.
Namespace: UnderDeskBike.Models
Assembly: UnderDeskBike.Data.dll
Syntax
public class Workout : object
Properties
AverageRotationsPerMinute
Gets or sets the average rotations per minute.
public double AverageRotationsPerMinute { get; set; }
Property Type
Double |
AverageSpeedKph
Gets or sets the average speed KPH.
public double AverageSpeedKph { get; set; }
Property Type
Double |
DistanceKms
Gets or sets the distance KMS.
public double DistanceKms { get; set; }
Property Type
Double |
Duration
Gets or sets the duration.
public int Duration { get; set; }
Property Type
Int32 |
EndDateTime
Gets or sets the end date time.
public DateTime EndDateTime { get; set; }
Property Type
DateTime |
Entries
Gets the entries.
public virtual List<WorkoutEntry> Entries { get; }
Property Type
List<WorkoutEntry> |
StartDateTime
Gets or sets the start date time.
public DateTime StartDateTime { get; set; }
Property Type
DateTime |
WorkoutId
Gets or sets the workout identifier.
public int WorkoutId { get; set; }
Property Type
Int32 |
Methods
AveragesFromEntries()
Calculates the averages from the entries.
public void AveragesFromEntries()