Ejemplo n.º 1
0
 /// <summary>
 /// 获取开始节点
 /// </summary>
 /// <returns></returns>
 public WfNodeInfo GetStartNode()
 {
     try
     {
         WfNodeInfo startnode = null;
         foreach (var node in wfSchemeModel.nodes)
         {
             if (node.type == "startround")
             {
                 startnode = node;
             }
         }
         return(startnode);
     }
     catch (Exception ex)
     {
         if (ex is ExceptionEx)
         {
             throw;
         }
         else
         {
             throw ExceptionEx.ThrowBusinessException(ex);
         }
     }
 }