예제 #1
0
    List <int> GetStopBlockList(int floor, int getDirection, bool onCloud)
    {
        switch (floor)
        {
        case 1:
            return(BlockNumber.GetDownstairStopBlock(getDirection, onCloud));

        case 2:
            return(BlockNumber.GetUpstairStopBlock(getDirection, onCloud));

        case 3:
            return(BlockNumber.GetThirdFloorStopBlock(getDirection, onCloud));
        }

        return(new List <int>());
    }