/// <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); } } }
private void btnStart_Click(object sender, EventArgs e) { inputObject.Start("Start by flow monitor"); }
/// <summary> /// 啟動流程項目 /// </summary> /// <param name="name"></param> /// <param name="description"></param> public void Start(string name, string description = "") { FlowBase instance = GetFlowBase(name); instance.Start(description); }