fix(rebar): 확대기초 n 라벨을 "B11·B12 연직간격 배수"로 변경 (FT02 메시지 포함)
- 변수 이름 n과 계산은 그대로 (조립 단 간격 = n·s_v) - FT02 메시지도 같은 이름을 씀 Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0588ffe3f4
commit
6957054f4c
2 files changed
+3
-2
No files matched your search
@@ -76,9 +76,10 @@ export function footingSettingsIssues(s: FootingRebarSettings): FootingSettingsI
|
||||
out.push({ code: 'FT01', key, message: `FT01 ${key} ${v} 범위 밖 (${lo}–${hi})` });
|
||||
}
|
||||
}
|
||||
const names: Record<'n' | 'kB11' | 'kB12', string> = { n: 'B11·B12 연직간격 배수 n', kB11: 'B11 수평간격 배수 k', kB12: 'B12 수평간격 배수 k' };
|
||||
for (const key of ['n', 'kB11', 'kB12'] as const) {
|
||||
if (Number.isFinite(s[key]) && !Number.isInteger(s[key])) {
|
||||
out.push({ code: 'FT02', key, message: `FT02 ${key} ${s[key]}는 정수여야 합니다` });
|
||||
out.push({ code: 'FT02', key, message: `FT02 ${names[key]} ${s[key]}는 정수여야 합니다` });
|
||||
}
|
||||
}
|
||||
return out;
|
||||
|
||||
+1
-1
@@ -1302,7 +1302,7 @@ const FOOTING_REBAR_FIELDS: { key: keyof FootingRebarSettings; label: string }[]
|
||||
{ key: 'sPerp', label: '격자 실간격 · 교각축 직각 B5–B8 · B11·B12 (mm)' },
|
||||
{ key: 'sV', label: 'B10 높이 간격 s_v (mm)' },
|
||||
{ key: 'eTop', label: 'B5 아래 최소 여유 e_top (mm)' },
|
||||
{ key: 'n', label: '조립 단 배수 n (B10 간격의 n배)' },
|
||||
{ key: 'n', label: 'B11·B12 연직간격 배수 n (B10 간격의 n배)' },
|
||||
{ key: 'kB11', label: 'B11 수평간격 배수 k (L 방향, k·s교각축직각)' },
|
||||
{ key: 'kB12', label: 'B12 수평간격 배수 k (W 방향, k·s교각축)' },
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user