public MLH1MethylationAnalysisResultCodeCollection()
        {
            MLH1MethylationAnalysisDetectedResult    mlh1MethylationAnalysisDetectedResult    = new MLH1MethylationAnalysisDetectedResult();
            MLH1MethylationAnalysisNotDetectedResult mlh1MethylationAnalysisNotDetectedResult = new MLH1MethylationAnalysisNotDetectedResult();
            MLH1MethylationAnalysisNotSetResult      mlh1MethylationAnalysisNotSetResult      = new MLH1MethylationAnalysisNotSetResult();

            this.Add(mlh1MethylationAnalysisDetectedResult.ResultCode);
            this.Add(mlh1MethylationAnalysisNotDetectedResult.ResultCode);
            this.Add(mlh1MethylationAnalysisNotSetResult.ResultCode);
        }
        public string GetSummaryResult()
        {
            string methResult = null;

            if (this.Final == true)
            {
                MLH1MethylationAnalysisDetectedResult    detected    = new MLH1MethylationAnalysisDetectedResult();
                MLH1MethylationAnalysisNotDetectedResult notDetected = new MLH1MethylationAnalysisNotDetectedResult();

                if (this.ResultCode == detected.ResultCode)
                {
                    methResult = TestResult.Detected;
                }
                else if (this.ResultCode == notDetected.ResultCode)
                {
                    methResult = TestResult.NotDetected;
                }
            }
            return(methResult);
        }
        public void SetSummaryResult(LSEResult lSEResult)
        {
            if (string.IsNullOrEmpty(m_Result) == false)
            {
                MLH1MethylationAnalysisDetectedResult    detected    = new MLH1MethylationAnalysisDetectedResult();
                MLH1MethylationAnalysisNotDetectedResult notDetected = new MLH1MethylationAnalysisNotDetectedResult();

                if (this.ResultCode == detected.ResultCode)
                {
                    lSEResult.MethResult = LSEResultEnum.Positive;
                }
                else if (this.ResultCode == notDetected.ResultCode)
                {
                    lSEResult.MethResult = LSEResultEnum.Negative;
                }
            }
            else
            {
                lSEResult.MethResult = LSEResultEnum.Pending;
            }
        }
        public void SetSummaryResult(LSEResult lSEResult)
        {
            if (string.IsNullOrEmpty(m_Result) == false)
            {
                MLH1MethylationAnalysisDetectedResult detected = new MLH1MethylationAnalysisDetectedResult();
                MLH1MethylationAnalysisNotDetectedResult notDetected = new MLH1MethylationAnalysisNotDetectedResult();

                if (this.ResultCode == detected.ResultCode)
                {
                    lSEResult.MethResult = LSEResultEnum.Positive;
                }
                else if (this.ResultCode == notDetected.ResultCode)
                {
                    lSEResult.MethResult = LSEResultEnum.Negative;
                }
            }
            else
            {
                lSEResult.MethResult = LSEResultEnum.Pending;
            }
        }