public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.FixedCouponSchedule serial_FixedCouponSchedule = serial_Class as FpmlSerializedCSharp.FixedCouponSchedule;

            this.fixedRate_ = serial_FixedCouponSchedule.FixedRate_.ValueStr;

            this.eventDate_ = serial_FixedCouponSchedule.EventDate_.ValueStr;

            this.calculationStartDate_ = serial_FixedCouponSchedule.CalculationStartDate_.ValueStr;

            this.calculationEndDate_ = serial_FixedCouponSchedule.CalculationEndDate_.ValueStr;

            this.paymentDate_ = serial_FixedCouponSchedule.PaymentDate_.ValueStr;

            this.detailScheduleType_ = serial_FixedCouponSchedule.DetailScheduleType_.ValueStr;

            this.description_ = serial_FixedCouponSchedule.Description_.ValueStr;

            FpmlSerializedCSharp.FixedCouponCalculation serial_fixedCouponCalculation = serial_FixedCouponSchedule.FixedCouponCalculation_;
            string fixedCouponCalculationtype = serial_fixedCouponCalculation.Excel_type_.ValueStr;

            this.fixedCouponCalculationViewModel_ = FixedCouponCalculationViewModel.CreateFixedCouponCalculation(fixedCouponCalculationtype);
            this.fixedCouponCalculationViewModel_.setFromSerial(serial_fixedCouponCalculation);

            this.view_             = new FixedCouponScheduleView();
            this.view_.DataContext = this;
        }
 public void selectFixedCouponCalculationInfo(string typeStr)
 {
     this.fixedCouponCalculationViewModel_ = FixedCouponCalculationViewModel.CreateFixedCouponCalculation(typeStr);
     this.view_.DataContext = this;
 }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.FixedCouponSchedule serial_FixedCouponSchedule = serial_Class as FpmlSerializedCSharp.FixedCouponSchedule;
 
     this.fixedRate_ = serial_FixedCouponSchedule.FixedRate_.ValueStr;
     
     this.eventDate_ = serial_FixedCouponSchedule.EventDate_.ValueStr;
     
     this.calculationStartDate_ = serial_FixedCouponSchedule.CalculationStartDate_.ValueStr;
     
     this.calculationEndDate_ = serial_FixedCouponSchedule.CalculationEndDate_.ValueStr;
     
     this.paymentDate_ = serial_FixedCouponSchedule.PaymentDate_.ValueStr;
     
     this.detailScheduleType_ = serial_FixedCouponSchedule.DetailScheduleType_.ValueStr;
     
     this.description_ = serial_FixedCouponSchedule.Description_.ValueStr;
     
     FpmlSerializedCSharp.FixedCouponCalculation serial_fixedCouponCalculation = serial_FixedCouponSchedule.FixedCouponCalculation_;
     string fixedCouponCalculationtype = serial_fixedCouponCalculation.Excel_type_.ValueStr;
     this.fixedCouponCalculationViewModel_ = FixedCouponCalculationViewModel.CreateFixedCouponCalculation(fixedCouponCalculationtype);
     this.fixedCouponCalculationViewModel_.setFromSerial(serial_fixedCouponCalculation);
     
     this.view_ = new FixedCouponScheduleView();
     this.view_.DataContext = this;
 }
 public void selectFixedCouponCalculationInfo(string typeStr)
 {
     this.fixedCouponCalculationViewModel_ = FixedCouponCalculationViewModel.CreateFixedCouponCalculation(typeStr);
     this.view_.DataContext = this;
 }