void IVXProtocol_LogSearchItemReceived(List <LogSearchResultInfo> obj) { if (obj.Count > 0) { LogSearchResultInfo info = obj.Last(); m_param.LogId = info.LogId; } Framework.Container.Instance.EvtAggregator.GetEvent <LogSearchReceivedEvent>().Publish(obj); }
private void GetLogInfoFunc(object parmObj) { List <LogSearchResultInfo> logListObj = null; try { logListObj = Framework.Container.Instance.CommService.GET_LOG_LIST_DATA((LogSearchParam)parmObj); } catch (SDKCallException ex) { logListObj = new List <LogSearchResultInfo> { }; LogSearchResultInfo logInfo = new LogSearchResultInfo(); logInfo.OptName = "SDKError"; logInfo.Description = "日志管理-查询:" + ex.Message; logListObj.Add(logInfo); } if (SearchFinished != null) { SearchFinished((object)logListObj, null); } }