kor TürkçeGitHub

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

Loading the example

<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

NameTypeDefaultDescription
titlestringMachine
textstringOrder or operator
processstringProcess icon
iconstringReplaces the process icon
statestringinfoStatus
statusTextstringStatus text
availabilityfloat0Availability, 0 to 100
performancefloat0Performance, 0 to 100
qualityfloat0Quality, 0 to 100
targetfloat85OEE target
fromstringText at the start of the strip
untilstringText at the end of the strip

Aggregations

NameTypeDescription
spansMachineSpan[]Time spans of the shift in order

Events

NameTypeDescription
pressThe card was pressed

Methods

NameDescription
getOee(): numberOEE percentage, the product of the three rates.

MachineSpan

A machine time span.

Properties

NameTypeDefaultDescription
minutesfloat0Duration in minutes
statestringinfoinfo running, wait setup, danger failure, none planned stop
textstringReason

Related

ProductionLineStat