private void button25_Click(object sender, EventArgs e)
 {
     if (int.Parse(textBox9.Text) > 64)
     {
         MessageBox.Show("批量读取int32最多支持64个!");
         return;
     }
     try
     {
         OperateResult <int[]> read = keyenceNanoSerial.ReadInt32(textBox6.Text, ushort.Parse(textBox9.Text));
         if (read.IsSuccess)
         {
             string result = "";
             for (int i = 0; i < read.Content.Length; i++)
             {
                 result += read.Content[i].ToString() + ",";
             }
             textBox10.Text = "Result:" + result;
         }
         else
         {
             MessageBox.Show("Read Failed:" + read.ToMessageShowString());
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("Read Failed:" + ex.Message);
     }
 }
 private void button_read_int_Click(object sender, EventArgs e)
 {
     // 读取int变量
     DemoUtils.ReadResultRender(keyenceNanoSerial.ReadInt32(textBox3.Text), textBox3.Text, textBox4);
 }