33 lines
733 B
C#
33 lines
733 B
C#
using EgwCoreLib.Lux.Core.RestPayload;
|
|
using EgwMultiEngineManager.Data;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace Lux.UI.Components.Compo
|
|
{
|
|
public partial class EditBom
|
|
{
|
|
#region Public Properties
|
|
|
|
[Parameter]
|
|
public List<BomItemDTO> BomList { get; set; } = null!;
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Protected Properties
|
|
|
|
protected double ImportoTotale
|
|
{
|
|
get
|
|
{
|
|
double valTot = 0;
|
|
if (BomList != null)
|
|
{
|
|
valTot = BomList.Sum(x => x.TotalCost);
|
|
}
|
|
return valTot;
|
|
}
|
|
}
|
|
|
|
#endregion Protected Properties
|
|
}
|
|
} |