public CardReader(string name, string networdAddress, Door door)
 {
     this.name = name;
     this.networkAddress = networdAddress;
     this.door = door;
     alarmTimeOut = 10000;
     timeKeeperTimeOut = 10000;
     alarmState = false;
     activityMode = true;
     events = new List<Event>();
 }
 public void AddCardReader(string name, string nat, Door door)
 {
     cardReaders.Add(name, new CardReader(name, nat, door));
 }