public bool AddConfigPipel(List <CFSMXMLEventPipel> eventXMLList) { Int32 nEventPipelSize = eventXMLList == null ? 0 : eventXMLList.Count; for (Int32 i = 0; i < nEventPipelSize; ++i) { CFSMXMLEventPipel eventPipel = eventXMLList[i]; if (eventPipel == null) { continue; } CFSMEventTrigger trigger = new CFSMEventTrigger(); trigger.SetTriggerEvent(eventPipel.m_uEventId); CFSMEventPipelie newPipeline = new CFSMEventPipelie(trigger); AddPipel(newPipeline); } return(true); }
private CFSMEventTrigger m_EventTrigger; // 时间触发器 /// <summary> /// Constructor /// </summary> /// <param name="trigger"></param> public CFSMEventPipelie(CFSMEventTrigger trigger) { m_EventTrigger = trigger; }