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."); }
void PhidgitController_Detach(object sender, Phidgets.Events.DetachEventArgs e) { logger.Info("PhidgitController_Detach"); vm.bControllerOn = false; // if (vm.errormsg == string.Empty) }
static void ir_Detach(object sender, Phidgets.Events.DetachEventArgs e) { Console.WriteLine("PhidgetIR {0} detached!", e.Device.SerialNumber.ToString()); }