ojousima.ruuvi_endpoints.ts
Version:
Experiments with RuuviTags and TS
26 lines (25 loc) • 987 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FFTBroadcast = void 0;
var FFTBroadcast = /** @class */ (function () {
function FFTBroadcast(id, mac, version, type, scale, frequency, buckets, measurementSequence, rssiDB, dataFormat, parsedAt) {
if (id === void 0) { id = 0; }
if (mac === void 0) { mac = null; }
if (measurementSequence === void 0) { measurementSequence = null; }
if (rssiDB === void 0) { rssiDB = null; }
if (parsedAt === void 0) { parsedAt = new Date(); }
this.id = id;
this.mac = mac;
this.version = version;
this.type = type;
this.scale = scale;
this.frequency = frequency;
this.buckets = buckets;
this.measurementSequence = measurementSequence;
this.rssiDB = rssiDB;
this.dataFormat = dataFormat;
this.parsedAt = parsedAt;
}
return FFTBroadcast;
}());
exports.FFTBroadcast = FFTBroadcast;