public void Clear()
        {
            lock (_lock)
            {
                _history = new Dictionary <uint, Dictionary <uint, T> >();
                _rate    = new Dictionary <uint, Dictionary <uint, List <irate> > >();
            }

            NewSysidCompid?.Invoke(this, null);
        }
        public void Clear(byte sysid, byte compid)
        {
            var id = GetID(sysid, compid);

            lock (_lock)
            {
                _history[id] = new Dictionary <uint, T>();
                _rate[id]    = new Dictionary <uint, List <irate> >();
            }

            NewSysidCompid?.Invoke(this, null);
        }