예제 #1
0
 /// <summary>
 /// 啟動所有流程項目
 /// </summary>
 /// <param name="description"></param>
 public void StartAll(string description = "")
 {
     lock (_key)
     {
         foreach (var item in _totalFlow)
         {
             FlowBase instance = item.Value;
             instance.Start(description);
         }
     }
 }
예제 #2
0
 private void btnStart_Click(object sender, EventArgs e)
 {
     inputObject.Start("Start by flow monitor");
 }
예제 #3
0
        /// <summary>
        /// 啟動流程項目
        /// </summary>
        /// <param name="name"></param>
        /// <param name="description"></param>
        public void Start(string name, string description = "")
        {
            FlowBase instance = GetFlowBase(name);

            instance.Start(description);
        }