/// <summary>
 /// 启动
 /// </summary>
 public void Start()
 {
     this.WorkitemInstanceState = eWorkitemState.Ready;
     this.BeginTime = DateTime.Now;
 }
 /// <summary>
 /// 重启流程
 /// </summary>
 public void Restart()
 {
     this.WorkitemInstanceState = eWorkitemState.Running;
 }
 /// <summary>
 /// 挂起
 /// </summary>
 public void Hung()
 {
     this.WorkitemInstanceState = eWorkitemState.Running;
 }
 /// <summary>
 /// 聚合结点关闭
 /// </summary>
 public void ConvergeComplete()
 {
     this.WorkitemInstanceState = eWorkitemState.ConvergeComplete;
     this.EndTime = DateTime.Now;
 }
 /// <summary>
 ///  互斥性关闭(当同一活动节点由多人处理时,仅第一个先看到的处理,其它的被忽略掉])
 /// </summary>
 public void ConcurrencyExclusion()
 {
     this.WorkitemInstanceState = eWorkitemState.ExclusionCompleted;
     this.EndTime = DateTime.Now;
 }
 /// <summary>
 /// 非正常终止
 /// </summary>
 public void Abort()
 {
     this.WorkitemInstanceState = eWorkitemState.Abort;
     this.EndTime = DateTime.Now;
 }