public PatchSpecficDecoder() { Version = "Unsupported Client Version"; ExpectedPPLength = 0; PPZoneIDOffset = 0; PatchConfFileName = ""; IDStatus = IdentificationStatus.No; SupportsSQLGeneration = true; }
public void ProcessAppPacket(System.Net.IPAddress srcIp, System.Net.IPAddress dstIp, ushort srcPort, ushort dstPort, int InOpCode, int BufferSize, byte[] Source, int Offset, PacketDirection Direction, DateTime PacketTime) { EQApplicationPacket app = new EQApplicationPacket(srcIp, dstIp, srcPort, dstPort, InOpCode, BufferSize, Source, Offset, Direction, PacketTime); if (!Identified) { IdentificationStatus TempStatus = Identifier(InOpCode, BufferSize, Direction); if (!PermaLocked && (TempStatus > IdentificationStatus.No)) { Log("-- Permalocking to this stream."); PermaLocked = true; } Identified = (TempStatus == IdentificationStatus.Yes); } AddPacket(app); }
public ActionResult _DisposeIdentification(IEnumerable <long> identificationIds, IdentificationStatus status) { foreach (var identificationId in identificationIds) { //根据认证申请Id获得认证申请实体 Identification identification = identificationService.GetIdentification(identificationId); if (identification.Status != status) { identification.Status = status; //将认证申请的处理人Id改成当前用户的Id identification.DisposerId = UserContext.CurrentUser.UserId; //更新处理时间 identification.LastModified = DateTime.UtcNow; //更新认证申请 identificationService.UpdateIdentification(identification); } } return(Json(new StatusMessageData(StatusMessageType.Success, "操作成功!"))); }
/// <summary> /// 处理身份认证 /// </summary> /// <param name="identificationId">认证申请Id</param> /// <param name="status">状态(true:通过;false:不通过;)</param> /// <returns></returns> public string _DisposeIdentification(long identificationIds, IdentificationStatus status) { RouteValueDictionary routeValueDictionary = new RouteValueDictionary(); routeValueDictionary.Add("identificationIds", identificationIds); routeValueDictionary.Add("status", status); return CachedUrlHelper.Action("_DisposeIdentification", "ControlPanelUser", CommonAreaName, routeValueDictionary); }
public ActionResult _DisposeIdentification(IEnumerable<long> identificationIds, IdentificationStatus status) { foreach (var identificationId in identificationIds) { //根据认证申请Id获得认证申请实体 Identification identification = identificationService.GetIdentification(identificationId); if (identification.Status != status) { identification.Status = status; //将认证申请的处理人Id改成当前用户的Id identification.DisposerId = UserContext.CurrentUser.UserId; //更新处理时间 identification.LastModified = DateTime.UtcNow; //更新认证申请 identificationService.UpdateIdentification(identification); } } return Json(new StatusMessageData(StatusMessageType.Success, "操作成功!")); }