Ejemplo n.º 1
0
 public void OffFor(int duration)
 {
     ControlPlane.Command cmd = new ControlPlane.Command(ControlPlane.CommandLedOffFor, Index);
     cmd.AppendParameter(duration);
     control.SendCommand(cmd);
     State    = ControlPlane.On;      // Off temporarily
     Blinking = false;
 }
Ejemplo n.º 2
0
 public void StartBlinking(int duration)
 {
     ControlPlane.Command cmd = new ControlPlane.Command(ControlPlane.CommandLedBlink, Index);
     cmd.AppendParameter(duration);
     control.SendCommand(cmd);
     State    = ControlPlane.On;
     Blinking = true;
 }