diff --git a/B06_Section/B06_Section_UI_Page_Structures_Panel.ts b/B06_Section/B06_Section_UI_Page_Structures_Panel.ts index 710fef64..991529df 100644 --- a/B06_Section/B06_Section_UI_Page_Structures_Panel.ts +++ b/B06_Section/B06_Section_UI_Page_Structures_Panel.ts @@ -298,7 +298,13 @@ export function createB06StructuresPanel(deps: B06StructuresPanelDeps): B06Struc deps.wallHeight, deps.wallForm, ), - design_flow_m3s: null, + // 담당 유역의 설계유량 — 물넘이·세월교 개략 단면(필요 수심 = 월류 높이 + // 자동값)이 이 값에서 나온다. B05와 같은 규칙으로 유역을 측점으로 짝짓는다 + // (2026-08-30 사용자: 월류 폭을 넣어도 높이가 자동 계산되지 않았다). + design_flow_m3s: + pipeResponse.basins.find( + (basin) => Math.abs(basin.chainage_m - pipe.chainage_m) < PIPE_MATCH_M, + )?.design_flow_m3s ?? null, })); section.setPipeFacilities(pipeFacilities); } catch (error) {