"use strict";

import { NPrinterType } from "./constants/NPrinterType.js";
export class NPrinter {
  name = '';
  macAddress = '';
  type = 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.NEMONIC_MIP201) {
      this.type = type;
    } else {
      this.type = NPrinterType.NONE;
    }
  }
}
//# sourceMappingURL=NPrinter.js.map