예제 #1
0
 public BizEntityAction(string _bizID, ActionEntity _action, SinoRequestUser _su, string _desdwid, string _desuserid, string _infoID)
 {
     BizID        = _bizID;
     Action       = _action;
     ActionUser   = _su;
     DesDWID      = _desdwid;
     DesUserID    = _desuserid;
     ActionInfoID = _infoID;
 }
예제 #2
0
        public static ActionEntity GetActionByName(string flowID, string actionName, string dwid)
        {
            FlowEntity   _fe = GetFlowConfig(dwid, flowID);
            ActionEntity _ae = null;

            foreach (StateEntity se in _fe.StateList)
            {
                foreach (ActionEntity ae in se.ActionList)
                {
                    if (ae.Action.ActionName == actionName)
                    {
                        _ae = ae;
                    }
                }
            }
            return(_ae);
        }