feat(abut): 접속슬래브 배근 입력 저장

- AbutRecord.rebar.slab (바꾼 값만), applySlabRebar, 프로젝트 파일 검증

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
ypshimandClaude Haiku 5.5 committed 2026-11-05 09:23:56 +09:00
1 parent fa7d0032c3
commit 9ae6cf0945
4 files changed
+34 -1

No files matched your search

+3
View File
@@ -177,6 +177,9 @@ export function checkStoredAbutments(list: unknown): void {
for (const [key, v] of Object.entries(a.rebar.wing ?? {})) {
if (!finite(v)) throw new Error(`${who}: 날개벽 배근 값 ${key}이(가) 맞지 않습니다.`);
}
for (const [key, v] of Object.entries(a.rebar.slab ?? {})) {
if (!finite(v)) throw new Error(`${who}: 접속슬래브 배근 값 ${key}이(가) 맞지 않습니다.`);
}
}
if (a.wingsLinked !== undefined && typeof a.wingsLinked !== 'boolean') throw new Error(`${who}: 좌우 같게 값이 맞지 않습니다.`);
if (a.wings !== undefined) {