Exemplo n.º 1
0
        private void syncParameters()
        {
            processing = true;
            System.Threading.Thread.Sleep(20);

            // Protocol Parameters
            if (!SystemPub.ADRcp.SendBytePkt(PassiveRcp.GetConfig(SystemPub.ADRcp.Address)))
            {
            }

            System.Threading.Thread.Sleep(20);

            if (UserSettings.Communication != UserSettings.CommType.USB)
            {
                if (!SystemPub.ADRcp.SendBytePkt(PassiveRcp.GetTcpip(SystemPub.ADRcp.Address)))
                {
                }
            }
            processing = false;
        }
Exemplo n.º 2
0
 private void btnGetPara_Click(object sender, EventArgs e)
 {
     if (!SystemPub.ADRcp.SendBytePkt(PassiveRcp.GetConfig(SystemPub.ADRcp.Address)))
     {
     }
 }