public static void ForceStopUpdate()
        {
            if (ACSQueryThread.IsAlive)
            {
                ACSQueryThread.Abort();
            }

            acsu.CloseComm();
            if (IODataUpdateThread.IsAlive)
            {
                IODataUpdateThread.Abort();
            }
        }
Пример #2
0
 private static void StopThreadIODataUpdate()
 {
     IODataCollection.initJsonSent = false;
     IODataCollection.ClearChangeDict();
     IODataUpdateThread.Abort();
 }