From 204e49ba73c4f0d6a629a359ae5ff9613cd2bf16 Mon Sep 17 00:00:00 2001 From: Cizz22 Date: Wed, 20 Aug 2025 15:31:01 +0700 Subject: [PATCH] fix mttr --- src/aeros_equipment/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeros_equipment/service.py b/src/aeros_equipment/service.py index 7bfed67..2bfa9eb 100644 --- a/src/aeros_equipment/service.py +++ b/src/aeros_equipment/service.py @@ -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"] = 0.5 if mttr else 0 + results[location_tag]["cmDisP1"] = mttr results[location_tag]["relDisType"] = distribution results[location_tag]["relDisP1"] = reldisp1 results[location_tag]["relDisP2"] = reldisp2