Adding log message when making connections using a telescope device to show that if it's the first or secondary connection.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user