UNPKG

@hg8496/gridvis-client

Version:

A library to access all GridVis data

22 lines 1.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EventTypes = void 0; /** Types an event can have. */ var EventTypes; (function (EventTypes) { /** Voltage has been above limit. */ EventTypes[EventTypes["VoltageOver"] = 0] = "VoltageOver"; /** Voltage has been below limit. */ EventTypes[EventTypes["VoltageUnder"] = 1] = "VoltageUnder"; /** Voltage has been near zero. */ EventTypes[EventTypes["VoltageOutage"] = 2] = "VoltageOutage"; /** Voltage has changed unreasonable fast. Aka rapid voltage change */ EventTypes[EventTypes["VoltageFastChange"] = 3] = "VoltageFastChange"; /** Current was over specified limit. */ EventTypes[EventTypes["CurrentOver"] = 4] = "CurrentOver"; /** Device lost it's supply power. */ EventTypes[EventTypes["PowerFailure"] = 5] = "PowerFailure"; /** Device supply power returned. */ EventTypes[EventTypes["PowerRecovery"] = 6] = "PowerRecovery"; })(EventTypes = exports.EventTypes || (exports.EventTypes = {})); //# sourceMappingURL=IEvent.js.map