MachineCard
Shows the efficiency and downtime of a machine.
kor/ui/MachineCardSource
When to use
- Use it on a shop floor dashboard.
Examples
Milling machine
<k:MachineCard title="CNC 04" text="Order 1000482" process="machining" availability="91" performance="88" quality="97" from="08:00" until="16:00">
<k:MachineSpan minutes="30" state="wait" text="Setup"/>
<k:MachineSpan minutes="150"/>
<k:MachineSpan minutes="25" state="danger" text="Tool break"/>
<k:MachineSpan minutes="120"/>
<k:MachineSpan minutes="30" state="none" text="Break"/>
<k:MachineSpan minutes="125"/>
</k:MachineCard>
API
Properties
| Name | Type | Default | Description |
|---|
title | string | | Machine |
text | string | | Order or operator |
process | string | | Process icon |
icon | string | | Replaces the process icon |
state | string | info | Status |
statusText | string | | Status text |
availability | float | 0 | Availability, 0 to 100 |
performance | float | 0 | Performance, 0 to 100 |
quality | float | 0 | Quality, 0 to 100 |
target | float | 85 | OEE target |
from | string | | Text at the start of the strip |
until | string | | Text at the end of the strip |
Aggregations
| Name | Type | Description |
|---|
spans | MachineSpan[] | Time spans of the shift in order |
Events
| Name | Type | Description |
|---|
press | | The card was pressed |
Methods
| Name | Description |
|---|
getOee(): number | OEE percentage, the product of the three rates. |
MachineSpan
A machine time span.
Properties
| Name | Type | Default | Description |
|---|
minutes | float | 0 | Duration in minutes |
state | string | info | info running, wait setup, danger failure, none planned stop |
text | string | | Reason |
Related
ProductionLineStat