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

            instance.Pause(description);
        }