示例#1
0
        private void button6_Click(object sender, EventArgs e)
        {
            // read cpu status
            OperateResult <OmronCpuUnitStatus> read = omronFinsNet.ReadCpuUnitStatus( );

            if (read.IsSuccess)
            {
                textBox4.Text = read.Content.ToJsonString( );
            }
            else
            {
                MessageBox.Show("read failed:" + read.Message);
            }
        }