Exemplo n.º 1
0
 public CoverNode(Subject _subject, string _coverName)
     : base(_subject)
 {
     Payout    = 0;
     CoverName = _coverName;
     CurrentAllocationState = new AllocationStateCollection(1);
     //CurrentAggState = new AggState(Cover.AggDedAmount, Cover.AggLimitAmount, Cover.DedOfAggDedLayer.Amount, Cover.LimitOfAggDedLayer.Amount);
     CurrentAggState = new AggState();
     keystring       = keystring + "-Cov: " + _coverName;
 }
Exemplo n.º 2
0
 public AggState(AggState otherAggState)
 {
     this.AggDedAmount             = otherAggState.AggDedAmount;
     this.AggLimitAmount           = otherAggState.AggLimitAmount;
     this.AggPayout                = otherAggState.AggPayout;
     this.DedFilled                = otherAggState.DedFilled;
     this.DedAmountOfAggDedLayer   = otherAggState.DedAmountOfAggDedLayer;
     this.IsUnlimited              = otherAggState.IsUnlimited;
     this.LimitAmountOfAggDedLayer = otherAggState.LimitAmountOfAggDedLayer;
     this.RemainingLoss            = otherAggState.RemainingLoss;
 }
Exemplo n.º 3
0
        public CoverNode(Subject _subject, string _coverName, CoverNode cNode)
            : base(_subject)
        {
            Payout    = 0;
            CoverName = _coverName;
            CurrentAllocationState = new AllocationStateCollection2(1);

            //CurrentAggState = new AggState(Cover.AggDedAmount, Cover.AggLimitAmount, Cover.DedOfAggDedLayer.Amount, Cover.LimitOfAggDedLayer.Amount);
            CurrentAggState = new AggState();
            keystring       = keystring + "-Cov: " + _coverName;
            //Cover = cNode.Cover;
            Cover = new Cover(cNode.Cover.CoverName, cNode.Cover.AttIsFranchise, cNode.Cover.AttPoint, cNode.Cover.Limit, cNode.Cover.ProRata, cNode.Cover.Unlimited, cNode.Cover.AttachmentTimeBasis,
                              cNode.Cover.LimitTimeBasis, cNode.Cover.LimitValType, cNode.Cover.NumofReinstatements, cNode.Cover.UnlimitedReinstatements);
        }