示例#1
0
 public virtual void setCouponVM(ICoupon coupon)
 {
     this.no_   = coupon.No_;
     this.type_ = coupon.Type_;
     this.calculationStartDate_ = coupon.CalculationStartDate_;
     this.calculationEndDate_   = coupon.CalculationEndDate_;
     this.fixed_       = coupon.Fixed_;
     this.expired_     = coupon.Expired_;
     this.description_ = coupon.Description_;
 }
示例#2
0
        public override void setCouponVM(ICoupon coupon)
        {
            base.setCouponVM(coupon);

            SingleDigitalRangeCoupon sdrc = coupon as SingleDigitalRangeCoupon;

            ObservableCollection <double> refRateList    = new ObservableCollection <double>();
            ObservableCollection <double> couponRateList = new ObservableCollection <double>();

            for (int i = 0; i < sdrc.RangeCount_; i++)
            {
                refRateList.Add(sdrc.RefRateList_[i]);
                couponRateList.Add(sdrc.CouponRateList_[i]);
            }
        }
        public override void setCouponVM(ICoupon coupon)
        {
            base.setCouponVM(coupon);

            SingleDigitalRangeCoupon sdrc = coupon as SingleDigitalRangeCoupon;
            
            ObservableCollection<double> refRateList = new ObservableCollection<double>();
            ObservableCollection<double> couponRateList = new ObservableCollection<double>();

            for (int i = 0; i < sdrc.RangeCount_; i++)
			{
                refRateList.Add(sdrc.RefRateList_[i]);
                couponRateList.Add(sdrc.CouponRateList_[i]);
			}
                
        }
 public override void setCouponVM(ICoupon coupon)
 {
     throw new NotImplementedException();
 }
 public override void setCouponVM(ICoupon coupon)
 {
     throw new NotImplementedException();
 }
        public virtual void setCouponVM(ICoupon coupon)
        {
            this.no_ = coupon.No_;
            this.type_ = coupon.Type_;
            this.calculationStartDate_ = coupon.CalculationStartDate_;
            this.calculationEndDate_ = coupon.CalculationEndDate_;
            this.fixed_ = coupon.Fixed_;
            this.expired_ = coupon.Expired_;
            this.description_ = coupon.Description_;

        }