public void InformTicketPunched(TicketPunched tp)
 {
     foreach (int device in devices)
     {
         ts[device].tpQueue.Enqueue(tp);
     }
 }
        public Turnstile(String devIP, int devNo, MainUI UI, Logs logger, WEB_API WEB)
        {
            this.devIP = devIP;
            this.devNo = devNo;

            this.ui  = UI;
            this.log = logger;
            this.web = WEB;

            this.tp      = new TicketPunched();
            this.tpQueue = new ConcurrentQueue <TicketPunched>();
        }