Under Desk Bike

    Show / Hide Table of Contents

    Class WorkoutEntry

    The workout sample entry.

    Inheritance
    object
    WorkoutEntry
    Namespace: UnderDeskBike.Models
    Assembly: UnderDeskBike.Data.dll
    Syntax
    public class WorkoutEntry

    Properties

    | Improve this Doc View Source

    DistanceKms

    Gets or sets the distance in KMs.

    public double DistanceKms { get; set; }
    Property Type
    double
    | Improve this Doc View Source

    Duration

    Gets or sets the workout time.

    public int Duration { get; set; }
    Property Type
    int
    | Improve this Doc View Source

    RotationsPerMinute

    Gets or sets the rotations per minute.

    public int RotationsPerMinute { get; set; }
    Property Type
    int
    | Improve this Doc View Source

    Second

    Gets or sets the second. This is a value from 0-59 from the bike.

    public int Second { get; set; }
    Property Type
    int
    | Improve this Doc View Source

    SpeedKph

    Gets or sets the speed in KPH.

    public double SpeedKph { get; set; }
    Property Type
    double
    | Improve this Doc View Source

    SpeedValue

    Gets or sets the speed value (0 to 9).

    public int SpeedValue { get; set; }
    Property Type
    int
    | Improve this Doc View Source

    Timestamp

    Gets or sets the timestamp.

    public DateTime Timestamp { get; set; }
    Property Type
    DateTime
    | Improve this Doc View Source

    Workout

    Gets or sets the workout.

    [ForeignKey("WorkoutId")]
    public virtual Workout Workout { get; set; }
    Property Type
    Workout
    | Improve this Doc View Source

    WorkoutEntryId

    Gets or sets the workout entry identifier.

    [Key]
    public int WorkoutEntryId { get; set; }
    Property Type
    int
    | Improve this Doc View Source

    WorkoutId

    Gets or sets the workout identifier.

    public int WorkoutId { get; set; }
    Property Type
    int
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2021 by Wayne Venables