public void Stop() { State.Reset(); if (CurrentThread != null) { CurrentThread.Abort(); } }
/// <summary> /// Lässt den Programmablauf unterbrechen/pausieren /// </summary> /// <param name="time">Zeit in Sekunden</param> public void Break(float time) { CurrentThread.Abort(new BotSleepException(time)); }
public void Stop() { CurrentThread.Abort(); }
public override void Stop() { CurrentThread?.Abort(); Device.StopRead(); StatusChanged?.Invoke(this, false); }