main
Cizz22 4 months ago
parent 4f75a6ffb7
commit 9e8ab1a923

@ -265,7 +265,7 @@ def get_asset_batch(location_tags: List[str], nr_location_tags: List[str],
mttr = item["mttr"]
distribution, reldisp1, reldisp2 = get_distribution(item)
results[location_tag]["cmDisP1"] = mttr if mttr > 0 else 0
results[location_tag]["cmDisP1"] = 1 if mttr > 0 else 0
results[location_tag]["relDisType"] = distribution
results[location_tag]["relDisP1"] = reldisp1
results[location_tag]["relDisP2"] = reldisp2

Loading…
Cancel
Save