internal void TryLink(string terminalPhoneNo, IJT808Session session)
 {
     session.ActiveTime      = DateTime.Now;
     session.TerminalPhoneNo = terminalPhoneNo;
     Sessions.TryUpdate(session.SessionID, session, session);
     TerminalPhoneNoSessions.AddOrUpdate(terminalPhoneNo, session.SessionID, (key, oldValue) =>
     {
         if (session.SessionID != oldValue)
         {
             //会话通知
             JT808SessionProducer?.ProduceAsync(JT808GatewayConstants.SessionOnline, key);
             return(session.SessionID);
         }
         return(oldValue);
     });
 }