@mos-connection/helper
Version:
Helper functions for the MOS-connection library
21 lines • 706 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReqMosObjAll = void 0;
const XMLBuilder = require("xmlbuilder");
const Utils_1 = require("../../utils/Utils");
const MosMessage_1 = require("../MosMessage");
class ReqMosObjAll extends MosMessage_1.MosMessage {
/** */
constructor(pause, strict) {
super('lower', strict);
this.pause = pause;
}
/** */
get messageXMLBlocks() {
const root = XMLBuilder.create('mosReqAll');
(0, Utils_1.addTextElementInternal)(root, 'pause', this.pause + '', undefined, this.strict);
return root;
}
}
exports.ReqMosObjAll = ReqMosObjAll;
//# sourceMappingURL=reqMosObjAll.js.map