public void SetTaskState(SyncTaskState state) { if (state == SyncTaskState.Sync && _currentState != SyncTaskState.Sync) { StartTime = DateTime.Now; StopTime = null; } else if (_currentState == SyncTaskState.Sync && state != SyncTaskState.Sync) StopTime = DateTime.Now; _currentState = state; _refresher(); }
public void SetTaskState(SyncTaskState state) { if (state == SyncTaskState.Sync && _currentState != SyncTaskState.Sync) { StartTime = DateTime.Now; StopTime = null; } else if (_currentState == SyncTaskState.Sync && state != SyncTaskState.Sync) { StopTime = DateTime.Now; } _currentState = state; _refresher(); }
public void SetTaskState(SyncTaskState state) { }
public void SetTaskState(SyncTaskState state) {}