diff --git a/MP-TAB-SERV/MP-TAB-SERV.csproj b/MP-TAB-SERV/MP-TAB-SERV.csproj
index ea5554a0..9bce00ea 100644
--- a/MP-TAB-SERV/MP-TAB-SERV.csproj
+++ b/MP-TAB-SERV/MP-TAB-SERV.csproj
@@ -3,7 +3,7 @@
net6.0
enable
- 6.16.2311.1414
+ 6.16.2311.1415
enable
MP_TAB_SERV
diff --git a/MP-TAB-SERV/Pages/Logout.razor.cs b/MP-TAB-SERV/Pages/Logout.razor.cs
index c09f4486..81f91ac5 100644
--- a/MP-TAB-SERV/Pages/Logout.razor.cs
+++ b/MP-TAB-SERV/Pages/Logout.razor.cs
@@ -41,6 +41,7 @@ namespace MP_TAB_SERV.Pages
await Task.Delay(1);
await localStorage.SetItemAsync("currTkn", "");
await TDService.OperatoreDeleteRedis(MsgServ.MatrOpr);
+ MsgServ.RigaOper = null;
NavMan.NavigateTo("reg-new-device");
}
}
diff --git a/MP-TAB-SERV/Pages/RegNewDevice.razor.cs b/MP-TAB-SERV/Pages/RegNewDevice.razor.cs
index 16149e86..680b6091 100644
--- a/MP-TAB-SERV/Pages/RegNewDevice.razor.cs
+++ b/MP-TAB-SERV/Pages/RegNewDevice.razor.cs
@@ -52,8 +52,26 @@ namespace MP_TAB_SERV.Pages
}
protected int expDays = 1;
- protected int matrOpr { get; set; } = 0;
- protected string authKey { get; set; } = "";
+ protected int _matrOpr { get; set; } = 0;
+ protected int matrOpr
+ {
+ get
+ {
+ //_matrOpr = MsgServ.MatrOpr;
+ return _matrOpr;
+ }
+ set => _matrOpr = value;
+ }
+ protected string _authKey { get; set; } = "";
+ protected string authKey
+ {
+ get
+ {
+ //_authKey = MsgServ.UserAuthKey;
+ return _authKey;
+ }
+ set => _authKey = value;
+ }
protected AnagOperatoriModel rigaOpr { get; set; } = null!;
protected string CurrOprTknLS { get; set; } = null!;
protected string CurrOprTknRedis { get; set; } = null!;
@@ -105,18 +123,18 @@ namespace MP_TAB_SERV.Pages
vetoScan = adesso.AddSeconds(4);
//NavManager.NavigateTo($"CodeProcess/{value}");
var uri = NavMan.ToAbsoluteUri(value);
- if (QueryHelpers.ParseQuery(uri.Query).TryGetValue("MatrOpr", out var _matrOpr))
+ if (QueryHelpers.ParseQuery(uri.Query).TryGetValue("MatrOpr", out var Uri_matrOpr))
{
- if (!string.IsNullOrEmpty(_matrOpr))
+ if (!string.IsNullOrEmpty(Uri_matrOpr))
{
- matrOpr = int.Parse(_matrOpr);
+ matrOpr = int.Parse(Uri_matrOpr);
}
}
- if (QueryHelpers.ParseQuery(uri.Query).TryGetValue("UserAuthKey", out var _authKey))
+ if (QueryHelpers.ParseQuery(uri.Query).TryGetValue("UserAuthKey", out var Uri_authKey))
{
- if (!string.IsNullOrEmpty(_authKey))
+ if (!string.IsNullOrEmpty(Uri_authKey))
{
- authKey = _authKey;
+ authKey = Uri_authKey;
}
}
await logIn();
diff --git a/MP-TAB-SERV/Resources/ChangeLog.html b/MP-TAB-SERV/Resources/ChangeLog.html
index 94db3b42..01708ddc 100644
--- a/MP-TAB-SERV/Resources/ChangeLog.html
+++ b/MP-TAB-SERV/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOSPEC
- Versione: 6.16.2311.1414
+ Versione: 6.16.2311.1415
Note di rilascio:
-
diff --git a/MP-TAB-SERV/Resources/VersNum.txt b/MP-TAB-SERV/Resources/VersNum.txt
index 56ff8b96..5e705941 100644
--- a/MP-TAB-SERV/Resources/VersNum.txt
+++ b/MP-TAB-SERV/Resources/VersNum.txt
@@ -1 +1 @@
-6.16.2311.1414
+6.16.2311.1415
diff --git a/MP-TAB-SERV/Resources/manifest.xml b/MP-TAB-SERV/Resources/manifest.xml
index 975a4dd4..1a27ae5b 100644
--- a/MP-TAB-SERV/Resources/manifest.xml
+++ b/MP-TAB-SERV/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 6.16.2311.1414
+ 6.16.2311.1415
https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/MP-TAB-SERV.zip
https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/ChangeLog.html
false