Added logging to MoxingAxis call to see if a telescope axis is moving
This commit is contained in:
@@ -2320,9 +2320,15 @@ namespace ASCOM.Meade.net
|
|||||||
private bool MovingAxis()
|
private bool MovingAxis()
|
||||||
{
|
{
|
||||||
if (SharedResourcesWrapper.IsGuiding)
|
if (SharedResourcesWrapper.IsGuiding)
|
||||||
|
{
|
||||||
|
LogMessage("MovingAxis", $"Result = false (guiding is true)");
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return SharedResourcesWrapper.MovingPrimary || SharedResourcesWrapper.MovingSecondary;
|
var movingAxis = SharedResourcesWrapper.MovingPrimary || SharedResourcesWrapper.MovingSecondary;
|
||||||
|
|
||||||
|
LogMessage("MovingAxis", $"Result = {movingAxis} Primary={SharedResourcesWrapper.MovingPrimary} Secondary={SharedResourcesWrapper.MovingSecondary}");
|
||||||
|
return movingAxis;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Slewing
|
public bool Slewing
|
||||||
|
|||||||
Reference in New Issue
Block a user