feat(E01): 빠진 측점 띠 간격 = 측점 목록 추정값(E02 · E03 부르는 줄)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 23:48:11 +09:00
co-authored by Claude Sonnet 5.5
parent 21c6a5b282
commit c743b90b43
2 changed files with 9 additions and 5 deletions
+5 -1
View File
@@ -27,6 +27,7 @@ import { createText } from "@ui/ui_template_text";
import { t, type LocaleKey } from "@ui/ui_template_locale";
import { mountGroupStep } from "../A00_Common/group_workflow";
import { buildMissingBanner } from "../E01_StabRegister/E01_StabRegister_UI_Missing";
import { inferStationInterval } from "../common_util/common_util_station";
import { buildCards, hook, type E02View } from "./E02_StabGround_UI_Tables";
import {
checkGround,
@@ -236,7 +237,10 @@ export function renderE02StabGround(root: HTMLElement): void {
if (!view) return;
const cards = buildCards(view);
refreshStations = cards.refreshStations;
main.replaceChildren(buildMissingBanner(missing), cards.root);
main.replaceChildren(
buildMissingBanner(missing, inferStationInterval(view.ground.stations)),
cards.root,
);
mark();
};
+4 -4
View File
@@ -495,7 +495,10 @@ export function renderE03StabSection(root: HTMLElement): void {
if (before === "none" && result.status === "ok") active = null; // 첫 해석 뒤 = 가장 낮은 측점으로
sections.clear();
showReach(result.search_reach);
missingHost.replaceChildren(buildMissingBanner(result.missing_stations));
interval = inferStationInterval(
result.stations.slice().sort((a, b) => a.chainage_m - b.chainage_m),
);
missingHost.replaceChildren(buildMissingBanner(result.missing_stations, interval));
const conds = result.conditions;
if (!conds.includes(condition)) condition = conds[0] ?? "dry";
condField.setOptions(
@@ -503,9 +506,6 @@ export function renderE03StabSection(root: HTMLElement): void {
condition,
);
const keys = result.stations.map((r) => r.key);
interval = inferStationInterval(
result.stations.slice().sort((a, b) => a.chainage_m - b.chainage_m),
);
delete planView.zoom; // 다시 읽음 = 띠 원배율
if (!active || !keys.includes(active)) {
// 처음 = 그 조건 가장 낮은 안전율 측점