Removed the AL command as I think it's failing

This commit is contained in:
2022-05-07 10:00:57 +01:00
parent 1949c50764
commit 885edba1c5
+11 -11
View File
@@ -177,7 +177,7 @@ namespace ASCOM.Meade.net
{ {
get get
{ {
LogMessage("SupportedActions Get", "Returning empty arraylist"); LogMessage("SupportedActions Get", "Returning Actions Array");
var supportedActions = new ArrayList {"handbox", "site"}; var supportedActions = new ArrayList {"handbox", "site"};
return supportedActions; return supportedActions;
} }
@@ -1750,16 +1750,16 @@ namespace ASCOM.Meade.net
else else
{ {
LogMessage("Park", $"Parking LX200 Classic"); LogMessage("Park", $"Parking LX200 Classic");
LogMessage("Park", $"Setting Telescope to land targets."); //LogMessage("Park", $"Setting Telescope to land targets.");
try //try
{ //{
SharedResourcesWrapper.SendBlind("AL"); //todo need to route this to the real commands. // SharedResourcesWrapper.SendBlind("AL"); //todo need to route this to the real commands.
_utilities.WaitForMilliseconds(1000); //Need to wait 1 second according to old driver. // _utilities.WaitForMilliseconds(1000); //Need to wait 1 second according to old driver.
} //}
catch (Exception ex) //catch (Exception ex)
{ //{
LogMessage("Park", $"AL command failed: {ex.Message}"); // LogMessage("Park", $"AL command failed: {ex.Message}");
} //}
var parkAlt = AlignmentMode == AlignmentModes.algAltAz ? 0 : 90 - SiteLatitude; var parkAlt = AlignmentMode == AlignmentModes.algAltAz ? 0 : 90 - SiteLatitude;
LogMessage("Park", $"Slewing to park position az:0 alt:{parkAlt}"); LogMessage("Park", $"Slewing to park position az:0 alt:{parkAlt}");