@inherits BaseComp @if (isLoading) { } else { if (AllRecords.Count == 0) {
@Traduci("noRecord")
} else {
@if (DictGrouped != null && DictGrouped.Count > 0) { int idx = 1; foreach (var item in DictGrouped) { } } @if (ListBalancedDet != null) { } else { }
# Ord Macchina Part type Tot.Time
@(idx++)
@item.Key
@GetOrderByOrderRow(item.Key)
@foreach (var detail in item.Value) { foreach (var mac in detail.WorkGroupList) { if(mac.Value.BarQty > 0) {
@mac.Key
} } }
@foreach (var detail in item.Value) { foreach (var mac in detail.WorkGroupList) { if(mac.Value.TagList.Count() > 0 && mac.Value.BarQty > 0) {
@TypePart(detail)
} } }
@foreach (var detail in item.Value) { foreach (var mac in detail.WorkGroupList) { if(mac.Value.BarQty > 0) {
@mac.Value.BarQty
} } }
@foreach (var detail in item.Value) { foreach (var mac in detail.WorkGroupList) { if(mac.Value.BarQty > 0) {
@mac.Value.NumParts
} } }
@foreach (var detail in item.Value) { foreach (var mac in detail.WorkGroupList) { if(mac.Value.BarQty > 0) {
@FormatEstTime(mac.Value.Time)
} } }
@FormatEstTime(item.Value.Where(x => x.BarQty > 0).Sum(x => x.TotalEstimTime))
@foreach (var item in ListBalancedDet) {
@item.MachineName
}
@foreach (var item in ListBalancedDet) {
@item.TotalBarQty
}
@foreach (var item in ListBalancedDet) {
@item.TotalNumPart
}
@foreach (var item in ListBalancedDet) {
@FormatEstTime(item.TotalTime)
}
@FormatEstTime(BalancedTotalTime)
@if (ShowCreateBatch && newBatch != null) {
}
} } @if (bOpenEstim == true) { }