Added initial display values bypass for the Autostar 497

This commit is contained in:
2021-04-22 21:40:07 +01:00
parent e4af93dd07
commit ed84313c2e
+15
View File
@@ -461,6 +461,8 @@ namespace ASCOM.Meade.net
private void ApplySkipAutoStarPrompts(string connect)
{
if (SkipAutoStarPrompts)
{
if (SharedResourcesWrapper.ProductName == TelescopeList.LX200GPS)
{
var displayText = Action("Handbox", "readdisplay");
if (displayText.Contains("Daylight"))
@@ -472,6 +474,19 @@ namespace ASCOM.Meade.net
}
}
}
else if (SharedResourcesWrapper.ProductName == TelescopeList.Autostar497)
{
var displayText = Action("Handbox", "readdisplay");
if (displayText.Contains("€Press 0 to Alignor MODE for Menu"))
{
for (var i = 0; i < 4; i++)
{
Action("Handbox", "mode");
_utilities.WaitForMilliseconds(500);
}
}
}
}
}
private void SetTelescopePrecision(string propertyName)