public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_result serial_Excel_result = serial_Class as FpmlSerializedCSharp.Excel_result;

            this.calculationDate_ = StringConverter.xmlDateToDateTime(serial_Excel_result.CalculationDate_.ValueStr);

            FpmlSerializedCSharp.Excel_valueResult serial_excel_valueResult = serial_Excel_result.Excel_valueResult_;
            this.excel_valueResultViewModel_ = new Excel_valueResultViewModel();
            this.excel_valueResultViewModel_.setFromSerial(serial_excel_valueResult);

            FpmlSerializedCSharp.Excel_greekResult serial_excel_greekResult = serial_Excel_result.Excel_greekResult_;
            this.excel_greekResultViewModel_ = new Excel_greekResultViewModel();
            this.excel_greekResultViewModel_.setFromSerial(serial_excel_greekResult);

            FpmlSerializedCSharp.Excel_cashFlowsResult serial_excel_cashFlowsResult = serial_Excel_result.Excel_cashFlowsResult_;
            this.excel_cashFlowsResultViewModel_ = new Excel_cashFlowsResultViewModel();
            this.excel_cashFlowsResultViewModel_.setFromSerial(serial_excel_cashFlowsResult);
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.Excel_result serial_Excel_result = serial_Class as FpmlSerializedCSharp.Excel_result;
 
     this.calculationDate_ = StringConverter.xmlDateToDateTime(serial_Excel_result.CalculationDate_.ValueStr);
     
     FpmlSerializedCSharp.Excel_valueResult serial_excel_valueResult = serial_Excel_result.Excel_valueResult_;
     string excel_valueResulttype = serial_excel_valueResult.Excel_type_.ValueStr;
     this.excel_valueResultViewModel_ = Excel_valueResultViewModel.CreateExcel_valueResult(excel_valueResulttype);
     this.excel_valueResultViewModel_.setFromSerial(serial_excel_valueResult);
     
     FpmlSerializedCSharp.Excel_greekResult serial_excel_greekResult = serial_Excel_result.Excel_greekResult_;
     string excel_greekResulttype = serial_excel_greekResult.Excel_type_.ValueStr;
     this.excel_greekResultViewModel_ = Excel_greekResultViewModel.CreateExcel_greekResult(excel_greekResulttype);
     this.excel_greekResultViewModel_.setFromSerial(serial_excel_greekResult);
     
     FpmlSerializedCSharp.Excel_cashFlowsResult serial_excel_cashFlowsResult = serial_Excel_result.Excel_cashFlowsResult_;
     string excel_cashFlowsResulttype = serial_excel_cashFlowsResult.Excel_type_.ValueStr;
     this.excel_cashFlowsResultViewModel_ = Excel_cashFlowsResultViewModel.CreateExcel_cashFlowsResult(excel_cashFlowsResulttype);
     this.excel_cashFlowsResultViewModel_.setFromSerial(serial_excel_cashFlowsResult);
     
 }