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

            acsu.CloseComm();
            if (IODataUpdateThread.IsAlive)
            {
                IODataUpdateThread.Abort();
            }
        }
Esempio n. 2
0
 private static void StopThreadIODataUpdate()
 {
     IODataCollection.initJsonSent = false;
     IODataCollection.ClearChangeDict();
     IODataUpdateThread.Abort();
 }