public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_creditEventInfo serial_Excel_creditEventInfo = serial_Class as FpmlSerializedCSharp.Excel_creditEventInfo; FpmlSerializedCSharp.Excel_issueInfo serial_excel_issueInfo = serial_Excel_creditEventInfo.Excel_issueInfo_; string excel_issueInfotype = serial_excel_issueInfo.Excel_type_.ValueStr; this.excel_issueInfoViewModel_ = Excel_issueInfoViewModel.CreateExcel_issueInfo(excel_issueInfotype); this.excel_issueInfoViewModel_.setFromSerial(serial_excel_issueInfo); FpmlSerializedCSharp.Excel_referenceInformationList serial_excel_referenceInformationList = serial_Excel_creditEventInfo.Excel_referenceInformationList_; //string excel_referenceInformationListtype = serial_excel_referenceInformationList.Excel_type_.ValueStr; this.excel_referenceInformationListViewModel_ = new Excel_referenceInformationListViewModel(); this.excel_referenceInformationListViewModel_.setFromSerial(serial_excel_referenceInformationList); FpmlSerializedCSharp.Excel_jointProbabilityTrait serial_excel_jointProbabilityTrait = serial_Excel_creditEventInfo.Excel_jointProbabilityTrait_; //string excel_jointProbabilityTraittype = serial_excel_jointProbabilityTrait.Excel_type_.ValueStr; this.excel_jointProbabilityTraitViewModel_ = new Excel_jointProbabilityTraitViewModel(); this.excel_jointProbabilityTraitViewModel_.setFromSerial(serial_excel_jointProbabilityTrait); FpmlSerializedCSharp.Excel_protectionTerms serial_excel_protectionTerms = serial_Excel_creditEventInfo.Excel_protectionTerms_; //string excel_protectionTermstype = serial_excel_protectionTerms.Excel_type_.ValueStr; this.excel_protectionTermsViewModel_ = new Excel_protectionTermsViewModel(); this.excel_protectionTermsViewModel_.setFromSerial(serial_excel_protectionTerms); }
public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class) { FpmlSerializedCSharp.Excel_protectionTerms serial_Excel_protectionTerms = serial_Class as FpmlSerializedCSharp.Excel_protectionTerms; FpmlSerializedCSharp.Excel_creditEvents serial_excel_creditEvents = serial_Excel_protectionTerms.Excel_creditEvents_; //string excel_creditEventstype = serial_excel_creditEvents.Excel_type_.ValueStr; this.excel_creditEventsViewModel_ = new Excel_creditEventsViewModel(); this.excel_creditEventsViewModel_.setFromSerial(serial_excel_creditEvents); FpmlSerializedCSharp.Excel_obligations serial_excel_obligations = serial_Excel_protectionTerms.Excel_obligations_; //string excel_obligationstype = serial_excel_obligations.Excel_type_.ValueStr; this.excel_obligationsViewModel_ = new Excel_obligationsViewModel(); this.excel_obligationsViewModel_.setFromSerial(serial_excel_obligations); this.accrualCoupon_ = serial_Excel_protectionTerms.AccrualCoupon_.ValueStr; }