public void Setworker(ref FireBird fbworker) { _fbworker = fbworker; }
public EddbData(ref FireBird fbworker) { _fbworker = fbworker; }
public async Task InitFirebird() { if (Eddbworker == null) { AppendStatus("Firebird is waiting for EDDB to finish initialization."); Thread.Sleep(5000); await InitFirebird(); return; } AppendStatus("EDDB has loaded, initializing FBWorker."); FbWorker = new FireBird(); FbWorker.InitDB(); // Wait a bit for Firebird to load up... Thread.Sleep(5000); Eddbworker.Setworker(ref _fbworker); FbWorker.SetEDDB(ref _eddbworker); InitRescueGrid(); return; }