Esempio n. 1
0
    //随机获取一个PointQueue队列,取出顺序NoReservationPoint
    public Point GetNoReservationPoint2RandomPointQueue()
    {
        if (IsReservation)
        {
            return(null);
        }
        PointQueue pointQueue = GetNoReservationPointQueue4Random();

        if (pointQueue == null)
        {
            return(null);
        }
        return(pointQueue.GetNoReservationPoint());
    }
Esempio n. 2
0
    //随机获取一个PointQueue队列(从一个QueueIndex指定范围中),取出顺序NoReservationPoint
    public Point GetNoReservationPoint2RandomPointQueue(int minQueueIndex, int maxQueueIndex)
    {
        if (IsReservation)
        {
            return(null);
        }
        PointQueue pointQueue = GetNoReservationPointQueue4Random(minQueueIndex, maxQueueIndex);

        if (pointQueue == null)
        {
            return(null);
        }
        return(pointQueue.GetNoReservationPoint());
    }
Esempio n. 3
0
    //获取指定队列queueIndex中的未预约位置点, 顺序
    public Point GetNoReservationPointByQueueIndex(int queueIndex)
    {
        if (IsReservation)
        {
            return(null);
        }
        PointQueue pointQueue = GetPointQueueByQueueIndex(queueIndex);

        if (pointQueue == null)
        {
            return(null);
        }
        return(pointQueue.GetNoReservationPoint());
    }