Correzioni warnings vari e test compilazione, fix applicazioni CORE in generale

This commit is contained in:
Samuele Locatelli
2026-05-28 10:33:00 +02:00
parent ce59a00d02
commit e4d56be0af
55 changed files with 108 additions and 246 deletions
@@ -10,10 +10,10 @@ namespace MP.SPEC.Components.ProdKit
#region Public Properties
[Parameter]
public EventCallback<bool> EC_ListUpdated { get; set; }
public EventCallback<bool> EC_ListCleared { get; set; }
[Parameter]
public EventCallback<bool> EC_ListCleared { get; set; }
public EventCallback<bool> EC_ListUpdated { get; set; }
[Parameter]
public string KeyFilt { get; set; } = "";
@@ -75,7 +75,6 @@ namespace MP.SPEC.Components.ProdKit
#region Private Fields
private PODLExpModel? currRec = null;
private List<WipSetupKitModel> ListRecords = new List<WipSetupKitModel>();
#endregion Private Fields
@@ -80,20 +80,31 @@
</tr>
</thead>
<tbody>
@foreach (var record in ListTK)
@if (ListTK == null)
{
<tr>
<td>
@record.CodArtParent
</td>
<td>
@record.CodArtChild
</td>
<td class="text-end">
<div>@record.Qty</div>
<td colspan="3">
<div class="alert alert-info">No data found</div>
</td>
</tr>
}
else
{
foreach (var record in ListTK)
{
<tr>
<td>
@record.CodArtParent
</td>
<td>
@record.CodArtChild
</td>
<td class="text-end">
<div>@record.Qty</div>
</td>
</tr>
}
}
</tbody>
</table>
}
+2 -4
View File
@@ -2,8 +2,6 @@ using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Authorization;
using MP.Data.DbModels;
using MP.SPEC.Data;
using System;
using System.Reflection.PortableExecutable;
namespace MP.SPEC.Components.ProdKit
{
@@ -105,7 +103,7 @@ namespace MP.SPEC.Components.ProdKit
}
currPodlRec = selRec;
isComposing = true;
await EC_IsComposing.InvokeAsync(true);
await EC_IsComposing.InvokeAsync(isComposing);
// rileggo
ReloadData();
@@ -166,7 +164,7 @@ namespace MP.SPEC.Components.ProdKit
}
ReloadData();
isComposing = false;
await EC_IsComposing.InvokeAsync(false);
await EC_IsComposing.InvokeAsync(isComposing);
}
private async Task SetHasOdl(bool setHasOdl)