Fix display % x OEE
This commit is contained in:
@@ -22,7 +22,7 @@ namespace MP.Data.DatabaseModels
|
||||
|
||||
[NotMapped]
|
||||
[DisplayFormat(DataFormatString = "{0:N2}", ApplyFormatInEditMode = true)]
|
||||
public double OEE => (double)TotPeriodo * 100 / 480;
|
||||
public double OEE => (double)TotPeriodo / 480;
|
||||
|
||||
[DisplayFormat(DataFormatString = "{0:N2}", ApplyFormatInEditMode = true)]
|
||||
public double TotPeriodo { get; set; }
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<td>@record.CodArticolo</td>
|
||||
<td class="text-right">@record.TotPeriodo.ToString("N2")</td>
|
||||
<td class="text-right">@record.TotPz</td>
|
||||
<td class="text-right">@record.OEE</td>
|
||||
<td class="text-right">@record.OEE.ToString("P2")</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user