Ejemplo n.º 1
0
        private void button5_Click(object sender, EventArgs e)
        {
            OperateResult <string> read = melsecSerial.ReadPlcType( );

            if (read.IsSuccess)
            {
                textBox14.Text = read.Content;
            }
            else
            {
                MessageBox.Show("Read PLC Type failed:" + read.ToMessageShowString( ));
            }
        }