public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.StepDownKI_paraSetting serial_StepDownKI_paraSetting = serial_Class as FpmlSerializedCSharp.StepDownKI_paraSetting; FpmlSerializedCSharp.GeometricBM_paraSetting serial_geometricBM_paraSetting = serial_StepDownKI_paraSetting.GeometricBM_paraSetting_; string geometricBM_paraSettingtype = serial_geometricBM_paraSetting.Excel_type_.ValueStr; this.geometricBM_paraSettingViewModel_ = GeometricBM_paraSettingViewModel.CreateGeometricBM_paraSetting(geometricBM_paraSettingtype); this.geometricBM_paraSettingViewModel_.setFromSerial(serial_geometricBM_paraSetting); FpmlSerializedCSharp.HullWhite_paraSetting serial_hullWhite_paraSetting = serial_StepDownKI_paraSetting.HullWhite_paraSetting_; string hullWhite_paraSettingtype = serial_hullWhite_paraSetting.Excel_type_.ValueStr; this.hullWhite_paraSettingViewModel_ = HullWhite_paraSettingViewModel.CreateHullWhite_paraSetting(hullWhite_paraSettingtype); this.hullWhite_paraSettingViewModel_.setFromSerial(serial_hullWhite_paraSetting); FpmlSerializedCSharp.DiscountCurve_paraSetting serial_discountCurve_paraSetting = serial_StepDownKI_paraSetting.DiscountCurve_paraSetting_; string discountCurve_paraSettingtype = serial_discountCurve_paraSetting.Excel_type_.ValueStr; this.discountCurve_paraSettingViewModel_ = DiscountCurve_paraSettingViewModel.CreateDiscountCurve_paraSetting(discountCurve_paraSettingtype); this.discountCurve_paraSettingViewModel_.setFromSerial(serial_discountCurve_paraSetting); }
public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.HullWhite_paraSetting serial_HullWhite_paraSetting = serial_Class as FpmlSerializedCSharp.HullWhite_paraSetting; }