"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.NPrinter = void 0;
var _NPrinterType = require("./constants/NPrinterType.js");
class NPrinter {
  name = '';
  macAddress = '';
  type = _NPrinterType.NPrinterType.NONE;
  getName() {
    return this.name;
  }
  setName(name) {
    this.name = name;
  }
  getMacAddress() {
    return this.macAddress;
  }
  setMacAddress(macAddress) {
    this.macAddress = macAddress;
  }
  getType() {
    return this.type;
  }
  setType(type) {
    if (type === _NPrinterType.NPrinterType.NEMONIC_MIP201) {
      this.type = type;
    } else {
      this.type = _NPrinterType.NPrinterType.NONE;
    }
  }
}
exports.NPrinter = NPrinter;
//# sourceMappingURL=NPrinter.js.map