Пример #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            OperateResult <ushort, byte[]> read = omronCipNet.ReadTag(textBox3.Text, int.Parse(textBox7.Text));

            if (!read.IsSuccess)
            {
                MessageBox.Show("Read failed! " + read.Message);
            }
            else
            {
                textBox4.Text = read.Content1.ToString("X");
                textBox5.Text = read.Content2.ToHexString(' ');
            }
        }