|
|
|
@ -714,7 +714,7 @@ namespace PVDEMCS.Services.Repositories.Impl
|
|
|
|
|
var result = list.GroupBy(f => f.TotalMonth).Select(f => new EquipmentOEEMonthTotal
|
|
|
|
|
{
|
|
|
|
|
TotalMonth = f.Key,
|
|
|
|
|
OEE = Math.Round(f.Sum(f => f.OEE) / f.Count(), 2)
|
|
|
|
|
OEE = Math.Round(f.Sum(f => f.OEE) / f.Count(), 4) * 100
|
|
|
|
|
}).ToList();
|
|
|
|
|
|
|
|
|
|
return new Result<List<EquipmentOEEMonthTotal>>(result);
|
|
|
|
@ -819,7 +819,7 @@ namespace PVDEMCS.Services.Repositories.Impl
|
|
|
|
|
}
|
|
|
|
|
if (minutes > 0)
|
|
|
|
|
{
|
|
|
|
|
detail.OEE = Math.Round((detail.TotalRunningTime + value) / minutes,2);
|
|
|
|
|
detail.OEE = Math.Round((detail.TotalRunningTime + value) / minutes, 4) * 100;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|