private void OnProcessProgress(PNLocationInfo pnInfo, int hitType) { if (this.ProcessProgressEvent == null) { return; } ProcessProgressEventArgs args = new ProcessProgressEventArgs(); args.Cur = this.mPNLocationResultList.Count; args.Max = this.mPNList.Count; args.PhoneNumberLocation = pnInfo; args.Msg = ""; args.Action = hitType; args.CatchLength = this.mSegmengInfoCache.Count; args.HitCount = this.mCacheHitCount; this.ProcessProgressEvent(args); }
private void OnProcessProgress(PNLocationInfo pnInfo, int hitType) { if (this.ProcessProgressEvent == null) return; ProcessProgressEventArgs args = new ProcessProgressEventArgs(); args.Cur = this.mPNLocationResultList.Count; args.Max = this.mPNList.Count; args.PhoneNumberLocation = pnInfo; args.Msg = ""; args.Action = hitType; args.CatchLength = this.mSegmengInfoCache.Count; args.HitCount = this.mCacheHitCount; this.ProcessProgressEvent(args); }
void mPNLocationSvc_ProcessProgressEvent(ProcessProgressEventArgs args) { this.mProgressNotifyCache.Enqueue(args); UpdateNotifyInfo(); }