예제 #1
0
 private void ReadCard()
 {
     ActionType = WRITETYPE.CARD;
     if (!SystemPub.ADRcp.SendBytePkt(PassiveRcp.Read6C(SystemPub.ADRcp.Address, 1, (byte)intAddr, (byte)intlen)))
     {
     }
 }
예제 #2
0
        private void btnRead_Click(object sender, EventArgs e)
        {
            ActionType         = WRITETYPE.DATA;
            btnRead.Enabled    = false;
            utxtReadData.Value = "";
            Application.DoEvents();
            byte mem   = Convert.ToByte(cmbReadBlock.SelectedIndex);
            byte state = Convert.ToByte(ltxtReadAddress.Text);
            byte len   = Convert.ToByte(ltxtReadLength.Text);

            if (!SystemPub.ADRcp.SendBytePkt(PassiveRcp.Read6C(SystemPub.ADRcp.Address, mem, state, len)))
            {
            }
            btnRead.Enabled = true;
        }