コード例 #1
0
        private void button6_Click(object sender, EventArgs e)
        {
            // 读取型号
            OperateResult <string> readResult = keyence_net.ReadPlcType( );

            if (readResult.IsSuccess)
            {
                MessageBox.Show("Type:" + readResult.Content);
            }
            else
            {
                MessageBox.Show("Failed: " + readResult.ToMessageShowString( ));
            }
        }