OEE Dashboard

@if (activeTab() === 'live') {
@if (isLoadingLive()) {

Loading live status…

} @if (!isLoadingLive() && liveMessage()) {

{{ liveMessage() }}

} @if (!isLoadingLive() && liveRows().length > 0) {
@for (row of liveRows(); track row.MachineId) {
{{ row.MachineName || 'Machine ' + row.MachineId }} {{ row.WorkCenterName }}
{{ pct(row.OEE) }}
OEE
{{ pct(row.Availability) }} Availability
{{ pct(row.Performance) }} Performance
{{ pct(row.Quality) }} Quality
Produced: {{ row.TotalProduced }} Good: {{ row.GoodQuantity }} Rejected: {{ row.RejectedQuantity }}
}
}
} @if (activeTab() === 'report') {
Filters
@if (isLoadingReport()) {

Loading report…

} @if (!isLoadingReport() && reportMessage()) {

{{ reportMessage() }}

} @if (!isLoadingReport() && reportRows().length > 0) {
@for (row of reportRows(); track row.MachineId + row.FactDate) { }
Machine Work Centre Date Availability Performance Quality OEE Produced Good Rejected
{{ row.MachineName || row.MachineId }} {{ row.WorkCenterName || row.WorkCenterId }} {{ row.FactDate | date:'dd/MM/yyyy' }} {{ pct(row.Availability) }} {{ pct(row.Performance) }} {{ pct(row.Quality) }} {{ pct(row.OEE) }} {{ row.TotalProduced }} {{ row.GoodQuantity }} {{ row.RejectedQuantity }}
}
}