mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-17 02:54:06 -08:00
7939c691f7
Signed-off-by: snipe <snipe@snipe.net>
19 lines
828 B
PHP
19 lines
828 B
PHP
<?php
|
|
|
|
namespace App\Models\Labels\Tapes\Brother;
|
|
|
|
use App\Helpers\Helper;
|
|
use App\Models\Labels\Label;
|
|
|
|
abstract class TZe_18mm extends Label
|
|
{
|
|
private const HEIGHT = 18.00;
|
|
private const MARGIN_SIDES = 3.20;
|
|
private const MARGIN_ENDS = 3.20;
|
|
|
|
public function getHeight() { return Helper::convertUnit(self::HEIGHT, 'mm', $this->getUnit()); }
|
|
public function getMarginTop() { return Helper::convertUnit(self::MARGIN_SIDES, 'mm', $this->getUnit()); }
|
|
public function getMarginBottom() { return Helper::convertUnit(self::MARGIN_SIDES, 'mm', $this->getUnit());}
|
|
public function getMarginLeft() { return Helper::convertUnit(self::MARGIN_ENDS, 'mm', $this->getUnit()); }
|
|
public function getMarginRight() { return Helper::convertUnit(self::MARGIN_ENDS, 'mm', $this->getUnit()); }
|
|
} |