Exemplo n.º 1
0
 // generates the maximum values found in each data field
 public static void Create_Max_Values()
 {
     //creating max values
     Power.Find_Max_Power(Power.power_data);
     Cadence.Find_Max_Cadence(Cadence.cadence_data);
     Speed.Find_Max_Speed(Speed.speed_data);
     Altitude.Find_Max_Altitude(Altitude.alt_data);
     Distance.Find_Total_Ride_Distance(Distance.distance_data);
     Time.Find_Total_Ride_Time(Time.time_data);
 }
Exemplo n.º 2
0
        public static void Generate_Averages()
        {
            //POWER
            Power.Find_Total_Average_Power(Power.power_data);
            Power.Find_Moving_Average_Watts(Power.active_power_data);

            //CADENCE
            Cadence.Find_Total_Average_Cadence(Cadence.cadence_data);
            Cadence.Find_Moving_Average_Cadence(Cadence.active_cadence_data);

            //SPEED
            Speed.Find_Total_Average_Speed(Speed.speed_data);
            Speed.Find_Moving_Average_Speed(Speed.active_speed_data);
        }