Paper constructor

Paper({
  1. int paperId = 0,
  2. double paperWidth = 0,
  3. double paperHeight = 0,
  4. int paperWidthDot = 0,
  5. int paperHeightDot = 0,
  6. int leftMarginDot = 0,
  7. int rightMarginDot = 0,
  8. int imageAreaWidthDot = 0,
  9. int imageAreaHeightDot = 0,
  10. int labelWidth = 0,
  11. int labelLength = 0,
  12. int pinOffsetLeft = 0,
  13. int pinOffsetRight = 0,
  14. int labelType = 0,
  15. String paperName = "",
  16. 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;