public void TestInit() { ServiceContainer.Instance.ClearAllServices(); ServiceContainer.Instance.AddService <IFocuserService>(new MockFocuserService()); _mgr = FocuserManager.Instance; _svc = (MockFocuserService)ServiceContainer.Instance.GetService <IFocuserService>(); Globals.UISyncContext = TaskScheduler.Default; }
public DevHubFocuserStatus(FocuserManager mgr) : base(mgr) { }