protected void Update() { airspeedLabel.Content = iAirspeed.GetValue().ToString(); headingLabel.Content = heading.GetValue().ToString("000"); altitudeLabel.Content = altitude.GetValue().ToString(); pauseButton.Content = paused.GetValue() ? "Paused" : "Pause"; pauseButton.IsEnabled = !paused.GetValue() && connected; }