public StageConfig(m.StageConfig s)
        {
            ID              = s.RankID;
            Name            = s.Name;
            Icon            = s.Icon;
            TimeLong        = s.TimeLong;
            Level           = s.Level;
            ResultColumn    = s.ResultColumn;
            Column          = s.Column;
            DiamondsCost    = s.DiamondsCost;
            DiamondsWin     = s.DiamondsWin;
            Lock            = s.Lock;
            SelectItemScale = (float)s.SelectItemScale;
            InputItemScale  = (float)s.InputItemScale;
            LightItemScale  = (float)s.LightItemScale;

            string[] str2List = s.SelectPool.Split(';');
            for (int i = 0; i < str2List.Length; i++)
            {
                numIconPoolDic.Add(i + 1, str2List[i]);         //"1:10001格式保存"

                string[] numIcon = str2List[i].Split(':');
                NumPoolDic.Add(i + 1, int.Parse(numIcon[0]));   //只存储数字
                iconPoolDic.Add(i + 1, numIcon[1]);             //存储icon
            }
        }
    private static void ReadData()
    {
        List <m.StageConfig> stageConfig = LoadPoto <m.StageConfig>("StageConfig");

        for (int i = 0; i < stageConfig.Count; i++)
        {
            m.StageConfig sc     = stageConfig[i];
            StageConfig   script = new StageConfig(sc);
            if (!stageConfigDic.ContainsKey(script.ID))
            {
                stageConfigDic.Add(script.ID, script);
                stageConfigList.Add(script);
            }
        }
    }
        public StageConfig(m.StageConfig s)
        {
            ID   = s.RankID;
            Name = s.Name;
            ProtectRotateSpeed      = s.ProtectRotateSpeed;
            ProtectRotateInnerSpeed = s.ProtectRotateInnerSpeed;
            JGBRotateSpeed          = s.JGBRotateSpeed;
            ProtectPower            = s.ProtectPower;
            JGBPower = s.JGBPower;


            string[] str2List = s.TemplateList.Split(';');
            for (int i = 0; i < str2List.Length; i++)
            {
                ItemTemplateList.Add(str2List[i]);
            }
        }
        public StageConfig(m.StageConfig s)
        {
            ID         = s.ID;
            Name       = s.Name;
            Icon       = s.Icon;
            Author     = s.author;
            PoemItem   = s.PoemItem;
            PoemText   = s.PoemText;
            Annotation = s.annotation;


            string[] str2List = s.PoemItem.Split(';');
            for (int i = 0; i < str2List.Length; i++)
            {
                numPoemItemDic.Add(i + 1, str2List[i]);         //"1:红豆生南国格"式保存"

                string[] numIcon = str2List[i].Split(':');
                NumPoolDic.Add(i + 1, int.Parse(numIcon[0]));   //只存储数字
                iconPoolDic.Add(i + 1, numIcon[1]);             //存储icon
            }
        }