aktueller Stand
This commit is contained in:
@@ -1237,7 +1237,7 @@ namespace C4IT.FASD.Cockpit.Communication
|
||||
|
||||
public override async Task<cF4SDHealthCardRawData> GetHealthCardData(Guid healthCardId)
|
||||
{
|
||||
cF4SDHealthCardRawData output = null;
|
||||
cF4SDHealthCardRawData healthcardData = null;
|
||||
|
||||
try
|
||||
{
|
||||
@@ -1245,25 +1245,16 @@ namespace C4IT.FASD.Cockpit.Communication
|
||||
|
||||
lock (CachedHealthCardRawData)
|
||||
{
|
||||
if (CachedHealthCardRawData.TryGetValue(healthCardId, out output))
|
||||
{
|
||||
CachedHealthCardRawData.Remove(healthCardId);
|
||||
return output;
|
||||
}
|
||||
if (CachedHealthCardRawData.TryGetValue(healthCardId, out healthcardData))
|
||||
return healthcardData;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
catch (Exception E)
|
||||
{
|
||||
LogException(E);
|
||||
}
|
||||
finally
|
||||
{
|
||||
}
|
||||
|
||||
await Task.CompletedTask;
|
||||
return output;
|
||||
return healthcardData;
|
||||
}
|
||||
|
||||
public override async Task<List<cF4SDHealthCardRawData.cHealthCardDetailsTable>> GetDetailsData(cF4sdHealthCardRawDataRequest requestData)
|
||||
|
||||
Reference in New Issue
Block a user