UNPKG

@mos-connection/helper

Version:

Helper functions for the MOS-connection library

21 lines 739 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ListMachineInfo = void 0; const MosMessage_1 = require("../MosMessage"); const XMLBuilder = require("xmlbuilder"); const xmlConversion_1 = require("./xmlConversion"); class ListMachineInfo extends MosMessage_1.MosMessage { /** */ constructor(info, port, strict) { super(port, strict); this.info = info; } /** */ get messageXMLBlocks() { const xmlListMachInfo = XMLBuilder.create('listMachInfo'); xmlConversion_1.XMLMosListMachInfo.toXML(xmlListMachInfo, this.info, this.strict); return xmlListMachInfo; } } exports.ListMachineInfo = ListMachineInfo; //# sourceMappingURL=listMachInfo.js.map