Exemplo n.º 1
0
        public void StopChangeTask(string taskName)
        {
            if (mStartedChangeTask.Contains(taskName))
            {
                int index = mStartedChangeTask.IndexOf(taskName);
                if (index != -1)
                {
                    if (!mFinishTaskIndex.Contains(index))
                    {
                        mFinishTaskIndex.Add(index);
                        TimeGapper timeGapper = mChangeTimes[index];
                        timeGapper.Stop();

                        mChangeTimes[index] = timeGapper;
                    }
                    else
                    {
                    }
                }
                else
                {
                }
            }
            else
            {
            }
        }
Exemplo n.º 2
0
 public void Stop()
 {
     mState = 2;
     timeGapper.Stop();
 }