Ejemplo n.º 1
0
        private void tmrClock_Tick(object sender, EventArgs e)
        {
            if (SystemPub.ADRcp.CommMode == ADSDK.Device.CommMode.ACTIVE)
            {
                if (btnStart.Visible)
                {
                    btnStart.Visible = false;
                }
            }
            else
            {
                if (!btnStart.Visible)
                {
                    btnStart.Visible = true;
                }
            }

            if (IsStart)
            {
                if (IniSettings.Communication == CommType.USB)
                {
                    PassiveCommand.Identify6C(SystemPub.ADRcp);
                    //if (!SystemPub.ADRcp.SendBytePkt(PassiveRcp.Identify6C(SystemPub.ADRcp.Address))) { }
                }
                else
                {
                    PassiveCommand.Identify6CMult(SystemPub.ADRcp);
                    //if (!SystemPub.ADRcp.SendBytePkt(PassiveRcp.Identify6CMult(SystemPub.ADRcp.Address))) { }
                }
            }
        }