Exemple #1
0
        public virtual void buildParameterFromInstrumentWithOutData(DateTime refDate)
        {
            Excel_parameterViewModel e_pvm = Excel_parameterLoader.Load(this.booking_type_);

            e_pvm.IssueDate_ = this.excel_interfaceViewModel_.Excel_issueInfoViewModel_.EffectiveDate_;

            e_pvm.ItemCode_ = this.masterInformationViewModel_.Item_code_;

            //ParameterSettingManager parameterSettingManager = new ParameterSettingManager(refDate,this);
            ParameterSettingManager parameterSettingManager
                = ParameterSettingManagerBuilder.makeParaSettingManager("default", refDate, this);

            e_pvm.buildParaSetting(parameterSettingManager);

            this.excel_parameterViewModel_ = e_pvm;
        }
Exemple #2
0
        public override void buildParameterFromInstrument(DateTime refDate)
        {
            Excel_standardHifiveParaViewModel e_spvm = new Excel_standardHifiveParaViewModel();

            e_spvm.IssueDate_ = this.excel_interfaceViewModel_.Excel_issueInfoViewModel_.EffectiveDate_;

            e_spvm.ReferenceDate_ = refDate;

            e_spvm.ItemCode_ = this.masterInformationViewModel_.Item_code_;

            ParameterSettingManager parameterSettingManager
                = ParameterSettingManagerBuilder.makeParaSettingManager("default", refDate, this);

            e_spvm.buildParaSetting(parameterSettingManager);

            this.excel_parameterViewModel_ = e_spvm;
        }
        public override void buildParameterFromInstrument(DateTime refDate)
        {
            // createParameterVM 으로 setting에서 받아 ㄱㄱ해야함.

            Excel_singleAssetCompositeOptionStandParaWithEngineViewModel e_para = new Excel_singleAssetCompositeOptionStandParaWithEngineViewModel();

            e_para.IssueDate_ = this.excel_interfaceViewModel_.Excel_issueInfoViewModel_.EffectiveDate_;

            e_para.ReferenceDate_ = refDate;

            e_para.ItemCode_ = this.masterInformationViewModel_.Item_code_;

            ParameterSettingManager parameterSettingManager
                = ParameterSettingManagerBuilder.makeParaSettingManager("default", refDate, this);

            e_para.buildParaSetting(parameterSettingManager);

            this.excel_parameterViewModel_ = e_para;
        }