Added initial display values bypass for the Autostar 497
This commit is contained in:
@@ -461,6 +461,8 @@ namespace ASCOM.Meade.net
|
|||||||
private void ApplySkipAutoStarPrompts(string connect)
|
private void ApplySkipAutoStarPrompts(string connect)
|
||||||
{
|
{
|
||||||
if (SkipAutoStarPrompts)
|
if (SkipAutoStarPrompts)
|
||||||
|
{
|
||||||
|
if (SharedResourcesWrapper.ProductName == TelescopeList.LX200GPS)
|
||||||
{
|
{
|
||||||
var displayText = Action("Handbox", "readdisplay");
|
var displayText = Action("Handbox", "readdisplay");
|
||||||
if (displayText.Contains("Daylight"))
|
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)
|
private void SetTelescopePrecision(string propertyName)
|
||||||
|
|||||||
Reference in New Issue
Block a user