Fixed the defect when one instance of the driver gets parked, the info is shared to the other instances.
This commit is contained in:
@@ -493,5 +493,15 @@ namespace ASCOM.Meade.net
|
||||
Count = 0;
|
||||
}
|
||||
}
|
||||
|
||||
public static void SetParked(bool atPark, ParkedPosition parkedPosition)
|
||||
{
|
||||
IsParked = atPark;
|
||||
ParkedPosition = parkedPosition;
|
||||
}
|
||||
|
||||
public static bool IsParked { get; private set; }
|
||||
|
||||
public static ParkedPosition ParkedPosition { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user