/* */
        private void DeactivateFingerprinting()
        {
            try
            {
                IndoorPositioningClient.SetModeAsIdle();

                /* Change the color of the fingerprinting ellipse */
                FingerprintingBrush = new SolidColorBrush(Colors.Red);
            }
            catch (Exception ex) { MessageBox.Show(ex.Message); }
        }
Beispiel #2
0
        private void mnItemFingerprinting_Click(object sender, RoutedEventArgs e)
        {
            /* Set the mode as idle */
            try
            {
                IndoorPositioningClient.SetModeAsIdle();
            }
            catch (Exception ex) { MessageBox.Show(ex.Message); }

            DisposeContent();
            var screen = new FingerprintingScreen();

            content.Content = screen;
        }
Beispiel #3
0
 private void StopPositioning()
 {
     try
     {
         IndoorPositioningClient.SetModeAsIdle();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
     try { positioningThread.Abort(); }
     catch { }
     try { positioningThread = null; }
     catch { }
 }