public static void ForceStopUpdate() { if (ACSQueryThread.IsAlive) { ACSQueryThread.Abort(); } acsu.CloseComm(); if (IODataUpdateThread.IsAlive) { IODataUpdateThread.Abort(); } }
private static void StopThreadIODataUpdate() { IODataCollection.initJsonSent = false; IODataCollection.ClearChangeDict(); IODataUpdateThread.Abort(); }