Modified the deubgging information.

This commit is contained in:
2022-05-06 21:31:12 +01:00
parent 2b7d12fac9
commit 1949c50764
+7 -8
View File
@@ -1750,17 +1750,16 @@ namespace ASCOM.Meade.net
else
{
LogMessage("Park", $"Parking LX200 Classic");
if (CanSetTracking)
LogMessage("Park", $"Setting Telescope to land targets.");
try
{
LogMessage("Park", $"Parking LX200 Classic - Setting Tracking False");
Tracking = false;
}
else
{
LogMessage("Park", $"Setting Telescope to land targets.");
SharedResourcesWrapper.SendBlind("AL"); //todo need to route this to the real commands.
_utilities.WaitForMilliseconds(1000); //Need to wait 1 second according to old driver.
}
catch (Exception ex)
{
LogMessage("Park", $"AL command failed: {ex.Message}");
}
var parkAlt = AlignmentMode == AlignmentModes.algAltAz ? 0 : 90 - SiteLatitude;
LogMessage("Park", $"Slewing to park position az:0 alt:{parkAlt}");