diff --git a/MP-TAB3/MP-TAB3.csproj b/MP-TAB3/MP-TAB3.csproj
index b6c00b5a..ecc96afa 100644
--- a/MP-TAB3/MP-TAB3.csproj
+++ b/MP-TAB3/MP-TAB3.csproj
@@ -3,7 +3,7 @@
net6.0
enable
- 6.16.2405.2316
+ 6.16.2405.2909
enable
MP_TAB3
diff --git a/MP-TAB3/Pages/RegNewDevice.razor.cs b/MP-TAB3/Pages/RegNewDevice.razor.cs
index 4b4f715d..2556702e 100644
--- a/MP-TAB3/Pages/RegNewDevice.razor.cs
+++ b/MP-TAB3/Pages/RegNewDevice.razor.cs
@@ -26,6 +26,7 @@ namespace MP_TAB3.Pages
#region Protected Fields
protected int expDays = 1;
+ protected bool recordLogin = true;
protected string txtError = "";
protected DateTime vetoScan = DateTime.Now;
@@ -110,7 +111,26 @@ namespace MP_TAB3.Pages
await MsgServ.SetCurrOperDtoLSAsync(hash);
await MsgServ.SetLastMatrOprAsync(rigaOpr.MatrOpr);
await TDService.OperatoreSetRedis(matrOpr, hash, devGuid);
- await Task.Delay(50);
+
+ // se abilitato in config...
+
+ if (recordLogin)
+ {
+ // salvo registrazione login utente
+ string generOpr = $"{rigaOpr.Cognome} {rigaOpr.Nome}";
+ RegistroDichiarazioniModel ulRec = new RegistroDichiarazioniModel()
+ {
+ TagCode = "UserLogin",
+ IdxMacchina = "",
+ DtRec = DateTime.Now,
+ MatrOpr = matrOpr,
+ ValString = $"Login: {generOpr}"
+ };
+ await TDService.RegDichiarInsert(ulRec);
+ }
+
+ // passo a status map
+ await Task.Delay(150);
NavMan.NavigateTo("status-map", true);
}
else
@@ -125,6 +145,7 @@ namespace MP_TAB3.Pages
txtError = "";
matrOpr = await MsgServ.GetLastMatrOprAsync();
TDService.ConfigGetVal("cookieDayExpire", ref expDays);
+ TDService.ConfigGetVal("TAB_UL_Record", ref recordLogin);
ShowScanBarcode = !SMServ.GetConfBool("TAB_WebCamHide");
oprList = await TDService.ElencoOperatori();
// filtro solo abilitati + ordino x nome...
diff --git a/MP-TAB3/Resources/ChangeLog.html b/MP-TAB3/Resources/ChangeLog.html
index fd9c8de1..9fdd693f 100644
--- a/MP-TAB3/Resources/ChangeLog.html
+++ b/MP-TAB3/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOSPEC
- Versione: 6.16.2405.2316
+ Versione: 6.16.2405.2909
Note di rilascio:
-
diff --git a/MP-TAB3/Resources/VersNum.txt b/MP-TAB3/Resources/VersNum.txt
index ccab6b49..bc2e8ed0 100644
--- a/MP-TAB3/Resources/VersNum.txt
+++ b/MP-TAB3/Resources/VersNum.txt
@@ -1 +1 @@
-6.16.2405.2316
+6.16.2405.2909
diff --git a/MP-TAB3/Resources/manifest.xml b/MP-TAB3/Resources/manifest.xml
index c8bca800..fcec4544 100644
--- a/MP-TAB3/Resources/manifest.xml
+++ b/MP-TAB3/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 6.16.2405.2316
+ 6.16.2405.2909
https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip
https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html
false