fix calcolo username

This commit is contained in:
zaccaria.majid
2023-11-14 15:50:16 +01:00
parent a514676621
commit b61278544f
6 changed files with 31 additions and 12 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>6.16.2311.1414</Version>
<Version>6.16.2311.1415</Version>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP_TAB_SERV</RootNamespace>
</PropertyGroup>
+1
View File
@@ -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");
}
}
+26 -8
View File
@@ -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();
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2311.1414</h4>
<h4>Versione: 6.16.2311.1415</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2311.1414
6.16.2311.1415
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2311.1414</version>
<version>6.16.2311.1415</version>
<url>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/MP-TAB-SERV.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>