Beispiel #1
0
 /// <summary>
 /// 停止所有流程項目
 /// </summary>
 /// <param name="description"></param>
 public void StopAll(string description = "")
 {
     lock (_key)
     {
         foreach (var item in _totalFlow)
         {
             FlowBase instance = item.Value;
             instance.Stop(description);
         }
     }
 }
Beispiel #2
0
 private void btnStop_Click(object sender, EventArgs e)
 {
     inputObject.Stop("Stop by flow monitor");
 }
Beispiel #3
0
        /// <summary>
        /// 停止流程項目
        /// </summary>
        /// <param name="name"></param>
        /// <param name="description"></param>
        public void Stop(string name, string description = "")
        {
            FlowBase instance = GetFlowBase(name);

            instance.Stop(description);
        }