public static int FindMapCodeIndexByFuBenID(int mapCode)
        {
            int fuBenID = FuBenManager.FindFuBenIDByMapCode(mapCode);
            int result;

            if (fuBenID <= 0)
            {
                result = 0;
            }
            else
            {
                List <int> mapCodeList = FuBenManager.FindMapCodeListByFuBenID(fuBenID);
                if (null == mapCodeList)
                {
                    result = 0;
                }
                else
                {
                    int findIndex = mapCodeList.IndexOf(mapCode);
                    if (-1 == findIndex)
                    {
                        result = 0;
                    }
                    else
                    {
                        result = findIndex + 1;
                    }
                }
            }
            return(result);
        }
        public static int FindNextMapCodeByFuBenID(int mapCode)
        {
            int fuBenID = FuBenManager.FindFuBenIDByMapCode(mapCode);
            int result;

            if (fuBenID <= 0)
            {
                result = -1;
            }
            else
            {
                List <int> mapCodeList = FuBenManager.FindMapCodeListByFuBenID(fuBenID);
                if (null == mapCodeList)
                {
                    result = -1;
                }
                else
                {
                    int findIndex = mapCodeList.IndexOf(mapCode);
                    if (-1 == findIndex)
                    {
                        result = -1;
                    }
                    else if (findIndex >= mapCodeList.Count - 1)
                    {
                        result = -1;
                    }
                    else
                    {
                        result = mapCodeList[findIndex + 1];
                    }
                }
            }
            return(result);
        }