Class Workout
The workout data entity.
Namespace: UnderDeskBike.Models
Assembly: UnderDeskBike.Data.dll
Syntax
public class Workout
Properties
| Improve this Doc View SourceAverageRotationsPerMinute
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
int |
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.
[Key]
public int WorkoutId { get; set; }
Property Type
int |
Methods
| Improve this Doc View SourceAveragesFromEntries()
Calculates the averages from the entries.
public void AveragesFromEntries()