private void Btn_StopJog_Click(object sender, EventArgs e) { IStageCommand jog = new MotorizedStage.Commands.Jog(1); if (stage.TrySendCommand(jog)) { DisplayStageErrors(); } }
private void Control_StopWalk(object sender, MouseEventArgs e) { IStageCommand walk = new MotorizedStage.Commands.Jog(1); if (stage.TrySendCommand(walk)) { DisplayStageErrors(); } }
private void Control_JogNegative(object sender, EventArgs e) { IStageCommand jog = new MotorizedStage.Commands.Jog(1, -Numeric_JogVelocityPercent.Value); if (stage.TrySendCommand(jog)) { DisplayStageErrors(); } }
private void Control_WalkNegative(object sender, MouseEventArgs e) { IStageCommand walk = new MotorizedStage.Commands.Jog(1, -100); //TODO implement adjustable speed. if (stage.TrySendCommand(walk)) { DisplayStageErrors(); } }