示例#1
0
 private void StopCheckRepeatDev()
 {
     if (repeatDevInfoCheckThread != null)
     {
         repeatDevInfoCheckThread.Abort();
         repeatDevInfoCheckThread = null;
     }
 }
示例#2
0
 private void StartCheckRepeatDev()
 {
     if (AppContext.RepeatDevInfoCheckInterval > 0)
     {
         if (repeatDevInfoCheckThread == null)
         {
             repeatDevInfoCheckThread = new RepeatDevInfoCheckThread(AppContext.RepeatDevInfoCheckInterval);
             repeatDevInfoCheckThread.Start();
         }
     }
 }