From 5aec81b45f4d5395e22bd518c0f31669075aa3b7 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 24 Aug 2019 17:30:28 +0100 Subject: [PATCH] Adding log message when making connections using a telescope device to show that if it's the first or secondary connection. --- Meade.net.Telescope/Telescope.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Meade.net.Telescope/Telescope.cs b/Meade.net.Telescope/Telescope.cs index 0ddd71b..7348139 100644 --- a/Meade.net.Telescope/Telescope.cs +++ b/Meade.net.Telescope/Telescope.cs @@ -388,6 +388,7 @@ namespace ASCOM.Meade.net if (connectionInfo.SameDevice == 1) { + LogMessage("Connected Set", $"Making first connection telescope adjustments"); //These settings are applied only when the first device connects to the telescope. SetLongFormat(true); @@ -398,6 +399,10 @@ namespace ASCOM.Meade.net SetTelescopePrecision("Connect"); } + else + { + LogMessage("Connected Set", $"Skipping first connection telescope adjustments (current connections: {connectionInfo.SameDevice}"); + } } catch (Exception) {