Exemple #1
0
 private void ClearAdditionalValues()
 {
     WahooFF00Values.Clear();
     WahooFF01Values.Clear();
     ActivityValues.Clear();
     FileIdValues.Clear();
     DeviceInfoValues.Clear();
     WorkoutValues.Clear();
     FieldDescriptionValues.Clear();
     DeveloperDataIdValues.Clear();
     EventValues.Clear();
     SportValues.Clear();
 }
Exemple #2
0
        static void HandleWahooFF01(MesgEventArgs e)
        {
            WahooFF01Values values = new WahooFF01Values();
            object          value;

            int i = 0;

            foreach (Field field in e.mesg.Fields)
            {
                for (int j = 0; j < field.GetNumValues(); j++)
                {
                    value = field.GetValue(j);
                    values.SetValue(field.Num, j, value);
                }

                i++;
            }
            DataManager.Instance.WahooFF01Values.Add(values);
        }