public StartNode(Phase p) : base(p) { }
public Phase(Phase p) { Name = p.Name; Channels = p.Channels; Times = p.Times; PType = p.PType; }
public static Node Create(Phase p) { switch (p.PType) { case PhaseType.Start : return new StartNode(p); case PhaseType.Finish: return new FinishNode(p); default: return new Node(p); } }
public FinishNode(Phase p) : base(p) { }
public Node(Phase p) : base(p) { }
public void AddPhase(Phase p, LogItem item) { Info.Add(new TeamPhaseInfo(p, new BaseInfo(item), item.Before + item.After)); }