예제 #1
0
        public string GetTotalNPV1Stat1Property(NPV1Stat1 ind, string attName)
        {
            string sPropertyValue = string.Empty;

            sPropertyValue = ind.GetMeanBenefitsProperty(attName);
            sPropertyValue = ind.GetMeanCostsProperty(attName);
            sPropertyValue = ind.GetMedianBenefitsProperty(attName);
            sPropertyValue = ind.GetMedianCostsProperty(attName);
            sPropertyValue = ind.GetVarianceBenefitsProperty(attName);
            sPropertyValue = ind.GetVarianceCostsProperty(attName);
            sPropertyValue = ind.GetStdDevBenefitsProperty(attName);
            sPropertyValue = ind.GetStdDevCostsProperty(attName);
            switch (attName)
            {
            case TCostN:
                sPropertyValue = ind.TotalCostN.ToString();
                break;

            case TBenefitN:
                sPropertyValue = ind.TotalBenefitN.ToString();
                break;

            default:
                break;
            }
            return(sPropertyValue);
        }