Пример #1
0
        public static System.Collections.Generic.List <Entity.Trending.EtyDataLogDPLogTrend> GetHistDPLogListTSS(
            /*TrendViewer.Model.TrendViewModel*/ object target,
            Entity.Trending.EtyHistDataPoint histDP, System.DateTime startTime, System.DateTime endTime)
        {
            List <EtyDataLogDPLogTrend> logList = new List <EtyDataLogDPLogTrend>();
            EtyDataLogDPLogTrend        log     = new EtyDataLogDPLogTrend();

            log.CreateTime = DateTime.Now;
            log.Value      = 2;
            logList.Add(log);
            return(logList);
        }
Пример #2
0
        public static System.Collections.Generic.List <Entity.Trending.EtyDataLogDPLogTrend> GetHistDPLogListMSS(
            /*TrendViewer.Model.TrendViewModel*/ object target,
            Entity.Trending.EtyHistDataPoint histDP, System.DateTime startTime, System.DateTime endTime)
        {
            object result;

            if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, histDP, startTime, endTime }, out result))
            {
                return((System.Collections.Generic.List <Entity.Trending.EtyDataLogDPLogTrend>)result);
            }
            else
            {
                return((System.Collections.Generic.List <Entity.Trending.EtyDataLogDPLogTrend>)Helper.CallMethod(target, "GetHistDPLogList", new object[] { histDP, startTime, endTime }));
            }
        }