public void calculate(DateTime refDate)
        {
            List <Excel_instrumentViewModel> instList = new List <Excel_instrumentViewModel>();

            //this.BookViewModel_.loadInstrument();

            BookViewModel_.getInstrument(instList);

            if (this.CalculationSetting_.CalculateTypeEnum_ == CalculationSetting.CalculateTypeEnum.Local)
            {
                LocalCalculationModule lcm = new LocalCalculationModule();

                lcm.calculate(instList, refDate);
            }
            else if (this.CalculationSetting_.CalculateTypeEnum_ == CalculationSetting.CalculateTypeEnum.Parellel)
            {
                ServerCalculationModule scm = new ServerCalculationModule();

                scm.calculate(instList, refDate);
            }
            else
            {
            }

            //
        }
        public void calculate(DateTime refDate)
        { 
            List<Excel_instrumentViewModel> instList = new List<Excel_instrumentViewModel>();

            //this.BookViewModel_.loadInstrument();

            BookViewModel_.getInstrument(instList);

            if (this.CalculationSetting_.CalculateTypeEnum_ == CalculationSetting.CalculateTypeEnum.Local)
            {
                LocalCalculationModule lcm = new LocalCalculationModule();

                lcm.calculate(instList, refDate);
            }
            else if (this.CalculationSetting_.CalculateTypeEnum_ == CalculationSetting.CalculateTypeEnum.Parellel)
            {
                ServerCalculationModule scm = new ServerCalculationModule();

                scm.calculate(instList, refDate);
            }
            else
            { 
                
            }

            // 
        }