public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.CouponScheduleInfo serial_CouponScheduleInfo = serial_Class as FpmlSerializedCSharp.CouponScheduleInfo;

            this.scheduleInitialDate_ = serial_CouponScheduleInfo.ScheduleInitialDate_.ValueStr;

            this.maturityDate_ = serial_CouponScheduleInfo.MaturityDate_.ValueStr;

            List <FpmlSerializedCSharp.CouponSchedule> serial_couponSchedule = serial_CouponScheduleInfo.CouponSchedule_;

            this.couponScheduleViewModel_ = new ObservableCollection <CouponScheduleViewModel>();
            foreach (var item in serial_couponSchedule)
            {
                string type = item.Excel_type_.ValueStr;
                CouponScheduleViewModel viewModel = CouponScheduleViewModel.CreateCouponSchedule(type);
                viewModel.setFromSerial(item);
                this.couponScheduleViewModel_.Add(viewModel);
            }

            this.view_             = new CouponScheduleInfoView();
            this.view_.DataContext = this;
        }
 public void selectCouponScheduleInfo(string typeStr)
 {
     this.couponScheduleViewModel_ = CouponScheduleViewModel.CreateCouponSchedule(typeStr);
     this.view_.DataContext        = this;
 }