public void sendIR(string filename, int commandIndex)
        {
            string irdata = IRDATA.GetIRCommand(filename, commandIndex - 1);

            if (!irdata.Equals(""))
            {
                sendCommand("sendir", "1," + irdata);
            }
        }
 public void ConnectbyIP(string address, string filename, int module, int connector)
 {
     IRDATA.GetIRDataFromFile(filename);
     Connect(address, module, connector);
 }
 public void refreshIRFile(string filename)
 {
     IRDATA.RefreshDATAfromFile(filename);
 }
 public void ConnectbyMac(string mac, string filename, int module, int connector)
 {
     IRDATA.GetIRDataFromFile(filename);
     ConnectbyMac(mac, module, connector);
 }