66 lines
1.5 KiB
C#
66 lines
1.5 KiB
C#
using Microsoft.AspNetCore.Components;
|
|
using Microsoft.JSInterop;
|
|
using MP.Data.DbModels;
|
|
using MP.SPEC.Data;
|
|
|
|
namespace MP.SPEC.Components.ProdKit
|
|
{
|
|
public partial class KitVerify
|
|
{
|
|
#region Public Properties
|
|
|
|
[Parameter]
|
|
public string KeyFilt { get; set; } = "";
|
|
|
|
[Parameter]
|
|
public List<TksScoreModel> AllRecTSM { get; set; } = new List<TksScoreModel>();
|
|
[Parameter]
|
|
public List<WipSetupKitModel> AllRecWSM { get; set; } = new List<WipSetupKitModel>();
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Protected Properties
|
|
|
|
[Inject]
|
|
protected IJSRuntime JSRuntime { get; set; } = null!;
|
|
|
|
[Inject]
|
|
protected MpDataService MDService { get; set; } = null!;
|
|
|
|
#endregion Protected Properties
|
|
|
|
#region Protected Methods
|
|
|
|
protected override void OnParametersSet()
|
|
{
|
|
ReloadData();
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
|
|
#region Private Fields
|
|
|
|
private List<TksScoreModel> ListRecScore = new List<TksScoreModel>();
|
|
|
|
#endregion Private Fields
|
|
|
|
#region Private Methods
|
|
|
|
private void DoCreatePOdl(TksScoreModel currRec)
|
|
{
|
|
}
|
|
|
|
private void ReloadData()
|
|
{
|
|
ListRecScore = AllRecTSM.ToList();
|
|
numRecWsm = AllRecWSM.Count();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Num record composizione kit...
|
|
/// </summary>
|
|
private int numRecWsm = 0;
|
|
|
|
#endregion Private Methods
|
|
}
|
|
} |