/// <summary> /// Parses the diagram and sets up the transitions reached by this step. /// </summary> public void Initialise(ProgrammableLogicController pu) { AssignActionsFrom(pu.SfcProgramData.SfcEntity.Lookup(Id), pu); _transitions = Sources.CollectTransitionSources(this, pu); foreach (SfcTransition transition in _transitions) { Destinations.AssignTransitionDestinations(transition, pu.SfcProgramData); } }