Beispiel #1
0
		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)
 {
 }
Beispiel #4
0
		public void SetTaskState(SyncTaskState state)
		{}