public void scheduleDataGenerate()
        {
            VanillaFloatingBond_TradeString vfb_ts = new VanillaFloatingBond_TradeString();

            vfb_ts.parsingString(this.productString_);

            this.excel_vanillaFloatingBond_subScheduleViewModel_.Clear();

            #region block



            //this.scheduleGeneratorVM_.InitialDate_ = this.effectiveDate_;

            ////QLNet.Period maturityPeriod = new Period(maturityTenor, tu);
            //QLNet.Period maturityPeriod = new Period(this.maturity_);

            //// Y 말고 M도 처리해야함 // 우선은 int로 하자 1.5Y이런거는 잠시 대기
            //int maturityTenor = maturityPeriod.length();

            //TimeUnit tu = maturityPeriod.units(); //TimeUnit.Years;

            //this.scheduleGeneratorVM_.EndDate_ = this.effectiveDate_.AddYears(maturityTenor);

            //QLNet.Period couponPeriod = new Period(this.couponTenor_); //new Period(couponTenor, tu);

            //// coupon
            //int couponTenor = couponPeriod.length();
            //double couponMultiplier = Convert.ToDouble(couponPeriod.frequency());//1.0;

            //this.scheduleGeneratorVM_.Tenor_ = couponPeriod.ToShortString();

            //int addingDays = 0;

            //this.scheduleGeneratorVM_.genDates(addingDays);

            //ObservableCollection<DateTime> eventDates = this.scheduleGeneratorVM_.Dates_;

            //int scheduleLength = eventDates.Count;

            //this.SettlementDays_ = Convert.ToInt32(tsm.SettlementDays_);
            #endregion

            for (int i = 0; i < this.scheduleGeneratorVM_.Dates_.Count - 1; i++)
            {
                Excel_vanillaFloatingBond_subScheduleViewModel data = new Excel_vanillaFloatingBond_subScheduleViewModel();

                data.EventDate_ = new DateTime();

                data.CalculationStartDate_ = this.scheduleGeneratorVM_.Dates_[i];
                data.CalculationEndDate_   = this.scheduleGeneratorVM_.Dates_[i + 1];
                data.FixingDate_           = this.scheduleGeneratorVM_.Dates_[i];
                data.PaymentDate_          = this.scheduleGeneratorVM_.Dates_[i + 1].AddDays(Convert.ToDouble(this.scheduleGeneratorVM_.PaymentDays_));

                data.Gearing_ = this.Gearing_;
                data.Spread_  = this.Spread_;

                this.excel_vanillaFloatingBond_subScheduleViewModel_.Add(data);
            }
        }
        public void scheduleDataGenerate()
        {
            VanillaFloatingBond_TradeString vfb_ts = new VanillaFloatingBond_TradeString();

            vfb_ts.parsingString(this.productString_);

            this.excel_vanillaFloatingBond_subScheduleViewModel_.Clear();

            #region block
            
            

            //this.scheduleGeneratorVM_.InitialDate_ = this.effectiveDate_;

            ////QLNet.Period maturityPeriod = new Period(maturityTenor, tu);
            //QLNet.Period maturityPeriod = new Period(this.maturity_);

            //// Y 말고 M도 처리해야함 // 우선은 int로 하자 1.5Y이런거는 잠시 대기
            //int maturityTenor = maturityPeriod.length();

            //TimeUnit tu = maturityPeriod.units(); //TimeUnit.Years;

            //this.scheduleGeneratorVM_.EndDate_ = this.effectiveDate_.AddYears(maturityTenor);

            //QLNet.Period couponPeriod = new Period(this.couponTenor_); //new Period(couponTenor, tu);

            //// coupon
            //int couponTenor = couponPeriod.length();
            //double couponMultiplier = Convert.ToDouble(couponPeriod.frequency());//1.0;

            //this.scheduleGeneratorVM_.Tenor_ = couponPeriod.ToShortString();

            //int addingDays = 0;

            //this.scheduleGeneratorVM_.genDates(addingDays);

            //ObservableCollection<DateTime> eventDates = this.scheduleGeneratorVM_.Dates_;

            //int scheduleLength = eventDates.Count;

            //this.SettlementDays_ = Convert.ToInt32(tsm.SettlementDays_);
            #endregion

            for (int i = 0; i < this.scheduleGeneratorVM_.Dates_.Count - 1; i++)
            {
                Excel_vanillaFloatingBond_subScheduleViewModel data = new Excel_vanillaFloatingBond_subScheduleViewModel();

                data.EventDate_ = new DateTime();

                data.CalculationStartDate_ = this.scheduleGeneratorVM_.Dates_[i];
                data.CalculationEndDate_ = this.scheduleGeneratorVM_.Dates_[i + 1];
                data.FixingDate_ = this.scheduleGeneratorVM_.Dates_[i];
                data.PaymentDate_ = this.scheduleGeneratorVM_.Dates_[i + 1].AddDays(Convert.ToDouble(this.scheduleGeneratorVM_.PaymentDays_));

                data.Gearing_ = this.Gearing_;
                data.Spread_ = this.Spread_;

                this.excel_vanillaFloatingBond_subScheduleViewModel_.Add(data);
            }
        }