Esempio n. 1
0
        SerialCollection getSerialData(int reviewCnt)
        {
            SerialCollection ret = new SerialCollection();

            ret.Data = getNoDispCars(reviewCnt);
            return(ret);
        }
Esempio n. 2
0
        public CommCollection getSerialData(int reviewCnt, bool ByNo)
        {
            CommCollection ret = null;

            if (ByNo)
            {
                ret      = new SerialCollection();
                ret.Data = getNoDispCars(reviewCnt);
            }
            else
            {
                ret      = new CarCollection();
                ret.Data = getNoDispNums(reviewCnt);
            }
            //LogableClass.ToLog("获取视图集合时赋值原始数据", string.Format("到底做什么用的真忘记了{0}", reviewCnt));
            ret.orgData = this.data.LastDatas(Math.Min(reviewCnt, data.Count));//?为什么要指定长度?因为回测时输入的原始数据太长?
            return(ret);
        }