probabile fix reload

This commit is contained in:
zaccaria.majid
2023-12-07 10:13:27 +01:00
parent 08b080135f
commit 059d0ee7a9
6 changed files with 20 additions and 10 deletions
+15 -6
View File
@@ -28,6 +28,7 @@ namespace MP_TAB_SERV.Components
protected string CurrOprTknLS { get; set; } = null!;
protected string LastOpenedPage { get; set; } = null!;
protected string CurrMacc { get; set; } = null!;
protected string CurrOprTknRedis { get; set; } = null!;
@@ -82,7 +83,14 @@ namespace MP_TAB_SERV.Components
await MsgServ.SetLastMatrOprAsync(rigaOpr.MatrOpr);
await MsgServ.SetCurrOperDtoAsync(hash);
await TDService.OperatoreSetRedis(rigaOpr.MatrOpr, hash);
//NavMan.NavigateTo("status-map");
if (LastOpenedPage != "" && CurrMacc != "")
{
NavMan.NavigateTo(LastOpenedPage);
}
else
{
NavMan.NavigateTo("status-map");
}
}
}
}
@@ -124,7 +132,7 @@ namespace MP_TAB_SERV.Components
{
await MsgServ.IdxMaccSet("");
NavMan.NavigateTo("status-map", true);
NavMan.NavigateTo("status-map");
}
}
@@ -136,6 +144,7 @@ namespace MP_TAB_SERV.Components
CurrOprTknLS = await MsgServ.GetCurrOperDtoAsync();
LastOpenedPage = await MsgServ.LastOpenedPageGet();
CurrMacc = await MsgServ.IdxMaccGet();
var decodedUrl = Uri.UnescapeDataString(CurrOprTknLS);
// verifico se non avessi dati operatore
@@ -159,10 +168,10 @@ namespace MP_TAB_SERV.Components
//if (!NavMan.Uri.Contains("status-map"))
//{
//}
//if (LastOpenedPage != "")
//{
// NavMan.NavigateTo(LastOpenedPage, true);
//}
//if (LastOpenedPage != "")
//{
// NavMan.NavigateTo(LastOpenedPage, true);
//}
}
}
@@ -212,6 +212,7 @@ namespace MP_TAB_SERV.Components
{
// salvo idxMacch
await MServ.IdxMaccSet(RecMSE!.IdxMacchina);
await MServ.LastOpenedPageSet("machine-detail");
// navigo!
NavMan.NavigateTo($"machine-detail");
}
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>6.16.2312.617</Version>
<Version>6.16.2312.710</Version>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP_TAB_SERV</RootNamespace>
</PropertyGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2312.617</h4>
<h4>Versione: 6.16.2312.710</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2312.617
6.16.2312.710
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2312.617</version>
<version>6.16.2312.710</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>