Ejemplo n.º 1
0
        private void Axis_up(object sender, MouseEventArgs e)
        {
            if (comboJogStep.SelectedIndex != 0)
            {
                return;
            }
            if (AxisContinuesJogPressed == null)
            {
                return;
            }
            JogButton b = (JogButton)sender;

            AxisContinuesJogPressed(this, b.Id, 0, 0);
        }
Ejemplo n.º 2
0
        private void AxisNeg_down(object sender, MouseEventArgs e)
        {
            if (comboJogStep.SelectedIndex != 0)
            {
                return;
            }
            if (AxisContinuesJogPressed == null)
            {
                return;
            }
            JogButton b = (JogButton)sender;

            SetCurrentAxis(b.Id);
            AxisContinuesJogPressed(this, b.Id, -1, valueSlideJogSpeedXYZ.Value);
        }
Ejemplo n.º 3
0
        private void AxisPos_click(object sender, EventArgs e)
        {
            if (comboJogStep.SelectedIndex <= 0)
            {
                return;
            }
            if (AxisStepJogPressed == null)
            {
                return;
            }
            JogButton b = (JogButton)sender;

            SetCurrentAxis(b.Id);
            AxisStepJogPressed(this, b.Id, GetSelectedJogStep());
        }
Ejemplo n.º 4
0
        private void AxisNeg_click(object sender, EventArgs e)
        {
            if (comboJogStep.SelectedIndex == 0)
            {
                return;
            }
            if (AxisStepJogPressed == null)
            {
                return;
            }
            JogButton b = (JogButton)sender;

            SetCurrentAxis(b.Id);
            AxisStepJogPressed(this, b.Id, -GetSelectedJogStep(), valueSlideJogSpeedXYZ.Value);
        }
Ejemplo n.º 5
0
        private void AxisPos_down(object sender, MouseEventArgs e)
        {
            if (comboJogStep.SelectedIndex != 0)
            {
                return;
            }
            if (AxisContinuesJogPressed == null)
            {
                return;
            }
            JogButton b = (JogButton)sender;

            SetCurrentAxis(b.Id);
            AxisContinuesJogPressed(this, b.Id, 1);
        }