public void Pause() { if (State == State.On) { Clk.Stop(); State = State.Paused; } }
public void PowerOff() { if (State > 0) { Clk.Stop(); State = State.Off; } }