40 lines
996 B
C#
40 lines
996 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EgwCoreLib.Lux.Core.Generic
|
|
{
|
|
/// <summary>
|
|
/// Record dettaglio lavorabilità di un ProdGroup x macchina
|
|
/// </summary>
|
|
public class ProdMachineDetailDto
|
|
{
|
|
/// <summary>
|
|
/// Numero di barre grezzi necessarie
|
|
/// </summary>
|
|
public int BarQty { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// Elenco dei part tag assegnati
|
|
/// </summary>
|
|
public List<string> TagList { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// Tempo stimato per il gruppo di pezzi sul plant
|
|
/// </summary>
|
|
public decimal Time { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// Conteggio delle parts assegnate
|
|
/// </summary>
|
|
[NotMapped]
|
|
public int NumParts
|
|
{
|
|
get => TagList.Count();
|
|
}
|
|
}
|
|
}
|