public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_underlyingModel_para serial_Excel_underlyingModel_para = serial_Class as FpmlSerializedCSharp.Excel_underlyingModel_para;
            FpmlSerializedCSharp.Excel_hullWhiteOneFactor   serial_Excel_hullWhiteOneFactor   = serial_Excel_underlyingModel_para.Excel_hullWhiteOneFactor_;

            this.currentValue_ = serial_Excel_hullWhiteOneFactor.CurrentValue_.ValueStr;

            this.alpha_ = serial_Excel_hullWhiteOneFactor.Alpha_.ValueStr;

            this.volatility_ = serial_Excel_hullWhiteOneFactor.Volatility_.ValueStr;

            FpmlSerializedCSharp.Excel_rateInfo serial_excel_rateInfo = serial_Excel_hullWhiteOneFactor.Excel_rateInfo_;
            string excel_rateInfotype = serial_excel_rateInfo.Excel_type_.ValueStr;

            this.excel_rateInfoViewModel_ = Excel_rateInfoViewModel.CreateExcel_rateInfo(excel_rateInfotype);
            this.excel_rateInfoViewModel_.setFromSerial(serial_excel_rateInfo);

            this.linkedCurveCode_ = serial_Excel_hullWhiteOneFactor.LinkedCurveCode_.ValueStr;

            FpmlSerializedCSharp.Excel_yieldCurve serial_excel_yieldCurve = serial_Excel_hullWhiteOneFactor.Excel_yieldCurve_;
            string excel_yieldCurvetype = serial_excel_yieldCurve.Excel_type_.ValueStr;

            this.excel_yieldCurveViewModel_ = Excel_yieldCurveViewModel.CreateExcel_yieldCurve(excel_yieldCurvetype);
            this.excel_yieldCurveViewModel_.setFromSerial(serial_excel_yieldCurve);

            this.vba_description_ = serial_Excel_hullWhiteOneFactor.Vba_description_.ValueStr;
        }
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_underlyingModel_para serial_Excel_underlyingModel_para = serial_Class as FpmlSerializedCSharp.Excel_underlyingModel_para;
            FpmlSerializedCSharp.Excel_hullWhiteOneFactor   serial_Excel_hullWhiteOneFactor   = serial_Excel_underlyingModel_para.Excel_hullWhiteOneFactor_;

            this.currentValue_ = serial_Excel_hullWhiteOneFactor.CurrentValue_.ValueStr;

            this.alpha_ = serial_Excel_hullWhiteOneFactor.Alpha_.ValueStr;

            this.volatility_ = serial_Excel_hullWhiteOneFactor.Volatility_.ValueStr;

            this.tenor_ = serial_Excel_hullWhiteOneFactor.Tenor_.ValueStr;

            this.fittingYieldCurveName_ = serial_Excel_hullWhiteOneFactor.FittingYieldCurveName_.ValueStr;
        }
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_underlyingModel_para serial_Excel_underlyingModel_para = serial_Class as FpmlSerializedCSharp.Excel_underlyingModel_para;
            FpmlSerializedCSharp.Excel_hullWhiteOneFactor   serial_Excel_hullWhiteOneFactor   = serial_Excel_underlyingModel_para.Excel_hullWhiteOneFactor_;

            this.currentValue_    = serial_Excel_hullWhiteOneFactor.CurrentValue_.ValueStr;
            this.alpha_           = serial_Excel_hullWhiteOneFactor.Alpha_.ValueStr;
            this.volatility_      = serial_Excel_hullWhiteOneFactor.Volatility_.ValueStr;
            this.linkedCurveCode_ = serial_Excel_hullWhiteOneFactor.LinkedCurveCode_.ValueStr;

            FpmlSerializedCSharp.Excel_rateInfo serial_excel_rateInfo = serial_Excel_hullWhiteOneFactor.Excel_rateInfo_;
            this.excel_rateInfoViewModel_ = new Excel_rateInfoViewModel();
            this.excel_rateInfoViewModel_.setFromSerial(serial_excel_rateInfo);

            FpmlSerializedCSharp.Excel_yieldCurve serial_excel_yieldCurve = serial_Excel_hullWhiteOneFactor.Excel_yieldCurve_;
            this.excel_yieldCurveViewModel_ = new Excel_yieldCurveViewModel();
            this.excel_yieldCurveViewModel_.setFromSerial(serial_excel_yieldCurve);
        }