コード例 #1
0
 /// <summary>
 /// calculates power balance
 /// </summary>
 /// <param name="list"></param>
 /// <returns></returns>
 public double CalculatePowerBalance(Dictionary <string, object> list) => Summary.FindAverage(list["speed"] as List <string>);
コード例 #2
0
 /// <summary>
 /// calculates functional threshold
 /// </summary>
 /// <param name="list"></param>
 /// <returns></returns>
 public double CalculateFunctionalThresholdPower(Dictionary <string, object> list) => Summary.FindAverage((List <string>)list["watt"]) * 0.95;