/// <summary>
        /// 创建实例方法
        /// </summary>
        /// <param name="isMine"></param>
        /// <param name="previousActivityInstance"></param>
        /// <param name="nextActivityTree"></param>
        /// <returns></returns>
        public static CurrentRunningNodeMap Instance(ActivityInstanceEntity runningNode,
            bool isMine,
            ActivityInstanceEntity previousActivityInstance,
            IList<NodeView> nextActivityTree)
        {
            var nodeMap = new CurrentRunningNodeMap();
            nodeMap.RunningNode = runningNode;
            nodeMap.IsMine = isMine;
            nodeMap.PreviousActivityInstance = previousActivityInstance;
            nodeMap.NextActivityTree = nextActivityTree;

            return nodeMap;
        }
        /// <summary>
        /// 创建实例方法
        /// </summary>
        /// <param name="isMine"></param>
        /// <param name="previousActivityInstance"></param>
        /// <param name="nextActivityTree"></param>
        /// <returns></returns>
        public static CurrentRunningNodeMap Instance(ActivityInstanceEntity runningNode,
                                                     bool isMine,
                                                     ActivityInstanceEntity previousActivityInstance,
                                                     IList <NodeView> nextActivityTree)
        {
            var nodeMap = new CurrentRunningNodeMap();

            nodeMap.RunningNode = runningNode;
            nodeMap.IsMine      = isMine;
            nodeMap.PreviousActivityInstance = previousActivityInstance;
            nodeMap.NextActivityTree         = nextActivityTree;

            return(nodeMap);
        }