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_geometricBM_LocalVol serial_Excel_geometricBM_LocalVol = serial_Excel_underlyingModel_para.Excel_geometricBM_LocalVol_;

            this.currentValue_ = serial_Excel_geometricBM_LocalVol.CurrentValue_.ValueStr;

            this.drift_ = serial_Excel_geometricBM_LocalVol.Drift_.ValueStr;

            this.dividend_ = serial_Excel_geometricBM_LocalVol.Dividend_.ValueStr;

            this.linkedSurfaceCode_ = serial_Excel_geometricBM_LocalVol.LinkedSurfaceCode_.ValueStr;

            FpmlSerializedCSharp.Excel_volSurface serial_excel_volSurface = serial_Excel_geometricBM_LocalVol.Excel_volSurface_;
            string excel_volSurfacetype = serial_excel_volSurface.Excel_type_.ValueStr;

            this.excel_volSurfaceViewModel_ = Excel_volSurfaceViewModel.CreateExcel_volSurface(excel_volSurfacetype);
            this.excel_volSurfaceViewModel_.setFromSerial(serial_excel_volSurface);

            this.vba_description_ = serial_Excel_geometricBM_LocalVol.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_geometricBM_LocalVol serial_Excel_geometricBM_LocalVol = serial_Excel_underlyingModel_para.Excel_geometricBM_LocalVol_;
 
     this.currentValue_ = serial_Excel_geometricBM_LocalVol.CurrentValue_.ValueStr;
     
     this.drift_ = serial_Excel_geometricBM_LocalVol.Drift_.ValueStr;
     
     this.dividend_ = serial_Excel_geometricBM_LocalVol.Dividend_.ValueStr;
     
     this.linkedSurfaceCode_ = serial_Excel_geometricBM_LocalVol.LinkedSurfaceCode_.ValueStr;
     
     FpmlSerializedCSharp.Excel_volSurface serial_excel_volSurface = serial_Excel_geometricBM_LocalVol.Excel_volSurface_;
     string excel_volSurfacetype = serial_excel_volSurface.Excel_type_.ValueStr;
     this.excel_volSurfaceViewModel_ = Excel_volSurfaceViewModel.CreateExcel_volSurface(excel_volSurfacetype);
     this.excel_volSurfaceViewModel_.setFromSerial(serial_excel_volSurface);
     
     this.vba_description_ = serial_Excel_geometricBM_LocalVol.Vba_description_.ValueStr;
     
 }