示例#1
0
        /// <summary>
        /// 查询西站车次信息
        /// </summary>
        /// <param name="tripNum"></param>
        /// <returns></returns>
        public JsonResult QueryWestTrips(string tripNum)
        {
            var bll  = new TripsQueryBLL();
            var trip = bll.SearchWestStationTrips(tripNum.Trim()) ?? new WestStationInfo();

            return(Json(trip, JsonRequestBehavior.AllowGet));
        }
示例#2
0
        /// <summary>
        /// 获取西站温馨提示
        /// </summary>
        /// <returns></returns>
        public string GetWestReminderTxt()
        {
            var bll = new TripsQueryBLL();

            return(bll.GetWestReminderTxt());
        }