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