void exposureReset() { if (comHandler.connected == false) { MessageBox.Show("Please connect first!"); return; } exposureState = ExposureState.idle; exposureTimer.Stop(); comHandler.sendLaser(false); comHandler.sendScanner(false); comHandler.sendStepper(0);//go home onStepperReady = null; onMachineReady = null; statusTimer.Start(); continueButton.Text = "Continue"; }
private void laserOnButton_Click(object sender, EventArgs e) { comHandler.sendLaser(true); }