/// <summary> /// 添加硬广操作 /// </summary> /// <param name="hardAdvert"></param> /// <returns></returns> public static SeatManage.EnumType.HandleResult AddHardAd(HardAdvertInfo hardAdvert) { IWCFService.ISeatManageService seatService = new WcfServiceForSeatManage.SeatManageDateService(); bool error = false; try { return(seatService.AddHardAd(hardAdvert)); } catch (FaultException ex) { error = true; SeatManageComm.WriteLog.Write("添加硬广失败:" + ex.Message); return(EnumType.HandleResult.Failed); } }