public void AddCalculationMethod(string calMethodType, int month) { if (calMethodType == "HIST") { HistVolCalculator histVolCal = new HistVolCalculator(); histVolCal.MethodType_ = HistVolCalculator.MethodType.HISTORYCAL; histVolCal.CalculationInterval = month; //this.volCalculationManager_.VolCalculaters_.Add(histVolCal); } else if (calMethodType == "OTHER") { } }
public void AddCalculationMethod(string calMethodType,int month) { if (calMethodType == "HIST") { HistVolCalculator histVolCal = new HistVolCalculator(); histVolCal.MethodType_ = HistVolCalculator.MethodType.HISTORYCAL; histVolCal.CalculationInterval = month; //this.volCalculationManager_.VolCalculaters_.Add(histVolCal); } else if (calMethodType == "OTHER") { } }