Package Exports
- andon
- andon/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (andon) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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());