@Override
                public void run() {
                    try {
                        Thread.sleep(Integer.parseInt(bridge.getAppRef().getAutoPhotosTime()));
                    } catch (InterruptedException ex) {
                        Logger.getLogger(ProcessData.class.getName()).log(Level.SEVERE, null, ex);
                    }
                    
                    System.out.println("photo");
                    sendToCam(ProcessData.camDo.takeFoto);

                    getPhotoTimer=false;
                }