示例#1
0
 protected virtual void OnReachedPosition()
 {
     ReachedPosition?.Invoke(this, EventArgs.Empty);
 }
示例#2
0
 private void onTargetReached()
 {
     state = CounterState.Ready;
     ReachedPosition?.Invoke(this, new PositionChangedEventArgs(motorLocator.Position, motorLocator.LastMoveDirection));
 }