Added initial display values bypass for the Autostar 497
This commit is contained in:
@@ -461,17 +461,32 @@ 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"))
|
||||||
{
|
{
|
||||||
for(var i = 0; i < 3; i++)
|
for (var i = 0; i < 3; i++)
|
||||||
{
|
{
|
||||||
Action("Handbox", "enter");
|
Action("Handbox", "enter");
|
||||||
_utilities.WaitForMilliseconds(2000);
|
_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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SetTelescopePrecision(string propertyName)
|
private void SetTelescopePrecision(string propertyName)
|
||||||
|
|||||||
Reference in New Issue
Block a user