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