Skip to content

spatial-monorepo


spatial-monorepo / verticals/src / useOEESources

Function: useOEESources()

useOEESources(): OEELineData[]

Defined in: packages/verticals/src/components/FactoryProfile.tsx:326

Issue #168 - useOEESources

Subscribes to oeeSources DataBus on the 'sensor' channel. Computes composite OEE (availability x performance x quality), maintains a ring buffer of the last 8 readings per line, and derives the health colour via OEE thresholds.

Returns

OEELineData[]

Released under commercial licensing.