Calm motion: animations on this site only fade, with no movement
Machine board
The machines of a line with their state and how long they are in it
Shows a whole line at a glance, on a big screen on the shop floor or in the office of the line lead. Such a board is often called an andon board.
Basic
2 running, 1 idle, 1 setup, 1 offline, 1 down
machinesis a list. Each machine has anid, aname, and astate. It can also have theminutesin that state, thejobit makes, and areading.- The state is
running,idle,setup,down, oroffline. Each state has a mark, a word, and an edge. A down machine has a thick red frame and a tint. - The machines that need help come first: down, offline, setup, idle, then running.
sort: falsekeeps your order. - A status line counts the machines in each state, such as "4 running, 1 down".
- Each tile is a button that emits
selectwith the id, for example to open the machine. - Change the words with
labelsor a label pack:title, the five states, and the functionssince,time, andsummary.
Usage
ts
import { BlessMachineBoard } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
machines* | BlessMachine[] | — | |
sort | boolean | true | put the machines that need help first |
labels | Partial<Record<BlessMachineState, string> & { title: string; since: (time: string) => string; time: (h: number, m: number) => string; summary: (parts: string) => string; }> | — |
Events
| Name | Payload | Description |
|---|---|---|
select | [id: string] |