UNPKG

jspurefix

Version:
19 lines 761 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const contained_1 = require("../contained"); const dict_primitive_1 = require("../dict-primitive"); class MessageDefinition extends contained_1.ContainedFieldSet { constructor(name, abbreviation, msgType, category, description) { super(dict_primitive_1.ContainedSetType.Msg, name, category, abbreviation, description); this.name = name; this.abbreviation = abbreviation; this.msgType = msgType; this.category = category; this.description = description; } getPrefix() { return `M.${this.msgType}`; } } exports.MessageDefinition = MessageDefinition; //# sourceMappingURL=message-definition.js.map