示例#1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="arrList"></param>
        /// <param name="IsUP"></param>
        public static void PopDesc(ref int[] arrList, bool IsUP)
        {
            float[] fltArray = ConvertArray.ConvertInt2Float(arrList);
            PopDesc(ref fltArray, IsUP);
            int pos = 0;

            foreach (float v in fltArray)
            {
                arrList[pos] = (int)v;

                pos++;
            }
            //Array.Copy(fltArray, arrList, fltArray.Length);
            // 这儿有问题
        }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="arrList"></param>
 /// <param name="IsUp"></param>
 public static void PopDesc(ref long[] arrList, bool IsUp)
 {
     float[] fltArray = ConvertArray.ConvertLong2Float(arrList);
     PopDesc(ref fltArray, IsUp);
     //这儿有问题
 }