/// <summary> /// 暂停运动 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button_cycle_stop_Click(object sender, EventArgs e) { if (button_cycle_stop.Text == "暂停") { robot1.Conti_Pause(); button_cycle_stop.Text = "重启"; } else//重启运动控制卡 { robot1.Conti_Restart(); button_cycle_stop.Text = "暂停"; } }