Ejemplo n.º 1
0
        private void ManualDebug_Load(object sender, EventArgs e)
        {
            tabControlManualDebug.Width  = this.Width - tabControlManualDebug.Location.X;
            tabControlManualDebug.Height = this.Height - tabControlManualDebug.Location.Y;

            radioButtonRobotDeviceJog.Checked = true;  //默认是Jog模式
            CTextBoxRobotMoveSpeed.Text       = Profile.m_Config.RobotMoveSpeed.ToString();
            CTextBoxJogDistance.Text          = Profile.m_Config.RobotMoveDistance.ToString();
            CTextBoxJogDistanceUm.Text        = Profile.m_Config.RobotMoveDistanceUm.ToString();

            //加载机械臂全局点位
            DGV_RobotGlobalPoint.Rows.Clear();
            LoadRobotGlobalPoints(0, RobotGlobalPointsBefore);
            TimerInitRobotGlobalPointDGV.Start();
        }
Ejemplo n.º 2
0
 private void timer_InitRobotGlobalPointDGV_Tick(object sender, EventArgs e)
 {
     TimerInitRobotGlobalPointDGV.Stop();
     LoadRobotGlobalPoints(RobotGlobalPointsBefore, RobotBase.MAX_GLOBAL_POINTS);
 }