//关闭看门狗功能 private void Stop_Click(object sender, System.Windows.RoutedEventArgs e) { time_val.Text = ""; if (wdttimer.IsEnabled) { wdttimer.Stop(); } if (watchdog != null) { if (watchdog.MinipcType.Equals("Q500")) { watchdog.StopWatchDog(0xf1, 0x40); } else { watchdog.StopWatchDog(0x72, 0x80); } } WatchDogManager.Instance.Timer = null; WatchDogManager.Instance.WatchDog = null; }