Пример #1
0
 public void onSensorPlug(String IDLector) {
   // consola.out.echo("Lector conectado");
   try {
     // Start capturing from plugged sensor.
     com.griaule.grfingerjava.GrFingerJava.startCapture(IDLector, this, this);
   } catch (com.griaule.grfingerjava.GrFingerJavaException e) {
     // write error to log
     Dialogos.error("Error al iniciar captura de huella dactilar", e);
   }
   this.IDLector = IDLector;
   super.setLectorActivo(true);
 }
Пример #2
0
 public void onSensorUnplug(String IDLector) {
   // consola.out.echo("Lector desconectado");
   super.setLectorActivo(false);
 }