protected void OnStepsCollected(StepsData stepsData) { foreach (IWristbandObserver observer in observers) { observer.OnWristbandStepsCollected(stepsData); } }
public void OnWristbandStepsCollected(StepsData stepsData) { EventHistory.Add(new WristbandHistoryEvent("OnWristbandStepsCollected > " + stepsData.totalStepsWalked().ToString(), false)); }