Exemplo n.º 1
0
        /// <summary>
        /// ÖØÐÂÅäÖû­°æ´óС
        /// </summary>
        /// <param name="needChangeValue"></param>
        /// <param name="needChangeIndex"></param>
        public static void reconfDefaultSize(int totalRuntime, int needChangeValue, int needChangeIndex)
        {
            int upHourWord       = DefaultSizeStr.upHourWordHeight;
            int rightStationWord = DefaultSizeStr.rightStationWordWidth;
            int downHourWord     = DefaultSizeStr.downHourWordHeight;
            int leftStationWord  = DefaultSizeStr.leftStationWordWidth;

            switch (needChangeIndex)
            {
            case 1: upHourWord = needChangeValue; break;

            case 2: rightStationWord = needChangeValue; break;

            case 3: downHourWord = needChangeValue; break;

            case 4: leftStationWord = needChangeValue; break;

            default: break;
            }
            DefaultSizeStr.defaultSizeConf(totalRuntime, upHourWord, rightStationWord, downHourWord, leftStationWord);
        }
Exemplo n.º 2
0
 public static void reconfDefaultSize(int totalRunTime, int upHourWord, int rightStationWord, int downHourWord, int leftStationWord)
 {
     DefaultSizeStr.defaultSizeConf(totalRunTime, upHourWord, rightStationWord, downHourWord, leftStationWord);
 }
Exemplo n.º 3
0
 /// <summary>
 /// ÅäÖóõʼµÄ»­°æ´óС
 /// </summary>
 public static void confDefaultSize(int totalRunTime)
 {
     DefaultSizeStr.defaultSizeConf(totalRunTime);
 }