diff --git a/dummy_drone/MainWindow.xaml b/dummy_drone/MainWindow.xaml index 084f0b0..7d41022 100644 --- a/dummy_drone/MainWindow.xaml +++ b/dummy_drone/MainWindow.xaml @@ -296,27 +296,27 @@ - + Width="30" Margin="30,49,13,-39"> + - + Width="30" Grid.ColumnSpan="3" Margin="45,40,35,-30"> + + diff --git a/dummy_drone/MainWindow.xaml.cs b/dummy_drone/MainWindow.xaml.cs index f43891c..3075e4a 100644 --- a/dummy_drone/MainWindow.xaml.cs +++ b/dummy_drone/MainWindow.xaml.cs @@ -136,20 +136,20 @@ namespace dummy_drone nad.NADSearchAtPos(SetLatitudeHP.Text, SetLongitudeHP.Text, SetAltitudeHP.Text, SetRadiusHP.Text); } - private void btnSend_pauseHP(object sender, RoutedEventArgs e) + private void btnSend_warning(object sender, RoutedEventArgs e) { - nad.NADPauseSearchAt(); + nad.NADSendWarning("Battery low"); } - private void btnSend_resumeHP(object sender, RoutedEventArgs e) + private void btnSend_setInterdictionRadius(object sender, RoutedEventArgs e) { - nad.NADResumeSearchAt(); + nad.NADSetInterdictionArea(SetInterdictionRadius.Text); } - private void btnSend_stopHP(object sender, RoutedEventArgs e) - { - nad.NADStopSearchAt(); - } + //private void btnSend_stopHP(object sender, RoutedEventArgs e) + //{ + // nad.NADStopSearchAt(); + //} private void btnSend_startFM(object sender, RoutedEventArgs e) {