spatial-monorepo / verticals/src / useOEE
Function: useOEE()
useOEE(
machineIds?):OEEResult[]
Defined in: packages/verticals/src/components/FactoryProfile.tsx:262
Calls oeeFn with the requested machineIds and maps results to RdYlGn colors. machineIds defaults to a stable empty array (not [] requesting zero machines) — callers implementing the documented per-id signature must be given the ids they're expected to filter by, or a correct implementation returns nothing for every request (issue #843).
Parameters
machineIds?
string[] = EMPTY_MACHINE_IDS
