astra-protocol-x-parser
Version:
A lightweight NodeJS package for parsing data from Astra Telematics IoT devices
17 lines (16 loc) • 705 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProtocolXRedforgeWeight = void 0;
var ProtocolXRedforgeWeight = /** @class */ (function () {
function ProtocolXRedforgeWeight(frontChannel, rearChannel, grossVehicleWeight, status, faultCode1, faultCode2) {
this.frontChannel = frontChannel;
this.rearChannel = rearChannel;
this.grossVehicleWeight = grossVehicleWeight;
this.status = status;
this.faultCode1 = faultCode1;
this.faultCode2 = faultCode2;
}
ProtocolXRedforgeWeight.mask = BigInt(1) << BigInt(23);
return ProtocolXRedforgeWeight;
}());
exports.ProtocolXRedforgeWeight = ProtocolXRedforgeWeight;
;