ojousima.ruuvi_endpoints.ts
Version:
Experiments with RuuviTags and TS
34 lines (33 loc) • 1.57 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BatteryBroadcast = void 0;
var BatteryBroadcast = /** @class */ (function () {
function BatteryBroadcast(id, mac, version, temperatureC, humidityRh, simpleVoltageV, radioVoltageV, droopVoltageV, measurementSequence, rssiDB, dataFormat, parsedAt) {
if (id === void 0) { id = 0; }
if (mac === void 0) { mac = null; }
if (version === void 0) { version = null; }
if (temperatureC === void 0) { temperatureC = null; }
if (humidityRh === void 0) { humidityRh = null; }
if (simpleVoltageV === void 0) { simpleVoltageV = null; }
if (radioVoltageV === void 0) { radioVoltageV = null; }
if (droopVoltageV === void 0) { droopVoltageV = null; }
if (measurementSequence === void 0) { measurementSequence = null; }
if (rssiDB === void 0) { rssiDB = null; }
if (dataFormat === void 0) { dataFormat = null; }
if (parsedAt === void 0) { parsedAt = new Date(); }
this.id = id;
this.mac = mac;
this.version = version;
this.temperatureC = temperatureC;
this.humidityRh = humidityRh;
this.simpleVoltageV = simpleVoltageV;
this.radioVoltageV = radioVoltageV;
this.droopVoltageV = droopVoltageV;
this.measurementSequence = measurementSequence;
this.rssiDB = rssiDB;
this.dataFormat = dataFormat;
this.parsedAt = parsedAt;
}
return BatteryBroadcast;
}());
exports.BatteryBroadcast = BatteryBroadcast;