diff --git a/CoreAgent.ProtocolClient/ProtocolEngineCore/LogDataConverter.cs b/CoreAgent.ProtocolClient/ProtocolEngineCore/LogDataConverter.cs index 39ce7b4..f83bf6d 100644 --- a/CoreAgent.ProtocolClient/ProtocolEngineCore/LogDataConverter.cs +++ b/CoreAgent.ProtocolClient/ProtocolEngineCore/LogDataConverter.cs @@ -38,7 +38,7 @@ namespace CoreAgent.ProtocolClient.ProtocolEngineCore var result = new List(); var tmsiMatches =new List(); var srTmsiMappings = new List(); - if (_config.Name == "RAN") + if (_config.Model == "RAN") { tmsiMatches = _context.UeIdentifier.GenerateTmsiMatches(); srTmsiMappings = _context.UeIdentifier.GenerateSrTmsiMappings(tmsiMatches); @@ -166,7 +166,7 @@ namespace CoreAgent.ProtocolClient.ProtocolEngineCore MessageDetailJson = JsonConvert.SerializeObject(log.Data) }; detail.Timestamp = TimeStampHelper.ConvertToFullTimestamp(log.Timestamp); - if (_config.Name == "RAN") + if (_config.Model == "RAN") { // 获取IMSI信息 detail.IMSI = GetImsiFromUeList(log.UeId, tmsiMatches, srTmsiMappings); @@ -174,7 +174,7 @@ namespace CoreAgent.ProtocolClient.ProtocolEngineCore // 获取PLMN信息 detail.PLMN = GetPlmnFromPlmnToUeIdMapping(log.UeId, srTmsiMappings); } - if (_config.Name == "IMS") + if (_config.Model == "IMS") { detail.IMSI = log.SIP.IMSI; detail.PLMN = log.SIP.Plmn;