public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.PricingParameter serial_PricingParameter = serial_Class as FpmlSerializedCSharp.PricingParameter;
     FpmlSerializedCSharp.StepDownKI_para serial_StepDownKI_para = serial_PricingParameter.StepDownKI_para_;
 
     FpmlSerializedCSharp.CalculationAmount serial_calculationAmount = serial_StepDownKI_para.CalculationAmount_;
     string calculationAmounttype = serial_calculationAmount.Excel_type_.ValueStr;
     this.calculationAmountViewModel_ = CalculationAmountViewModel.CreateCalculationAmount(calculationAmounttype);
     this.calculationAmountViewModel_.setFromSerial(serial_calculationAmount);
     
     FpmlSerializedCSharp.UnderlyingInfo_para serial_underlyingInfo_para = serial_StepDownKI_para.UnderlyingInfo_para_;
     string underlyingInfo_paratype = serial_underlyingInfo_para.Excel_type_.ValueStr;
     this.underlyingInfo_paraViewModel_ = UnderlyingInfo_paraViewModel.CreateUnderlyingInfo_para(underlyingInfo_paratype);
     this.underlyingInfo_paraViewModel_.setFromSerial(serial_underlyingInfo_para);
     
     FpmlSerializedCSharp.DiscountCurve_para serial_discountCurve_para = serial_StepDownKI_para.DiscountCurve_para_;
     string discountCurve_paratype = serial_discountCurve_para.Excel_type_.ValueStr;
     this.discountCurve_paraViewModel_ = DiscountCurve_paraViewModel.CreateDiscountCurve_para(discountCurve_paratype);
     this.discountCurve_paraViewModel_.setFromSerial(serial_discountCurve_para);
     
 }
 public void selectDiscountCurve_paraInfo(string typeStr)
 {
     this.discountCurve_paraViewModel_ = DiscountCurve_paraViewModel.CreateDiscountCurve_para(typeStr);
     this.view_.DataContext = this;
 }
 public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.PricingParameter serial_PricingParameter = serial_Class as FpmlSerializedCSharp.PricingParameter;
     FpmlSerializedCSharp.StandardCredit_para serial_StandardCredit_para = serial_PricingParameter.StandardCredit_para_;
 
     FpmlSerializedCSharp.ReferenceEntityInfo_para serial_referenceEntityInfo_para = serial_StandardCredit_para.ReferenceEntityInfo_para_;
     string referenceEntityInfo_paratype = serial_referenceEntityInfo_para.Excel_type_.ValueStr;
     this.referenceEntityInfo_paraViewModel_ = ReferenceEntityInfo_paraViewModel.CreateReferenceEntityInfo_para(referenceEntityInfo_paratype);
     this.referenceEntityInfo_paraViewModel_.setFromSerial(serial_referenceEntityInfo_para);
     
     FpmlSerializedCSharp.DiscountCurve_para serial_discountCurve_para = serial_StandardCredit_para.DiscountCurve_para_;
     string discountCurve_paratype = serial_discountCurve_para.Excel_type_.ValueStr;
     this.discountCurve_paraViewModel_ = DiscountCurve_paraViewModel.CreateDiscountCurve_para(discountCurve_paratype);
     this.discountCurve_paraViewModel_.setFromSerial(serial_discountCurve_para);
     
     this.recoveryRate_ = serial_StandardCredit_para.RecoveryRate_.ValueStr;
     
 }