andon
v1.0.16
Published
A library for implementing Andon systems in manufacturing processes, promoting lean methodologies.
Downloads
93
Readme
Example Usage
import {Andon, data, docs} from "overall-equipment-effectiveness";
const andon = new Andon(data);
console.log(andon.getBySignal("Green"));
console.log(andon.getByIdentifier("CNC Lathe Mazak QT-100"));
andon.setSignal("CNC Lathe Mazak QT-100", "Blue", () => console.log("Signal changed!"));
andon.setAlert("CNC Lathe Mazak QT-100", "Machine is overheating.");
console.log(andon.getByIdentifier("CNC Lathe Mazak QT-100"));
console.log(andon.sort({sortKey: "identifier", sortOrder: "asc", matchWord: "CNC Lathe", matchSignal: "Blue"}));
console.log(andon.search("CNC Lathe", "Blue"));
console.log(docs);
console.log(andon.getSignalCounts());