private void OnPageSpecificTrainer(SpecificTrainerPage page, uint counter) { System.Threading.Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture; AntManagerState.Instance.CyclistPower = page.InstantaneousPower; AntManagerState.WriteToMemory(); }
private static void FitnessEquipmentDisplay_SpecificTrainerPage(SpecificTrainerPage arg1, uint arg2) { Console.WriteLine("Event " + arg2 + ": " + arg1.InstantaneousPower + " Power"); usValue = arg1.InstantaneousPower; }