[chronojump] Networks encoder/runI will not popup same person while capturing



commit 978ba345d2696a91e8ae3922de80a86120ab6a0a
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Mar 19 21:59:02 2018 +0100

    Networks encoder/runI will not popup same person while capturing

 src/gui/networks.cs |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index 5699264..dc51024 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -221,8 +221,15 @@ public partial class ChronoJumpWindow
        {
                if(currentSession != null && rfid.Captured == capturedRFID)
                {
-                       rfidIsDifferent = false;
-                       shouldUpdateRFIDGui = true;
+                       if( ! networksRunIntervalCanChangePersonSQLReady ||
+                                       (eCapture != null && capturingCsharp == 
encoderCaptureProcess.CAPTURING) )
+                       {
+                               startedRFIDWait = DateTime.Now;
+                               LogB.Information("... but we are on the middle of capture");
+                       } else {
+                               rfidIsDifferent = false;
+                               shouldUpdateRFIDGui = true;
+                       }
                }
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]