Paper constructor
Paper({
- int paperId = 0,
- double paperWidth = 0,
- double paperHeight = 0,
- int paperWidthDot = 0,
- int paperHeightDot = 0,
- int leftMarginDot = 0,
- int rightMarginDot = 0,
- int imageAreaWidthDot = 0,
- int imageAreaHeightDot = 0,
- int labelWidth = 0,
- int labelLength = 0,
- int pinOffsetLeft = 0,
- int pinOffsetRight = 0,
- int labelType = 0,
- String paperName = "",
- String paperNameInch = "",
Implementation
Paper(
{int paperId = 0,
double paperWidth = 0,
double paperHeight = 0,
int paperWidthDot = 0,
int paperHeightDot = 0,
int leftMarginDot = 0,
int rightMarginDot = 0,
int imageAreaWidthDot = 0,
int imageAreaHeightDot = 0,
int labelWidth = 0,
int labelLength = 0,
int pinOffsetLeft = 0,
int pinOffsetRight = 0,
int labelType = 0,
String paperName = "",
String paperNameInch = ""})
: this.mPaperId = paperId,
this.mPaperWidth = paperWidth,
this.mPaperHeight = paperHeight,
this.mPhysicalOffsetXDot = leftMarginDot,
this.mPhysicalOffsetYDot = rightMarginDot,
this.mImageAreaWidthDot = imageAreaWidthDot,
this.mImageAreaHeightDot = imageAreaHeightDot,
this.mLabelWidth = labelWidth,
this.mLabelLength = labelLength,
this.mPinOffsetLeft = pinOffsetLeft,
this.mPinOffsetRight = pinOffsetRight,
this.mLabelType = labelType,
this.mPaperName = paperName,
this.mPaperNameInch = paperNameInch,
this.mPaperWidthDot = paperWidthDot,
this.mPaperHeightDot = paperHeightDot;