public override Dictionary <string, object> DumpBasicEventData() { var rv = new Dictionary <string, object>(base.DumpBasicEventData()); rv.Add("Analysis Status", AnalysisStatus.ToString()); rv.Add("Calories From Carbs", CaloriesFromCarbs.ToString()); rv.Add("Calories From Fat", CaloriesFromFat.ToString()); rv.Add("StressBalance", StressBalance.ToString()); rv.Add("Maximal VO2", MaximalVO2.ToString()); rv.Add("Training Effect", TrainingEffect.ToString()); rv.Add("Recovery Time (sec)", RecoveryTime.ToString()); rv.Add("Paused Time", PausedTime.ToString()); rv.Add("Heart Rate at Finish", HeartRate.AtFinish); rv.Add("Recovery Heart Rate after 1 Minute", HeartRate.RecoveryHeartRate1Minute); rv.Add("Recovery Heart Rate after 2 Minutes", HeartRate.RecoveryHeartRate1Minute); rv.Add("Heart Rate Zone - Under", HeartRate.Zones.Under); rv.Add("Heart Rate Zone - Aerobic", HeartRate.Zones.Aerobic); rv.Add("Heart Rate Zone - Anaerobic", HeartRate.Zones.Anaerobic); rv.Add("Heart Rate Zone - FitnessZone", HeartRate.Zones.FitnessZone); rv.Add("Heart Rate Zone - RedLine", HeartRate.Zones.RedLine); rv.Add("Heart Rate Zone - Over", HeartRate.Zones.Over); return(rv); }
public void Validate() { FoodItem.ValidateRequired("FoodItem"); ServingSize.ValidateOptional("ServingSize"); ServingsConsumed.ValidateOptional("ServingsConsumed"); Meal.ValidateOptional("Meal"); When.ValidateOptional("When"); Calories.ValidateOptional("Calories"); CaloriesFromFat.ValidateOptional("CaloriesFromFat"); TotalFat.ValidateOptional("TotalFat"); SaturatedFat.ValidateOptional("SaturatedFat"); MonounsaturatedFat.ValidateOptional("MonounsaturatedFat"); }