Get floor number from floor name 🟥

This commit is contained in:
Daniel Roth 2026-04-20 12:50:30 +00:00
parent c11c85a974
commit 78773ca633
2 changed files with 5 additions and 0 deletions

View file

@ -183,12 +183,14 @@ class TestPdfToEpcPropertyData:
total_floor_area_m2=35.68,
party_wall_length_m=10.62,
heat_loss_perimeter_m=13.44,
floor=1,
),
SapFloorDimension(
room_height_m=2.17,
total_floor_area_m2=35.68,
party_wall_length_m=10.62,
heat_loss_perimeter_m=11.0,
floor=0,
),
],
wall_thickness_mm=310,
@ -206,6 +208,7 @@ class TestPdfToEpcPropertyData:
total_floor_area_m2=3.8,
party_wall_length_m=0.0,
heat_loss_perimeter_m=5.7,
floor=0,
),
],
wall_thickness_mm=310,

View file

@ -464,12 +464,14 @@ class TestFromSiteNotesExample1:
total_floor_area_m2=24.78,
party_wall_length_m=6.15,
heat_loss_perimeter_m=14.21,
floor=1,
),
SapFloorDimension(
room_height_m=2.35,
total_floor_area_m2=24.78,
party_wall_length_m=6.15,
heat_loss_perimeter_m=14.21,
floor=0,
),
],
wall_thickness_mm=280,