Files
mapo-core/MP.SPEC/Components/ProdKit/Manager.razor.cs
T
samuele d344b49ff0 SPEC:
- continuo implementazione gestione KIT
2025-04-10 19:14:59 +02:00

49 lines
1.1 KiB
C#

using Microsoft.AspNetCore.Components;
using MP.Data.DbModels;
using MP.SPEC.Data;
namespace MP.SPEC.Components.ProdKit
{
public partial class Manager
{
#region Protected Properties
[Inject]
protected MpDataService MDService { get; set; } = null!;
#endregion Protected Properties
#region Protected Methods
protected override void OnInitialized()
{
if (string.IsNullOrEmpty(padCodXdl))
{
padCodXdl = MDService.ConfigTryGet("padCodXdl");
}
currPodlRec = null;
}
#endregion Protected Methods
#region Private Fields
private string padCodXdl = "00000";
/// <summary>
/// Salvataggio su Tab WIP dei dati del PODL ricevuto...
/// </summary>
/// <param name="selRec"></param>
protected void SavePodl(PODLExpModel selRec)
{
currPodlRec = selRec;
}
/// <summary>
/// Record PODL corrente da inserire
/// </summary>
private PODLExpModel? currPodlRec = null;
#endregion Private Fields
}
}