public override void setInterfaceViewModel(Excel_multiAssetCompositeOptionViewModel e_mcovm)
        {
            this.exerciseDate_ = e_mcovm.Excel_issueInfoViewModel_.MaturityDate_;
            this.payoffDate_   = e_mcovm.PayoffDate_;

            this.excel_underlyingCalcIDViewModel_.EventDate_ = this.exerciseDate_;
            //this.DefaultSetting(e_mcovm);
        }
 public override void DefaultSetting(Excel_multiAssetCompositeOptionViewModel e_mcovm)
 {
     this.callPut_    = CallPutEnum.Call;
     this.partiRate_  = "100.0";
     this.strike_     = "100.0";
     this.baseCoupon_ = "0.0";
     //this.strikeValue_ = Convert.ToDouble(this.strike_) * this.baseUnderlyingValue_;
     this.excel_underlyingCalcIDViewModel_ = new Excel_maximumUnderlyingCalcIDViewModel();
 }
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_multiAssetCompositeOptionViewModel;

            this.IssueInfoGrid_.Children.Clear();
            this.IssueInfoGrid_.Children.Add(this.viewModel_.Excel_issueInfoViewModel_.view());

            this.UnderlyingInfoGrid_.Children.Clear();
            this.UnderlyingInfoGrid_.Children.Add(this.viewModel_.Excel_underlyingCalcInfoViewModel_.view());

            this.optionSubTypeListView_.ItemsSource = this.viewModel_.Excel_multiAsset_compositeOption_subtypeViewModel_;
        }
        public override void setInterfaceViewModel(Excel_multiAssetCompositeOptionViewModel e_mcovm)
        {
            this.exerciseDate_ = e_mcovm.Excel_issueInfoViewModel_.MaturityDate_;
            this.payoffDate_   = e_mcovm.PayoffDate_;

            this.observationStartDate_ = e_mcovm.Excel_issueInfoViewModel_.EffectiveDate_;
            this.observationEndDate_   = e_mcovm.Excel_issueInfoViewModel_.MaturityDate_;

            this.returnUnderlyingCalcIDViewModel_.EventDate_  = this.exerciseDate_;
            this.barrierUnderlyingCalcIDViewModel_.EventDate_ = this.exerciseDate_;

            //this.DefaultSetting(e_mcovm);
        }
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_multiAssetCompositeOptionViewModel;

            this.IssueInfoGrid_.Children.Clear();
            this.IssueInfoGrid_.Children.Add(this.viewModel_.Excel_issueInfoViewModel_.view());

            this.UnderlyingInfoGrid_.Children.Clear();
            this.UnderlyingInfoGrid_.Children.Add(this.viewModel_.Excel_underlyingCalcInfoViewModel_.view());

            this.optionSubTypeListView_.ItemsSource = this.viewModel_.Excel_multiAsset_compositeOption_subtypeViewModel_;

        }
        public override Excel_multiAssetCompositeOptionLoaderView loaderView(Excel_multiAssetCompositeOptionViewModel e_mcovm)
        {
            Excel_multiAssetCompositeOptionLoaderView subTypeLoaderView = new Excel_multiAssetCompositeOptionLoaderView();

            subTypeLoaderView.initialize(this);

            subTypeLoaderView.InterfaceViewModel_ = e_mcovm;

            this.excel_underlyingCalcInfoViewModel_ = e_mcovm.Excel_underlyingCalcInfoViewModel_;

            subTypeLoaderView.selectedOptionGrid_.Children.Add(this.view());

            return(subTypeLoaderView);
        }
        // 여기서 데이터 입출력을 하고 BARRIER 랑 RETURN에서 처리함

        //#region Excel_underlyingCalcIDViewModel_
        //private ObservableCollection<Excel_underlyingCalcIDViewModel> excel_underlyingCalcIDViewModel_;
        //public ObservableCollection<Excel_underlyingCalcIDViewModel> Excel_underlyingCalcIDViewModel_
        //{
        //    get { return this.excel_underlyingCalcIDViewModel_; }
        //    set
        //    {
        //        if (this.excel_underlyingCalcIDViewModel_ != value)
        //        {
        //            this.excel_underlyingCalcIDViewModel_ = value;
        //            this.NotifyPropertyChanged("Excel_underlyingCalcIDViewModel_");
        //        }
        //    }
        //}
        //#endregion

        public override void DefaultSetting(Excel_multiAssetCompositeOptionViewModel e_mcovm)
        {
            this.inOut_      = InOutEnum.Out;
            this.baseCoupon_ = "0.0";
            this.strike_     = "100.0";

            this.returnUnderlyingCalcIDViewModel_ = new Excel_minimumUnderlyingCalcIDViewModel();
            //this.returnUnderlyingCalcIDViewModel_.setUnderlying(this.excel_underlyingCalcInfoViewModel_);

            //this.strikeValue_ = Convert.ToDouble(this.strike_) * this.baseUnderlyingValue_ / 100.0;
            this.partiRate_ = "100.0";
            this.barrier_   = "120.0";

            this.barrierUnderlyingCalcIDViewModel_ = new Excel_maximumUnderlyingCalcIDViewModel();
            //this.barrierUnderlyingCalcIDViewModel_.setUnderlying(this.excel_underlyingCalcInfoViewModel_);

            //this.barrierValue_ = Convert.ToDouble(this.barrier_) * this.baseUnderlyingValue_ / 100.0;
            this.rebateCoupon_      = "0.0";
            this.rebateCouponValue_ = "0.0";

            this.observationStartDate_ = e_mcovm.Excel_issueInfoViewModel_.EffectiveDate_;
            this.observationEndDate_   = e_mcovm.Excel_issueInfoViewModel_.MaturityDate_;
        }
 // 즐겨찾기 setting
 public abstract void DefaultSetting(Excel_multiAssetCompositeOptionViewModel e_mcovm);
        public override Excel_multiAssetCompositeOptionLoaderView loaderView(Excel_multiAssetCompositeOptionViewModel e_mcovm)
        {
            Excel_multiAssetCompositeOptionLoaderView subTypeLoaderView = new Excel_multiAssetCompositeOptionLoaderView();

            subTypeLoaderView.InterfaceViewModel_ = e_mcovm;

            subTypeLoaderView.initialize(this);

            this.excel_underlyingCalcInfoViewModel_ = e_mcovm.Excel_underlyingCalcInfoViewModel_;

            subTypeLoaderView.selectedOptionGrid_.Children.Add(this.view());

            return subTypeLoaderView;
        }
        public override void DefaultSetting(Excel_multiAssetCompositeOptionViewModel e_mcovm)
        {
            this.callPut_ = CallPutEnum.Call;
            this.partiRate_ = "100.0";
            this.strike_ = "100.0";
            this.baseCoupon_ = "0.0";
            //this.strikeValue_ = Convert.ToDouble(this.strike_) * this.baseUnderlyingValue_;
            this.excel_underlyingCalcIDViewModel_ = new Excel_maximumUnderlyingCalcIDViewModel();

        }
        public override void setInterfaceViewModel(Excel_multiAssetCompositeOptionViewModel e_mcovm)
        {
            this.exerciseDate_ = e_mcovm.Excel_issueInfoViewModel_.MaturityDate_;
            this.payoffDate_ = e_mcovm.PayoffDate_;

            this.observationStartDate_ = e_mcovm.Excel_issueInfoViewModel_.EffectiveDate_;
            this.observationEndDate_ = e_mcovm.Excel_issueInfoViewModel_.MaturityDate_;

            this.returnUnderlyingCalcIDViewModel_.EventDate_ = this.exerciseDate_;
            this.barrierUnderlyingCalcIDViewModel_.EventDate_ = this.exerciseDate_;
            
            //this.DefaultSetting(e_mcovm);
        }
        // 여기서 데이터 입출력을 하고 BARRIER 랑 RETURN에서 처리함

        //#region Excel_underlyingCalcIDViewModel_
        //private ObservableCollection<Excel_underlyingCalcIDViewModel> excel_underlyingCalcIDViewModel_;
        //public ObservableCollection<Excel_underlyingCalcIDViewModel> Excel_underlyingCalcIDViewModel_
        //{
        //    get { return this.excel_underlyingCalcIDViewModel_; }
        //    set
        //    {
        //        if (this.excel_underlyingCalcIDViewModel_ != value)
        //        {
        //            this.excel_underlyingCalcIDViewModel_ = value;
        //            this.NotifyPropertyChanged("Excel_underlyingCalcIDViewModel_");
        //        }
        //    }
        //}
        //#endregion

        public override void DefaultSetting(Excel_multiAssetCompositeOptionViewModel e_mcovm)
        {
            this.inOut_ = InOutEnum.Out;
            this.baseCoupon_ = "0.0";
            this.strike_ = "100.0";

            this.returnUnderlyingCalcIDViewModel_ = new Excel_minimumUnderlyingCalcIDViewModel();
            //this.returnUnderlyingCalcIDViewModel_.setUnderlying(this.excel_underlyingCalcInfoViewModel_);

            //this.strikeValue_ = Convert.ToDouble(this.strike_) * this.baseUnderlyingValue_ / 100.0;
            this.partiRate_ = "100.0";
            this.barrier_ = "120.0";

            this.barrierUnderlyingCalcIDViewModel_ = new Excel_maximumUnderlyingCalcIDViewModel();
            //this.barrierUnderlyingCalcIDViewModel_.setUnderlying(this.excel_underlyingCalcInfoViewModel_);

            //this.barrierValue_ = Convert.ToDouble(this.barrier_) * this.baseUnderlyingValue_ / 100.0;
            this.rebateCoupon_ = "0.0";
            this.rebateCouponValue_ = "0.0";

            this.observationStartDate_ = e_mcovm.Excel_issueInfoViewModel_.EffectiveDate_;
            this.observationEndDate_ = e_mcovm.Excel_issueInfoViewModel_.MaturityDate_;

        }
 public abstract void setInterfaceViewModel(Excel_multiAssetCompositeOptionViewModel e_mcovm);
 public abstract Excel_multiAssetCompositeOptionLoaderView loaderView(Excel_multiAssetCompositeOptionViewModel e_mcovm);
 // 즐겨찾기 setting
 public abstract void DefaultSetting(Excel_multiAssetCompositeOptionViewModel e_mcovm);
 public abstract Excel_multiAssetCompositeOptionLoaderView loaderView(Excel_multiAssetCompositeOptionViewModel e_mcovm);
 public abstract void setInterfaceViewModel(Excel_multiAssetCompositeOptionViewModel e_mcovm);
        public override void setInterfaceViewModel(Excel_multiAssetCompositeOptionViewModel e_mcovm)
        {
            this.exerciseDate_ = e_mcovm.Excel_issueInfoViewModel_.MaturityDate_;
            this.payoffDate_ = e_mcovm.PayoffDate_;

            this.excel_underlyingCalcIDViewModel_.EventDate_ = this.exerciseDate_;
            //this.DefaultSetting(e_mcovm);

            
        }