- aggiunto delay iniziale post conferma pz x mostrare subito pagina esecuzione
This commit is contained in:
Samuele Locatelli
2025-07-10 16:17:54 +02:00
parent 95e9e54921
commit bc68c1578d
10 changed files with 30 additions and 25 deletions
+21 -16
View File
@@ -163,29 +163,33 @@ namespace MP_TAB3.Components
{
get
{
bool answ = (RecMSE != null && RecMSE.IdxOdl > 0);
if (isMulti && (!answ && RecMSE != null && IdxMaccSel != RecMSE?.IdxMacchina))
bool answ = false;
if (RecMSE != null)
{
int idxOdlSel = 0;
try
answ = (RecMSE.IdxOdl > 0);
if (isMulti && (RecMSE != null && IdxMaccSel != RecMSE?.IdxMacchina))
{
var pUpd = Task.Run(async () =>
int idxOdlSel = 0;
try
{
var tabOdlSel = await TabDServ.OdlCurrByMacc(IdxMaccSel, true);
idxOdlSel = tabOdlSel.IdxOdl;
});
pUpd.Wait();
answ = idxOdlSel > 0;
var pUpd = Task.Run(async () =>
{
var tabOdlSel = await TabDServ.OdlCurrByMacc(IdxMaccSel, true);
idxOdlSel = tabOdlSel.IdxOdl;
});
pUpd.Wait();
answ = idxOdlSel > 0;
}
catch (Exception exc)
{
Log.Error($"Errore Durante recupero idxOdlSel {Environment.NewLine}{exc}");
}
}
catch (Exception exc)
else
{
Log.Error($"Errore Durante recupero idxOdlSel {Environment.NewLine}{exc}");
answ = (RecMSE != null && RecMSE.IdxOdl > 0);
}
}
else
{
answ = (RecMSE != null && RecMSE.IdxOdl > 0);
}
return answ;
}
}
@@ -291,6 +295,7 @@ namespace MP_TAB3.Components
protected async Task SalvaConfPz()
{
isProcessing = true;
await Task.Delay(10);
// effettua conferma con conf da DB del tipo (giorni / turni / periodo
bool fatto = effettuaConfermaProd();
await TabDServ.FlushCache("StatoProd");
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>6.16.2507.113</Version>
<Version>6.16.2507.1016</Version>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP_TAB3</RootNamespace>
</PropertyGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2507.113</h4>
<h4>Versione: 6.16.2507.1016</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2507.113
6.16.2507.1016
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2507.113</version>
<version>6.16.2507.1016</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>
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP.SPEC</RootNamespace>
<Version>6.16.2507.109</Version>
<Version>6.16.2507.1015</Version>
<UserSecretsId>1800a78a-6ff1-40f9-b490-87fb8bfc1394</UserSecretsId>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>
+1 -1
View File
@@ -4,7 +4,7 @@
<div class="card-header table-primary">
<div class="d-flex justify-content-between col-12">
<div class="px-2 col-6">
<div class="d-flex ">
<div class="d-flex">
<div class="px-2 fs-3 text-nowrap">
<b>P</b>romesse <b>ODL</b>
</div>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2507.109</h4>
<h4>Versione: 6.16.2507.1015</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2507.109
6.16.2507.1015
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2507.109</version>
<version>6.16.2507.1015</version>
<url>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>