Fix update pag dettaglio
This commit is contained in:
@@ -750,15 +750,8 @@ namespace MP_TAB3.Components
|
||||
}
|
||||
IdxMaccParent = getIdxMaccParent();
|
||||
checkAll();
|
||||
#if false
|
||||
}
|
||||
#endif
|
||||
// verifica stato inAttr
|
||||
await CheckAttr();
|
||||
#if false
|
||||
if (RecMSE != null && !RecMSE.Equals(lastRecMSE))
|
||||
{
|
||||
#endif
|
||||
//salvo lastRec...
|
||||
lastRecMSE = RecMSE;
|
||||
await ReloadData(true);
|
||||
@@ -1145,7 +1138,6 @@ namespace MP_TAB3.Components
|
||||
private ODLExpModel currOdl { get; set; } = new ODLExpModel();
|
||||
private PODLExpModel currPodl { get; set; } = new PODLExpModel();
|
||||
private MappaStatoExpl? currRecMSE { get; set; } = null;
|
||||
private MappaStatoExpl? lastRecMSE { get; set; } = null;
|
||||
|
||||
/// <summary>
|
||||
/// Verifica se l'ALTRA macchina NON abbia ODL valido (== 0)
|
||||
@@ -1184,6 +1176,7 @@ namespace MP_TAB3.Components
|
||||
private int IdxOdlAltra { get; set; } = 0;
|
||||
|
||||
private bool isLoading { get; set; } = false;
|
||||
private MappaStatoExpl? lastRecMSE { get; set; } = null;
|
||||
|
||||
private string lblWarnBody
|
||||
{
|
||||
@@ -1587,8 +1580,7 @@ namespace MP_TAB3.Components
|
||||
if (IdxPOdlSel > 0)
|
||||
{
|
||||
await ReloadXDL(false);
|
||||
// solo se NON sno in attrezzaggio
|
||||
// controllo se sia cambiato PODL
|
||||
// solo se NON sno in attrezzaggio controllo se sia cambiato PODL
|
||||
if (IdxPOdlSel != lastIdxPOdl)
|
||||
{
|
||||
lastIdxPOdl = IdxPOdlSel;
|
||||
|
||||
@@ -174,8 +174,9 @@ namespace MP_TAB3.Components
|
||||
protected override async Task OnParametersSetAsync()
|
||||
{
|
||||
lblOut = "";
|
||||
if (RecMSE != null && string.IsNullOrEmpty(IdxMaccSel))
|
||||
if (RecMSE != null && (string.IsNullOrEmpty(IdxMaccSel) || !RecMSE.MostlyEquals(lastRecMSE)))
|
||||
{
|
||||
await TabDServ.FlushCache("StatoProd");
|
||||
if (!confProdActive)
|
||||
{
|
||||
numPzLasciati = 0;
|
||||
@@ -196,6 +197,9 @@ namespace MP_TAB3.Components
|
||||
IdxMaccSel = idxMSel;
|
||||
}
|
||||
}
|
||||
//salvo lastRec...
|
||||
lastRecMSE = RecMSE;
|
||||
dtReqUpdate = DateTime.Now.AddMilliseconds(100);
|
||||
await DoUpdate();
|
||||
}
|
||||
}
|
||||
@@ -261,7 +265,6 @@ namespace MP_TAB3.Components
|
||||
}
|
||||
dtReqUpdate = DateTime.Now;
|
||||
await DoUpdate();
|
||||
//await InvokeAsync(StateHasChanged);
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
@@ -282,10 +285,9 @@ namespace MP_TAB3.Components
|
||||
private bool confProdActive { get; set; } = false;
|
||||
private MappaStatoExpl? currRecMSE { get; set; } = null;
|
||||
private DateTime dtReqUpdate { get; set; } = DateTime.Now;
|
||||
|
||||
private string IdxMaccSel { get; set; } = "";
|
||||
|
||||
private bool isProcessing { get; set; } = false;
|
||||
private MappaStatoExpl? lastRecMSE { get; set; } = null;
|
||||
|
||||
private int MatrOpr
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>6.16.2402.2810</Version>
|
||||
<Version>6.16.2402.2811</Version>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP_TAB3</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOSPEC </i>
|
||||
<h4>Versione: 6.16.2402.2810</h4>
|
||||
<h4>Versione: 6.16.2402.2811</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2402.2810
|
||||
6.16.2402.2811
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2402.2810</version>
|
||||
<version>6.16.2402.2811</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user