예제 #1
0
        //预报,前推两小时
        public List <LWSTripsInfo> showLWS(DateTime dt)
        {
            //List<LWSTripsInfo> m_ListLWSTripsInfo = new List<LWSTripsInfo>();
            var RecentTrips = dfservice.GetRecentTrips(1, dt);

            //for (int i = 0; i < RecentTrips.Count; i++)
            //{
            //    try
            //    {

            //        subi = dtAWS.IndexOf(eventArgs.Result[i].DDateTime);
            //        if (subi < 0) continue;

            //        showLWSBtn(subi, eventArgs.Result[i]);
            //        if (eventArgs.Result[i].DDateTime == dtAWS[dtAWS.Count - 1])
            //        {
            //            m_ListLWSTripsInfo.Add(eventArgs.Result[i]);
            //        }
            //    }
            //    catch (Exception ex)
            //    {
            //    }
            //}

            return(RecentTrips);
        }