示例#1
0
 public Action(ThreadStart innerAction, RobotEventType eventType = RobotEventType.None, IEventData eventData = null, bool persistent = false)
 {
     InnerAction = innerAction;
     EventType   = eventType;
     EventData   = eventData;
     Persistent  = persistent;
 }
示例#2
0
 public void TriggerEvent(RobotEventType eventType, IEventData eventData)
 {
     OnEventTriggered?.Invoke(eventType, eventData);
 }