123456789101112131415161718192021222324252627282930 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading;
- using System.Threading.Tasks;
- namespace StageController
- {
- public class Workflow
- {
- public bool Done { get; set; }
- public List<Workflow> Worklist { get; private set; }
- public Workflow(List<Workflow> workflows)
- {
- Worklist = workflows;
- _index = workflows.Count;
- }
- public Action Process = () => { };
- public Func<bool> Judgement = () => { return true; };
- readonly int _index;
- }
- }
|