public SpecimenLabelPrinter(string aliquotOrderId, string aliquotLabel, string masterAccessionNo, string pLastName, string pFirstName) { this.m_SpecimenLabelQueue = new Queue <SpecimenLabel>(); SpecimenLabel specimenLabel = new SpecimenLabel(); specimenLabel.FromAliquotOrder(aliquotOrderId, aliquotLabel, masterAccessionNo, pLastName, pFirstName); this.m_SpecimenLabelQueue.Enqueue(specimenLabel); }
public SpecimenLabelPrinter(YellowstonePathology.Business.Test.AliquotOrderCollection aliquotOrderCollection, YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { this.m_SpecimenLabelQueue = new Queue <SpecimenLabel>(); foreach (YellowstonePathology.Business.Test.AliquotOrder aliquotOrder in aliquotOrderCollection) { if (aliquotOrder.IsSpecimen() == true) { SpecimenLabel specimenLabel = new SpecimenLabel(); specimenLabel.FromAliquotOrder(aliquotOrder.AliquotOrderId, aliquotOrder.Label, accessionOrder.MasterAccessionNo, accessionOrder.PLastName, accessionOrder.PFirstName); this.m_SpecimenLabelQueue.Enqueue(specimenLabel); aliquotOrder.Printed = true; } } }