public async Task <bool> AutoSelectGuideStar(CancellationToken token) { if (Guider?.Connected == true) { var result = await Guider?.AutoSelectGuideStar(); await Task.Delay(TimeSpan.FromSeconds(5), token); return(result); } else { return(false); } }
public async Task <bool> AutoSelectGuideStar(CancellationToken token) { if (Guider?.Connected == true) { var result = await Guider?.AutoSelectGuideStar(); await Task.Delay(TimeSpan.FromSeconds(5), token); return(result); } else { return(false); } }