Update gestione ODL:

- non permessoa ttrezzaggio se ci sono pz scarto oltre che z da confermare
This commit is contained in:
Samuele Locatelli
2024-04-09 16:41:24 +02:00
parent 5aef841bf4
commit 52efe52221
6 changed files with 25 additions and 7 deletions
+7 -2
View File
@@ -48,8 +48,13 @@
<div class="fs-1">@lblWarnHead</div>
<div class="fs-4">
@lblWarnBody
<div>
Pezzi NC: <b>@numPz2Conf</b>
<div class="d-flex justify-content-between">
<div class="px-2">
Pezzi NC: <b>@numPz2Conf</b>
</div>
<div class="px-2">
Scarti NC: <b>@numSca2Conf</b>
</div>
</div>
</div>
</button>
+14 -1
View File
@@ -1214,6 +1214,19 @@ namespace MP_TAB3.Components
}
}
private int numSca2Conf
{
get
{
int answ = -1;
if (datiProdAct != null)
{
answ = datiProdAct.Pz2RecScarto;
}
return answ;
}
}
private bool setupActive { get; set; } = false;
/// <summary>
@@ -1337,7 +1350,7 @@ namespace MP_TAB3.Components
needConfProd = RecMSE != null && datiProdAct != null;
if (datiProdAct != null)
{
needConfProd = datiProdAct.Pz2RecTot > 0 && !isSlave;
needConfProd = (datiProdAct.Pz2RecTot > 0 || datiProdAct.Pz2RecScarto != 0) && !isSlave;
if (needConfProd)
{
StateHasChanged();
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>6.16.2403.2214</Version>
<Version>6.16.2404.916</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.2403.2214</h4>
<h4>Versione: 6.16.2404.916</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2403.2214
6.16.2404.916
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2403.2214</version>
<version>6.16.2404.916</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>