Пример #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 scannerOnButton_Click(object sender, EventArgs e)
 {
     comHandler.sendScanner(true);
 }