public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.NonKiEventInfo serial_NonKiEventInfo = serial_Class as FpmlSerializedCSharp.NonKiEventInfo;
 
     FpmlSerializedCSharp.EventTrigger serial_eventTrigger = serial_NonKiEventInfo.EventTrigger_;
     string eventTriggertype = serial_eventTrigger.Excel_type_.ValueStr;
     this.eventTriggerViewModel_ = EventTriggerViewModel.CreateEventTrigger(eventTriggertype);
     this.eventTriggerViewModel_.setFromSerial(serial_eventTrigger);
     
 }
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.KiEventInfo serial_KiEventInfo = serial_Class as FpmlSerializedCSharp.KiEventInfo;

            FpmlSerializedCSharp.EventTrigger serial_eventTrigger = serial_KiEventInfo.EventTrigger_;
            string eventTriggertype = serial_eventTrigger.Excel_type_.ValueStr;

            this.eventTriggerViewModel_ = EventTriggerViewModel.CreateEventTrigger(eventTriggertype);
            this.eventTriggerViewModel_.setFromSerial(serial_eventTrigger);
        }
Example #3
0
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.EventTriggerList serial_EventTriggerList = serial_Class as FpmlSerializedCSharp.EventTriggerList;

            List <FpmlSerializedCSharp.EventTrigger> serial_eventTrigger = serial_EventTriggerList.EventTrigger_;

            this.eventTriggerViewModel_ = new ObservableCollection <EventTriggerViewModel>();
            foreach (var item in serial_eventTrigger)
            {
                string type = item.Excel_type_.ValueStr;
                EventTriggerViewModel viewModel = EventTriggerViewModel.CreateEventTrigger(type);
                viewModel.setFromSerial(item);
                this.eventTriggerViewModel_.Add(viewModel);
            }
        }
Example #4
0
        public override void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.RedemptionInfo       serial_RedemptionInfo       = serial_Class as FpmlSerializedCSharp.RedemptionInfo;
            FpmlSerializedCSharp.MonthlyAutoCallRedem serial_MonthlyAutoCallRedem = serial_RedemptionInfo.MonthlyAutoCallRedem_;

            List <FpmlSerializedCSharp.EventTrigger> serial_eventTrigger = serial_MonthlyAutoCallRedem.EventTrigger_;

            this.eventTriggerViewModel_ = new ObservableCollection <EventTriggerViewModel>();
            foreach (var item in serial_eventTrigger)
            {
                string type = item.Excel_type_.ValueStr;
                EventTriggerViewModel viewModel = EventTriggerViewModel.CreateEventTrigger(type);
                viewModel.setFromSerial(item);
                this.eventTriggerViewModel_.Add(viewModel);
            }
        }