Esempio n. 1
0
        public ExecuteAction SelectAction(List <ExecuteAction> actList)
        {
            //synchronized(actList) {
            IEnumerator <ExecuteAction> i = actList.GetEnumerator();

            while (i.MoveNext())
            {
                ExecuteAction a = i.Current;
                if (!a.GetIntention().IsSuspended())
                {
                    i.Dispose();
                    return(a);
                }
            }
            //}
            return(null);
        }
Esempio n. 2
0
 public void AddFeedbackAction(ExecuteAction act)
 {
     if (act.GetIntention() != null) /* synchronized (FA) */ FA {