コード例 #1
0
        public void SetSummaryResult(LSEResult lSEResult)
        {
            IHCResult result = IHCResult.CreateResultFromResultCode(this.m_ResultCode);

            if (result != null)
            {
                lSEResult.MLH1Result = result.MLH1Result.LSEResult;
                lSEResult.MSH2Result = result.MSH2Result.LSEResult;
                lSEResult.MSH6Result = result.MSH6Result.LSEResult;
                lSEResult.PMS2Result = result.PMS2Result.LSEResult;
            }
        }
コード例 #2
0
ファイル: IHCResult.cs プロジェクト: ericramses/YPILIS
        public static IHCResult CreateResultFromResultCode(string resultCode)
        {
            IHCResult result = null;

            if (string.IsNullOrEmpty(resultCode) == false)
            {
                IHCResultLossOfNuclearExpressionMLH1PMS2 iHCResultLossOfNuclearExpressionMLH1PMS2 = new IHCResultLossOfNuclearExpressionMLH1PMS2();
                IHCResultLossOfNuclearExpressionMSH2MSH6 iHCResultLossOfNuclearExpressionMSH2MSH6 = new IHCResultLossOfNuclearExpressionMSH2MSH6();
                IHCResultLossOfNuclearExpressionMSH6     iHCResultLossOfNuclearExpressionMSH6     = new IHCResultLossOfNuclearExpressionMSH6();
                IHCResultLossOfNuclearExpressionPMS2     iHCResultLossOfNuclearExpressionPMS2     = new IHCResultLossOfNuclearExpressionPMS2();
                IHCResultNoLossOfNuclearExpression       iHCResultNoLossOfNuclearExpression       = new IHCResultNoLossOfNuclearExpression();
                IHCResultLossOfNuclearExpressionMLH1     iHCResultLossOfNuclearExpressionMLH1     = new IHCResultLossOfNuclearExpressionMLH1();
                IHCResultLossOfNuclearExpressionMSH2     iHCResultLossOfNuclearExpressionMSH2     = new IHCResultLossOfNuclearExpressionMSH2();

                if (resultCode == iHCResultLossOfNuclearExpressionMLH1PMS2.ResultCode)
                {
                    result = iHCResultLossOfNuclearExpressionMLH1PMS2;
                }
                else if (resultCode == iHCResultLossOfNuclearExpressionMSH2MSH6.ResultCode)
                {
                    result = iHCResultLossOfNuclearExpressionMSH2MSH6;
                }
                else if (resultCode == iHCResultLossOfNuclearExpressionMSH6.ResultCode)
                {
                    result = iHCResultLossOfNuclearExpressionMSH6;
                }
                else if (resultCode == iHCResultLossOfNuclearExpressionPMS2.ResultCode)
                {
                    result = iHCResultLossOfNuclearExpressionPMS2;
                }
                else if (resultCode == iHCResultNoLossOfNuclearExpression.ResultCode)
                {
                    result = iHCResultNoLossOfNuclearExpression;
                }
                else if (resultCode == iHCResultLossOfNuclearExpressionMLH1.ResultCode)
                {
                    result = iHCResultLossOfNuclearExpressionMLH1;
                }
                else if (resultCode == iHCResultLossOfNuclearExpressionMSH2.ResultCode)
                {
                    result = iHCResultLossOfNuclearExpressionMSH2;
                }
            }
            return(result);
        }
コード例 #3
0
        public IHCResult GetSummaryResult()
        {
            IHCResult result = IHCResult.CreateResultFromResultCode(this.m_ResultCode);

            return(result);
        }