Added initial display values bypass for the Autostar 497
This commit is contained in:
@@ -462,13 +462,28 @@ namespace ASCOM.Meade.net
|
|||||||
{
|
{
|
||||||
if (SkipAutoStarPrompts)
|
if (SkipAutoStarPrompts)
|
||||||
{
|
{
|
||||||
var displayText = Action("Handbox", "readdisplay");
|
if (SharedResourcesWrapper.ProductName == TelescopeList.LX200GPS)
|
||||||
if (displayText.Contains("Daylight"))
|
|
||||||
{
|
{
|
||||||
for(var i = 0; i < 3; i++)
|
var displayText = Action("Handbox", "readdisplay");
|
||||||
|
if (displayText.Contains("Daylight"))
|
||||||
{
|
{
|
||||||
Action("Handbox", "enter");
|
for (var i = 0; i < 3; i++)
|
||||||
_utilities.WaitForMilliseconds(2000);
|
{
|
||||||
|
Action("Handbox", "enter");
|
||||||
|
_utilities.WaitForMilliseconds(2000);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user