fix(822-2): ORCA 확인 흠 — 직접 값 식이 내 기계를 받음 · 새 기계 빈 원문번호 = 「자체 EQ…」 · 찾기 판 잘림

- master_pick.machine: 빈 고르기 「기계」 입력(GC001199) = 기계표에 있는 어느 번호든(줄 쌓기 단가산출 셈이 「고르기 밖」 으로 멈췄음)
- M01 [새 기계] 원문번호 빈 칸 = 「자체 EQ{받을 키}」 — 식 목록에 넣을 번호(빈 번호면 시간당 「고르기 밖」)
- 찾기 판 높이가 떠 있는 판 max-height 100%(칸 높이)에 잘림 → none
- 쓰는 계산식 꼴 글: 「새 기계는 저장 때 그 식 목록에 등록」(있던 기계 고침엔 등록 없음)
- 시험 822_2: 내 기계 원문번호로 직접 값 식 셈 · 빈 원문번호 새 기계 등록 · 지움

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-12 18:25:05 +09:00
co-authored by Claude Opus 5.5
parent f22b506d0e
commit 4bf556311c
5 changed files with 31 additions and 5 deletions
+12 -1
View File
@@ -3,7 +3,8 @@
계수 = `master_machine_coef`(TS 짝 `common_util/common_util_machine_coef.ts`) ·
시간당 = 서버 기계경비식(`M02_Machine_Hourly.hourly` · 전국평균 · 기본 옵션) ·
쓰는 계산식 = `M02_Machine_Hourly.pick`(목록 › 꼴 · 822-2) · [새 기계] 저장 = 꼴에 맞는 식 목록에 원문번호 등록 ·
쓰는 계산식 = `M02_Machine_Hourly.pick`(목록 › 꼴 · 822-2) · [새 기계] 저장 = 꼴에 맞는 식 목록에 원문번호 등록
(원문번호 빈 칸 = 「자체 EQ…」 받을 키) ·
M01 에서 만든 기계(출처 모두 「자체」)를 지우면 그 번호 기계가 더 없을 때 목록에서 뺌(`register`) ·
마스터 파일은 읽기만 — 쓰기는 `Store_Make.save`.
"""
@@ -275,8 +276,18 @@ def fix(part: dict) -> None:
return
stored = {str(r.get("키")): r for r in _rows()}
units = _units()
issue = int(store.mk.load_book(store.FOLDER / store.mk.BOOK.name)["다음"].get("EQ", 1))
for ch in part.get("changes") or []:
row = ch.get("row")
if (
ch.get("op") == "add"
and isinstance(row, dict)
and not str(row.get("원문번호") or "").strip()
):
row["원문번호"] = (
f"{OWN_SOURCE} EQ{issue:06d}" # 822-2 식 목록에 넣을 번호(빈 칸 = 받을 키)
)
issue += 1
if (
ch.get("op") == "delete"
or not isinstance(row, dict)