Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 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;
         }
     }
 }