public ServicePoint(int i, Store store)
        {
            //clients = new List<Client>();

            queue = new StoreQueueListImpl(this.ToString(), Configs.MAX_CLIENTS_PER_CASH);
            queue.AddServicePoint(this);

            id = i;
            this.store = store;
            arrivalRate = 0.0f;
            timeOpened = Timer.getTick();
            this.type = "default";
            this.maxItems = Configs.MAX_ITEMS_PER_CLIENT;
        }
        public ServicePoint OpenServicePoint(StoreQueue queue)
        {
            int toOpen = DetermineServPointNumber();
            ServicePoint s = new ServicePoint(toOpen, store);
            queue.AddServicePoint(s);
            if (!this.store.getWaitQueues().Contains(queue))
            {
                this.store.AddQueue(queue);
            }
            store.AddServicePoint(s);
            store.fireServicePointOpenedEvent(s);

            return s;
        }