public string ThirdLineA1(bool isReadableText) { if ((this.printerName == GlobalVariables.PrinterName.PackInkjet || (this.printerName == GlobalVariables.PrinterName.CartonInkjet && this.ReprintCarton)) && this.BatchTypeID == (int)GlobalEnums.BatchTypeID.Repack) { BatchRepackDTO batchRepackDTO = this.printedBatchRepackDTO; return(batchRepackDTO.BatchCode + batchRepackDTO.LotCode + (isReadableText ? this.printedBatchRepackDTO.FillingLineCode : "")); } else { return(this.BatchCode + this.LotCode + (isReadableText ? this.FillingLineCode : "")); } }
public string ThirdLineA1(bool isReadableText) { if (this.Is2D_Repack) { BatchRepackDTO batchRepackDTO = this.printedBatchRepackDTO; return(batchRepackDTO.BatchCode + batchRepackDTO.LotCode + (isReadableText ? this.printedBatchRepackDTO.FillingLineCode : "")); } else { return(this.BatchCode + this.LotCode + (isReadableText ? this.FillingLineCode : "")); } }