public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.PayoffInfo         serial_PayoffInfo         = serial_Class as FpmlSerializedCSharp.PayoffInfo;
            FpmlSerializedCSharp.StepDownNoKIPayoff serial_StepDownNoKIPayoff = serial_PayoffInfo.StepDownNoKIPayoff_;

            FpmlSerializedCSharp.EventTriggerList serial_eventTriggerList = serial_StepDownNoKIPayoff.EventTriggerList_;
            string eventTriggerListtype = serial_eventTriggerList.Excel_type_.ValueStr;

            this.eventTriggerListViewModel_ = EventTriggerListViewModel.CreateEventTriggerList(eventTriggerListtype);
            this.eventTriggerListViewModel_.setFromSerial(serial_eventTriggerList);

            FpmlSerializedCSharp.NoAutoCallReturnTrigger serial_noAutoCallReturnTrigger = serial_StepDownNoKIPayoff.NoAutoCallReturnTrigger_;
            string noAutoCallReturnTriggertype = serial_noAutoCallReturnTrigger.Excel_type_.ValueStr;

            this.noAutoCallReturnTriggerViewModel_ = NoAutoCallReturnTriggerViewModel.CreateNoAutoCallReturnTrigger(noAutoCallReturnTriggertype);
            this.noAutoCallReturnTriggerViewModel_.setFromSerial(serial_noAutoCallReturnTrigger);
        }
 public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.PayoffInfo serial_PayoffInfo = serial_Class as FpmlSerializedCSharp.PayoffInfo;
     FpmlSerializedCSharp.StepDownNoKIPayoff serial_StepDownNoKIPayoff = serial_PayoffInfo.StepDownNoKIPayoff_;
 
     FpmlSerializedCSharp.EventTriggerList serial_eventTriggerList = serial_StepDownNoKIPayoff.EventTriggerList_;
     string eventTriggerListtype = serial_eventTriggerList.Excel_type_.ValueStr;
     this.eventTriggerListViewModel_ = EventTriggerListViewModel.CreateEventTriggerList(eventTriggerListtype);
     this.eventTriggerListViewModel_.setFromSerial(serial_eventTriggerList);
     
     FpmlSerializedCSharp.NoAutoCallReturnTrigger serial_noAutoCallReturnTrigger = serial_StepDownNoKIPayoff.NoAutoCallReturnTrigger_;
     string noAutoCallReturnTriggertype = serial_noAutoCallReturnTrigger.Excel_type_.ValueStr;
     this.noAutoCallReturnTriggerViewModel_ = NoAutoCallReturnTriggerViewModel.CreateNoAutoCallReturnTrigger(noAutoCallReturnTriggertype);
     this.noAutoCallReturnTriggerViewModel_.setFromSerial(serial_noAutoCallReturnTrigger);
     
 }