Exemple #1
0
 public void Resume()
 {
     if (State == State.Paused)
     {
         Clk.Start();
         State = State.On;
     }
 }
Exemple #2
0
 public void PowerOn()
 {
     if (State == State.Off)
     {
         Clk.Start();
         State = State.On;
     }
 }