private void TestSetAdvertiseInfo() { //cPos.Service.cBillService bs = new cBillService(); //cPos.Model.LoggingSessionInfo loggingSessionInfo = new LoggingSessionInfo(); //loggingSessionInfo = new cPos.Service.CLoggingSessionService().GetLoggingSessionInfo("29E11BDC6DAC439896958CC6866FF64E", "e3b3c960a42f41b0bf8e6e2ae3a8ad43"); LoggingManager loggingManager = new cLoggingManager().GetLoggingManager("29E11BDC6DAC439896958CC6866FF64E"); AdvertiseService advertiseOrderService = new AdvertiseService(); IList <AdvertiseInfo> advertiseOrderInfoList = new List <AdvertiseInfo>(); AdvertiseInfo adInfo1 = new AdvertiseInfo(); adInfo1.advertise_id = "18A817FFE870453DBCB1E48CEFE932C5"; adInfo1.advertise_name = "可口可乐1"; adInfo1.advertise_code = "kkkl"; adInfo1.brand_customer_id = "11"; adInfo1.brand_id = "111"; adInfo1.display = "1"; adInfo1.file_format = "flv"; adInfo1.file_size = "100k"; adInfo1.playback_time = "100m"; adInfo1.customer_id = "29E11BDC6DAC439896958CC6866FF64E"; adInfo1.status = "10"; adInfo1.url_address = "http://192.168.0.55:8201/"; advertiseOrderInfoList.Add(adInfo1); this.lb1.Text = advertiseOrderService.SetAdvertiseInfoList(loggingManager, advertiseOrderInfoList, true).ToString(); }