Exemple #1
0
 private void MotorDetached(object stepper, Phidgets.Events.DetachEventArgs e)
 {
     StopAllMotors();
     ResetButtonsCalibration();
     Text?.Invoke("\nERROR: Check Motor Boards Connection\n");
     Text?.Invoke("ERROR INFO:\n" + e.Device.Label + " Disconnected \n " + "Serial No: " + e.Device.SerialNumber.ToString());
     InizializationMotorsStatus = false;
 }
 private void rfidDetached(object sender, Phidgets.Events.DetachEventArgs e)
 {
     print("RFID reader detached.");
 }
Exemple #3
0
 void PhidgitController_Detach(object sender, Phidgets.Events.DetachEventArgs e)
 {
     logger.Info("PhidgitController_Detach");
     vm.bControllerOn = false;
     //            if (vm.errormsg == string.Empty)
 }
Exemple #4
0
 static void ir_Detach(object sender, Phidgets.Events.DetachEventArgs e)
 {
     Console.WriteLine("PhidgetIR {0} detached!",
                       e.Device.SerialNumber.ToString());
 }