/// <summary>
 /// Stops measurement
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Stop_B_Click_1(object sender, RoutedEventArgs e)
 {
     IsReading = false;
     countUpTimer.Stop();
     Start_B.Visibility      = Visibility.Visible;
     Stop_B.Visibility       = Visibility.Hidden;
     Stop_B_gray.Visibility  = Visibility.Visible;
     Start_B_gray.Visibility = Visibility.Hidden;
 }
示例#2
0
 public void Stop()
 {
     _uut.Start();
     Thread.Sleep(3030);
     _uut.Stop();
     Thread.Sleep(1000);
     Assert.AreEqual(3, _uut.countedTime);
 }