public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_parameter          serial_Excel_parameter          = serial_Class as FpmlSerializedCSharp.Excel_parameter;
            FpmlSerializedCSharp.Excel_standardCreditPara serial_Excel_standardCreditPara = serial_Excel_parameter.Excel_standardCreditPara_;

            this.referenceDate_ = StringConverter.xmlDateToDateTime(serial_Excel_standardCreditPara.ReferenceDate_.ValueStr);

            this.simulationNum_ = serial_Excel_standardCreditPara.SimulationNum_.ValueStr;

            FpmlSerializedCSharp.Excel_underlyingCalcInfo_para serial_excel_underlyingCalcInfo_para = serial_Excel_standardCreditPara.Excel_underlyingCalcInfo_para_;
            string excel_underlyingCalcInfo_paratype = serial_excel_underlyingCalcInfo_para.Excel_type_.ValueStr;

            this.excel_underlyingCalcInfo_paraViewModel_ = Excel_underlyingCalcInfo_paraViewModel.CreateExcel_underlyingCalcInfo_para(excel_underlyingCalcInfo_paratype);
            this.excel_underlyingCalcInfo_paraViewModel_.setFromSerial(serial_excel_underlyingCalcInfo_para);

            FpmlSerializedCSharp.Excel_referenceCalcInfo_para serial_excel_referenceCalcInfo_para = serial_Excel_standardCreditPara.Excel_referenceCalcInfo_para_;
            string excel_referenceCalcInfo_paratype = serial_excel_referenceCalcInfo_para.Excel_type_.ValueStr;

            this.excel_referenceCalcInfo_paraViewModel_ = Excel_referenceCalcInfo_paraViewModel.CreateExcel_referenceCalcInfo_para(excel_referenceCalcInfo_paratype);
            this.excel_referenceCalcInfo_paraViewModel_.setFromSerial(serial_excel_referenceCalcInfo_para);

            FpmlSerializedCSharp.Excel_discountCurve_para serial_excel_discountCurve_para = serial_Excel_standardCreditPara.Excel_discountCurve_para_;
            string excel_discountCurve_paratype = serial_excel_discountCurve_para.Excel_type_.ValueStr;

            this.excel_discountCurve_paraViewModel_ = Excel_discountCurve_paraViewModel.CreateExcel_discountCurve_para(excel_discountCurve_paratype);
            this.excel_discountCurve_paraViewModel_.setFromSerial(serial_excel_discountCurve_para);

            FpmlSerializedCSharp.Excel_defaultCurve_para serial_excel_defaultCurve_para = serial_Excel_standardCreditPara.Excel_defaultCurve_para_;
            string excel_defaultCurve_paratype = serial_excel_defaultCurve_para.Excel_type_.ValueStr;

            this.excel_defaultCurve_paraViewModel_ = Excel_defaultCurve_paraViewModel.CreateExcel_defaultCurve_para(excel_defaultCurve_paratype);
            this.excel_defaultCurve_paraViewModel_.setFromSerial(serial_excel_defaultCurve_para);
        }
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_defaultCurve_para serial_Excel_defaultCurve_para = serial_Class as FpmlSerializedCSharp.Excel_defaultCurve_para;

            List <FpmlSerializedCSharp.Excel_defaultCurve> serial_excel_defaultCurve = serial_Excel_defaultCurve_para.Excel_defaultCurve_;

            this.excel_defaultCurveViewModel_ = new ObservableCollection <Excel_defaultCurveViewModel>();
            foreach (var item in serial_excel_defaultCurve)
            {
                //string type = item.Excel_type_.ValueStr;
                Excel_defaultCurveViewModel viewModel = new Excel_defaultCurveViewModel();//.CreateExcel_defaultCurve(type);
                viewModel.setFromSerial(item);
                this.excel_defaultCurveViewModel_.Add(viewModel);
            }
        }