/// <summary> /// 获取单个广告 /// </summary> /// <param name="adNum"></param> /// <param name="adType"></param> /// <returns></returns> public static SeatManage.ClassModel.AMS_Advertisement GetAdModel(string adNum, SeatManage.EnumType.AdType adType) { IWCFService.ISeatManageService seatService = new WcfServiceForSeatManage.SeatManageDateService(); try { return(seatService.GetAdModel(adNum, adType)); } catch (FaultException ex) { SeatManageComm.WriteLog.Write("获取广告失败:" + ex.Message); return(null); } }