public void MarkMotion(DateTimeOffset time) { CheckTurnOffTimeOut(time); LastMotion.SetTime(time); SetProbability(Probability.Full); CheckAutoIncrementForOnePerson(time); _TurnOffTimeOut.IncrementCounter(); }
public async Task MarkMotion(DateTimeOffset time) { CheckTurnOffTimeOut(time); LastMotion.SetTime(time); await SetProbability(Probability.Full).ConfigureAwait(false); CheckAutoIncrementForOnePerson(time); _TurnOffTimeOut.IncrementCounter(); }