public void FrmLogShow(bool visible) { if (LogFSL == null) { LogFSL = new FrmStatusLog(); } LogFSL.Visible = visible; }
//private TimeSpan TimeRcvAvg = TimeSpan.Zero; //Constructor //public CpsNet(List<Client> _ListClientsExternal, bool ModeDbg = false) //object Listener; public CpsNet(IcpsLIB listener, bool ModeDbg = false) { // if (listener.GetType() == typeof(IcpsLIB)) QueueRcvFrameToApp = listener; //else // logMsg(new log(prio.warning, "CpsNet konstruktor done")); //_FrmMain = FrmMain; //ListClientsExternal = _ListClientsExternal; _fstack = new System.Collections.Concurrent.ConcurrentDictionary <string, Frame>(); LFrameRcv = new System.Collections.Concurrent.ConcurrentDictionary <Int64, Frame>(); StackWorker(); if (ModeDbg) { LogFSL = new FrmStatusLog(); LogFSL.Show(); } }