예제 #1
0
 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";
 }
예제 #2
0
 private void laserOnButton_Click(object sender, EventArgs e)
 {
     comHandler.sendLaser(true);
 }