/// <summary> /// Gửi lệnh hoãn xe đến server G5 /// </summary> /// <param name="bookId">BookId</param> public static void SendOperatorCancel(Guid bookId, LoaiCuocKhach loaiCK, string msg = "", Taxi.Services.ServiceG5.SourceCancelType type = Taxi.Services.ServiceG5.SourceCancelType.Unknown) { if (bookId != Guid.Empty) { if (loaiCK == LoaiCuocKhach.ChoKhachHopDong) { Task.Factory.StartNew(() => { return(WCFServicesAppXHD.SendOperatorCancel(bookId, msg, (Taxi.Services.ServiceApp_XHD.SourceCancelType)type)); }); } else { WCFServicesApp.SendOperatorCancel(bookId, msg, (Taxi.Services.ServiceApp.SourceCancelType)type); } } }
public bool SendOperatorCancel(System.Guid bookId, string msg, Taxi.Services.ServiceG5.SourceCancelType cancelType) { return(base.Channel.SendOperatorCancel(bookId, msg, cancelType)); }