示例#1
0
        private void test2()
        {
            // the next we want write data
            bool[]        values = new bool[] { true, false, true, true, false, true, false, true, true, false };
            OperateResult read   = melsecA3C.Write("M100", values);

            if (read.IsSuccess)
            {
                // success
            }
            else
            {
                // failed
            }
        }
示例#2
0
 private void button24_Click(object sender, EventArgs e)
 {
     // bool写入
     DemoUtils.WriteResultRender(() => melsecA3C.Write(textBox8.Text, bool.Parse(textBox7.Text)), textBox8.Text);
 }