Example #1
0
        //Открыть поток реального времени
        private RealTimeThread OpenRealTimeThread(int id, string name, double periodSeconds, double lateSeconds = 0)
        {
            var t = new RealTimeThread(this, id, name, null, periodSeconds, lateSeconds);

            Threads.Add(id, t, true);
            return(t);
        }
Example #2
0
 public CalibratorConnect(RealTimeThread thread, string connectCode, string complect, string providerCode, string providerInf)
 {
     SourceConnect = new SourceConnect(thread.Logger, connectCode, complect);
     SourceConnect.JoinProvider(thread.ProvidersFactory.CreateProvider(thread.Logger, providerCode, providerInf));
     UserProxyConnect    = new ProxyConnect("UserProxy");
     ArchiveProxyConnect = new QueuedProxyConnect("ArchiveProxy");
 }