Add support for the IsGuiding function

This commit is contained in:
2022-04-28 21:29:36 +01:00
parent 826f887bdf
commit 1a66f41d78
+4 -4
View File
@@ -1577,10 +1577,10 @@ namespace ASCOM.Meade.net
{ {
get get
{ {
//Todo implement this if I can make the new pulse guiding async var isGuiding = SharedResourcesWrapper.IsGuiding;
LogMessage("IsPulseGuiding Get", "pulse guiding is synchronous for this driver"); LogMessage("IsPulseGuiding Get", $"result = {isGuiding}");
return isGuiding;
//throw new ASCOM.PropertyNotImplementedException("IsPulseGuiding", false); //throw new ASCOM.PropertyNotImplementedException("IsPulseGuiding", false);
return false;
} }
} }
@@ -1764,7 +1764,7 @@ namespace ASCOM.Meade.net
var coordinatesBeforeMove = GetTelescopeRaAndDec(); var coordinatesBeforeMove = GetTelescopeRaAndDec();
if (_userNewerPulseGuiding && duration < 10000) if (_userNewerPulseGuiding)
{ {
string d = string.Empty; string d = string.Empty;
switch (direction) switch (direction)