feat(B06): 도수로/돌붙임 칸에 붙임 형식(찰붙임 · 메붙임) · 면적 ㎡ — 정의 이름 줄 · 기본값 시험(98-3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYJJRCfHfdCGNhmXTjQKV7
This commit is contained in:
2026-10-08 14:01:39 +09:00
co-authored by Claude Opus 5.5
parent 33aa3950f3
commit a3e5988f8b
3 changed files with 34 additions and 6 deletions
+12 -1
View File
@@ -110,7 +110,7 @@ export const SOIL_ADD: SpecContainer = {
items: guardItems(),
};
/** 도수로/돌붙임 칸 — 구조 · 두께(cm · 새 상자 30 · 90-2 사용자 확정) · 물넘이 포장(`ford_chute`)도 같은 칸. */
/** 도수로/돌붙임 칸 — 구조 · 두께(cm · 새 상자 30 · 90-2 사용자 확정) · 붙임 형식 · 면적(98-3) · 물넘이 포장(`ford_chute`)도 같은 칸. */
export const CHUTE_ITEMS: SpecItem[] = [
{
id: "structure",
@@ -122,6 +122,17 @@ export const CHUTE_ITEMS: SpecItem[] = [
],
},
{ id: "thickness", label: "두께 (cm)", kind: "number", step: 1, default: "30" },
// 붙임 형식 · 면적(98-3) — 빈칸이면 B08 구조물 집계표에 안 셈(설계자가 넣음)
{
id: "bond",
label: "붙임 형식",
kind: "select",
choices: [
{ value: "찰붙임", label: "찰붙임" },
{ value: "메붙임", label: "메붙임" },
],
},
{ id: "area", label: "면적 (㎡)", kind: "number", step: 0.1 },
];
/** 도수로/돌붙임(선택 · 하나만 · 54-48) — 옛 둘 이상은 보이되 [추가]만 숨김. */
+15 -3
View File
@@ -3361,7 +3361,11 @@
"chute_add.structure": "구조",
"chute_add.structure=도수로": "도수로",
"chute_add.structure=돌붙임": "돌붙임",
"chute_add.thickness": "두께 (cm)"
"chute_add.thickness": "두께 (cm)",
"chute_add.bond": "붙임 형식",
"chute_add.bond=찰붙임": "찰붙임",
"chute_add.bond=메붙임": "메붙임",
"chute_add.area": "면적 (㎡)"
}
},
"box_culvert": {
@@ -3424,7 +3428,11 @@
"chute_add.structure": "구조",
"chute_add.structure=도수로": "도수로",
"chute_add.structure=돌붙임": "돌붙임",
"chute_add.thickness": "두께 (cm)"
"chute_add.thickness": "두께 (cm)",
"chute_add.bond": "붙임 형식",
"chute_add.bond=찰붙임": "찰붙임",
"chute_add.bond=메붙임": "메붙임",
"chute_add.area": "면적 (㎡)"
}
},
"ford_pavement": {
@@ -3495,7 +3503,11 @@
"chute_add.structure": "구조",
"chute_add.structure=도수로": "도수로",
"chute_add.structure=돌붙임": "돌붙임",
"chute_add.thickness": "두께 (cm)"
"chute_add.thickness": "두께 (cm)",
"chute_add.bond": "붙임 형식",
"chute_add.bond=찰붙임": "찰붙임",
"chute_add.bond=메붙임": "메붙임",
"chute_add.area": "면적 (㎡)"
}
},
"revetment": {
+7 -2
View File
@@ -64,8 +64,13 @@ def test_유입_유출은_구조와_흙막이_칸만(out):
"before",
"after",
]
# 도수로/돌붙임 = 구조 · 두께(cm · 새 상자 30 · 90-2)
assert out[spec]["chute_add"] == [["structure", None, None], ["thickness", None, "30"]]
# 도수로/돌붙임 = 구조 · 두께(cm · 새 상자 30 · 90-2) · 붙임 형식 · 면적(98-3 · 기본 없음)
assert out[spec]["chute_add"] == [
["structure", None, None],
["thickness", None, "30"],
["bond", None, None],
["area", None, None],
]
keys = out[f"{spec}Keys"]
assert keys["prefixes"] == ["soil_add_", "chute_add_"]
# 측벽 높이 · 좌우 · 상하 · 바닥판 · 날개벽 치수 칸 없음