Ejemplo n.º 1
0
 public RemoteCommand.Command GetCommand()
 {
     RemoteCommand.Command CurrentCommand = RemoteCommand.DoSomething;
     RemoteCommand.DoSomething = RemoteCommand.Command.Idle;
     if (CurrentCommand != null)
     {
         return(CurrentCommand);
     }
     else
     {
         RemoteCommand.DoSomething = RemoteCommand.Command.Idle;
     }
     CurrentCommand = RemoteCommand.DoSomething;
     return(CurrentCommand);
 }
Ejemplo n.º 2
0
 public void SendCommand(RemoteCommand.Command Command)
 {
     RemoteCommand.DoSomething = Command;
 }