Пример #1
0
 public static HPV1618Result GetResult(string pantherHPV16Result, string pantherHPV1845Result)
 {
     HPV1618Result result = null;
     if (pantherHPV16Result == PantherHPV16PositiveResult || pantherHPV1845Result == PantherHPV1845PositiveResult)
     {
         result = new HPV1618OneOrBothPositiveResult(pantherHPV16Result, pantherHPV1845Result);
     }
     else if (pantherHPV16Result == PantherHPV16InvalidResult || pantherHPV1845Result == PantherHPV1845InvalidResult)
     {
         result = new HPV1618InvalidResult();
     }
     else
     {
         result = new HPV1618BothNegativeResult();
     }
     return result;
 }
Пример #2
0
        public static HPV1618Result GetResult(string pantherHPV16Result, string pantherHPV1845Result)
        {
            HPV1618Result result = null;

            if (pantherHPV16Result == PantherHPV16PositiveResult || pantherHPV1845Result == PantherHPV1845PositiveResult)
            {
                result = new HPV1618OneOrBothPositiveResult(pantherHPV16Result, pantherHPV1845Result);
            }
            else if (pantherHPV16Result == PantherHPV16InvalidResult || pantherHPV1845Result == PantherHPV1845InvalidResult)
            {
                result = new HPV1618InvalidResult();
            }
            else
            {
                result = new HPV1618BothNegativeResult();
            }
            return(result);
        }