Beispiel #1
0
 public Medium(YellowstonePathology.Business.Test.AliquotOrder aliquotOrder, Collection<YellowstonePathology.Business.Test.Model.TestOrder> testOrders, int specimenNumber, string specimenDescription, int aliquotIndex)
 {
     this.m_AliquotLetterList = new YellowstonePathology.Business.Specimen.Model.AliquotLetterList();
     this.m_AliquotOrder = aliquotOrder;
     this.m_TestOrderItems = testOrders;
     this.m_SpecimenNumber = specimenNumber;
     this.m_AliquotIndex = aliquotIndex;
 }
Beispiel #2
0
 public Medium(YellowstonePathology.Business.Test.AliquotOrder aliquotOrder, Collection <YellowstonePathology.Business.Test.Model.TestOrder> testOrders, int specimenNumber, string specimenDescription, int aliquotIndex)
 {
     this.m_AliquotLetterList = new YellowstonePathology.Business.Specimen.Model.AliquotLetterList();
     this.m_AliquotOrder      = aliquotOrder;
     this.m_TestOrderItems    = testOrders;
     this.m_SpecimenNumber    = specimenNumber;
     this.m_AliquotIndex      = aliquotIndex;
 }
        private void SetBlockLabels(int specimenNumber)
        {
            YellowstonePathology.Business.Specimen.Model.AliquotLetterList aliquotLetterList = new YellowstonePathology.Business.Specimen.Model.AliquotLetterList();

            int count = 0;

            for (int idx = 0; idx < this.Count; idx++)
            {
                if (this[idx].IsBlock() == true)
                {
                    this[idx].Label = specimenNumber.ToString() + aliquotLetterList[count];
                    count++;
                }
            }
        }