예제 #1
0
        private void DecreaseTotalRiskAndCostByAction(CoverageAction action)
        {
            TotalResidualRisk = TotalResidualRisk - (double)action.ManagedRiskReduction;

            TotalCost += (double)action.Cost;

            TotalIngCost += (double)action.IngCost;
        }
예제 #2
0
        private void CreateRiskProjection(CoverageAction action)
        {
            DecreaseTotalRiskAndCostByAction(action);

            Projections.Add(

                action.GetActionId(),

                new Projection(TotalResidualRisk, TotalCost, TotalIngCost)

                );
        }