Exemplo n.º 1
0
        public void Disconnect()
        {
            if (commandSender.Connected)
            {
                commandSender.Disconnect();
            }
            if (navigationDataRetriever.Connected)
            {
                navigationDataRetriever.Disconnect();
            }
            if (videoDataRetriever.Connected)
            {
                videoDataRetriever.Disconnect();
            }

            ResetFlightVariables();
        }
Exemplo n.º 2
0
 public void Disconnect()
 {
     if (commandSender.Connected)
     {
         commandSender.Disconnect();
     }
     if (controlInfoRetriever.Connected)
     {
         controlInfoRetriever.Disconnect();
     }
     if (navigationDataRetriever.Connected)
     {
         navigationDataRetriever.Disconnect();
     }
     if (videoDataRetriever.Connected)
     {
         videoDataRetriever.Disconnect();
     }
 }