node-djiparsetxt
Version:
command-line application that reads a DJI '.txt' file and outputs a json.
24 lines • 680 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Version = void 0;
var Version = /** @class */ (function () {
function Version(ver) {
this.ver = [
ver & 0x000000FF,
ver & 0x0000FF00,
ver & 0x00FF0000,
ver & 0xFF000000,
];
}
Version.CreateEmpty = function () {
var ver = 0x00000000;
return new Version(ver);
};
Version.prototype.toString = function () {
var ver = this.ver;
return ver[0] + "." + ver[1] + "." + ver[2] + "." + ver[3];
};
return Version;
}());
exports.Version = Version;
//# sourceMappingURL=Version.js.map