protected virtual void UpdateTransitionEvent(
ISystemContext context,
uint transitionId,
uint causeId,
TransitionEventState e)
{
TranslationInfo info = new TranslationInfo(
"StateTransition",
"en-US",
"The {0} state machine moved to the {1} state.",
this.GetDisplayPath(3, '.'),
CurrentState.Value);
e.Initialize(
context,
this,
EventSeverity.Medium,
new LocalizedText(info));
e.SetChildValue(context, BrowseNames.FromState, LastState, false);
e.SetChildValue(context, BrowseNames.ToState, CurrentState, false);
e.SetChildValue(context, BrowseNames.Transition, LastTransition, false);
}
#endregion