Skip to content

Commit 20f5159

Browse files
romanettmregen
authored andcommitted
Make FiniteStateMachine DoTransition virtual (#2988)
* Add Lock to finiteStateMachineDoTransition * assign lock * Revert "assign lock" This reverts commit f8d2b93. * Revert "Add Lock to finiteStateMachineDoTransition" This reverts commit 2449006. * make DoTransitionVirtual * make CauseProcessingCompleted virtual
1 parent 989ea83 commit 20f5159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Stack/Opc.Ua.Core/Stack/State/FiniteStateMachineState.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ protected virtual void ReportAuditProgramTransitionEvent(ISystemContext context,
645645
/// <param name="context">The context.</param>
646646
/// <param name="causeId">The cause id.</param>
647647
/// <returns></returns>
648-
public void CauseProcessingCompleted(ISystemContext context, uint causeId)
648+
public virtual void CauseProcessingCompleted(ISystemContext context, uint causeId)
649649
{
650650
// get the transition.
651651
uint transitionId = GetTransitionForCause(context, causeId);
@@ -679,7 +679,7 @@ public void CauseProcessingCompleted(ISystemContext context, uint causeId)
679679
/// <summary>
680680
/// Causes the specified transition to occur.
681681
/// </summary>
682-
public ServiceResult DoTransition(
682+
public virtual ServiceResult DoTransition(
683683
ISystemContext context,
684684
uint transitionId,
685685
uint causeId,

0 commit comments

Comments
 (0)