示例#1
0
 /// <summary>
 /// Sends a command to the TV.
 /// </summary>
 /// <param name="cmd">The type of RemoteCommand. Should be defined in RemoteCommands.</param>
 public static void SendCommand(RemoteCommands cmd)
 {
     _ir.SendCommand(cmd);
 }
示例#2
0
文件: IR.cs 项目: harving/JazzHands
 /// <summary>
 /// Use this to send a command to winLirc.
 /// </summary>
 /// <param name="cmd">Enums for the commands the remote will accept</param>
 internal void SendCommand(RemoteCommands cmd)
 {
     //byte[] messageFromServer =
     SendCommandToServer("SEND_ONCE", @"\CompleteTVRemote.cfg", cmd.ToString(), "1");
 }