public WeaveOnLine[] GetOnline()
 {
     WeaveOnLine[] ols = new WeaveOnLine[0];
     try
     {
         List <WeaveOnLine> ol = GlobalQueueTable["onlinetoken"] as List <WeaveOnLine>;
         int i = ol.Count;
         ols = new WeaveOnLine[i];
         ol.CopyTo(0, ols, 0, i);
     }
     catch { }
     return(ols);
 }
 public virtual void Tokenout(WeaveOnLine ol)
 {
 }
 public virtual void TokenIn(WeaveOnLine ol)
 {
 }
        /// <summary>
        /// 新增online
        /// </summary>
        /// <param name="token"></param>
        /// <param name="name"></param>
        /// <param name="obj"></param>
        public void AddOnLine(WeaveOnLine o)
        {
            List <WeaveOnLine> ol = GlobalQueueTable["onlinetoken"] as List <WeaveOnLine>;

            ol.Add(o);
        }