Exemple #1
0
 private void button7_Click(object sender, EventArgs e)
 {
     richTextBox1.Text = richTextBox1.Text + "(移动杆出)调用状态:----->" + It_interface.com_moveout() + "\r\n";
 }
Exemple #2
0
 private void button9_Click(object sender, EventArgs e)
 {
     richTextBox1.Text = richTextBox1.Text + "(原测试使用的回调函数)调用状态:----->" + It_interface.test_callback_stdcall(1) + "\r\n";
 }
Exemple #3
0
 private void button5_Click(object sender, EventArgs e)
 {
     richTextBox1.Text = richTextBox1.Text + "(查询接触情况)调用状态:----->" + It_interface.com_checkstatus() + "\r\n";
 }
Exemple #4
0
 private void button4_Click(object sender, EventArgs e)
 {
     richTextBox1.Text = richTextBox1.Text + "(关闭串口)调用状态:----->" + It_interface.com_close() + "\r\n";
 }
Exemple #5
0
 private void button3_Click(object sender, EventArgs e)
 {
     richTextBox1.Text = richTextBox1.Text + "(打开串口)调用状态:----->" + It_interface.com_open() + "\r\n";
 }
Exemple #6
0
 private void button2_Click(object sender, EventArgs e)
 {
     richTextBox1.Text = richTextBox1.Text + "(串口初始化)调用状态:----->" + It_interface.com_init() + "\r\n";
 }
Exemple #7
0
 private void button1_Click(object sender, EventArgs e)
 {
     richTextBox1.Text = richTextBox1.Text + "(注册回调函数)调用状态:----->" + It_interface.reg_callback_stdcall(CallbackFun) + "\r\n";
 }