Esempio n. 1
0
        public override void buildParameterFromInstrument(DateTime refDate)
        {
            //xml load
            //this.excel_interfaceViewModel_.load

            Excel_standardParaViewModel e_spvm = this.Excel_parameterViewModel_ as Excel_standardParaViewModel; //new Excel_standardParaViewModel();

            e_spvm.ItemCode_ = this.masterInformationViewModel_.Item_code_;

            UnderlyingModelSettingManager umsm = new UnderlyingModelSettingManager();

            e_spvm.Excel_underlyingCalcInfo_paraViewModel_.Excel_underlyingInfo_paraViewModel_.Clear();

            Excel_underlyingCalcInfo_paraViewModel e_ucivm = umsm.underInfo_para(this.excel_interfaceViewModel_.Excel_underlyingCalcInfoViewModel_);

            e_spvm.Excel_underlyingCalcInfo_paraViewModel_ = e_ucivm;

            this.excel_parameterViewModel_ = e_spvm;
        }
        public override void buildParameterFromInstrument(DateTime refDate)
        {
            //xml load
            //this.excel_interfaceViewModel_.load

            Excel_standardParaViewModel e_spvm = this.Excel_parameterViewModel_ as Excel_standardParaViewModel; //new Excel_standardParaViewModel();

            e_spvm.ItemCode_ = this.masterInformationViewModel_.Item_code_;

            UnderlyingModelSettingManager umsm = new UnderlyingModelSettingManager();

            e_spvm.Excel_underlyingCalcInfo_paraViewModel_.Excel_underlyingInfo_paraViewModel_.Clear();

            Excel_underlyingCalcInfo_paraViewModel e_ucivm = umsm.underInfo_para(this.excel_interfaceViewModel_.Excel_underlyingCalcInfoViewModel_);

            e_spvm.Excel_underlyingCalcInfo_paraViewModel_ = e_ucivm;

            this.excel_parameterViewModel_ = e_spvm;

            
        }