Class WorkoutEntry
The workout sample entry.
Namespace: UnderDeskBike .Models
Assembly: UnderDeskBike.Data.dll
Syntax
public class WorkoutEntry
Properties
| Improve this Doc View SourceDistanceKms
Gets or sets the distance in KMs.
public double DistanceKms { get; set; }
Property Type
| Improve this Doc View SourceDuration
Gets or sets the workout time.
public int Duration { get; set; }
Property Type
| Improve this Doc View SourceRotationsPerMinute
Gets or sets the rotations per minute.
public int RotationsPerMinute { get; set; }
Property Type
| Improve this Doc View SourceSecond
Gets or sets the second. This is a value from 0-59 from the bike.
public int Second { get; set; }
Property Type
| Improve this Doc View SourceSpeedKph
Gets or sets the speed in KPH.
public double SpeedKph { get; set; }
Property Type
| Improve this Doc View SourceSpeedValue
Gets or sets the speed value (0 to 9).
public int SpeedValue { get; set; }
Property Type
| Improve this Doc View SourceTimestamp
Gets or sets the timestamp.
public DateTime Timestamp { get; set; }
Property Type
| Improve this Doc View SourceWorkout
Gets or sets the workout.
[ForeignKey("WorkoutId")]
public virtual Workout Workout { get; set; }
Property Type
| Improve this Doc View SourceWorkoutEntryId
Gets or sets the workout entry identifier.
[Key]
public int WorkoutEntryId { get; set; }
Property Type
| Improve this Doc View SourceWorkoutId
Gets or sets the workout identifier.
public int WorkoutId { get; set; }