diff --git a/A00_Common/line_stack_machine.ts b/A00_Common/line_stack_machine.ts index f4cf6c2ef..a33d7350f 100644 --- a/A00_Common/line_stack_machine.ts +++ b/A00_Common/line_stack_machine.ts @@ -37,7 +37,6 @@ interface CopyRowData { export interface CopyAnswer { 사본: CopyRowData | null; 지금: CopyRowData | null; - 새값: boolean; } export interface MachineCtx { @@ -233,10 +232,7 @@ export function openMachineWindow(o: MachineWindowOptions): void { // 지금 줄 = 이 단가산출 사본 값(있으면) const copy = c.kind === "now" && ctx.copyRow ? await ctx.copyRow(c.no).catch(() => null) : null; const row = copy?.사본 ?? null; - if (row) { - lines.push(createText(mt("Win_Copy"), "muted")); - if (copy?.새값) lines.push(createText(mt("Win_Newer"), "warning")); - } + if (row) lines.push(createText(mt("Win_Copy"), "muted")); if (k === "mine") { const m = c.mine ?? mines.find((r) => r.원문번호 === c.no); if (m) lines.push(createText(`${mt("Server_Hourly")} ${hourlyText(m.시간당)}`)); diff --git a/M02_MasterTemplete/M02_MyMachine_Draft.py b/M02_MasterTemplete/M02_MyMachine_Draft.py index 319c07d87..e63bfc106 100644 --- a/M02_MasterTemplete/M02_MyMachine_Draft.py +++ b/M02_MasterTemplete/M02_MyMachine_Draft.py @@ -197,7 +197,7 @@ def saving(body: dict, inner: Callable[[dict], Any]) -> Any: def copy_row(doc: dict, copy: dict | None, no: str) -> dict[str, Any]: - """기계 창 열 때 — {사본: 이 SK 사본에 박힌 줄 | None, 지금: 지금 줄 | None, 새값}(원문번호 · 키로 찾음).""" + """기계 창 열 때 — {사본: 이 SK 사본에 박힌 줄 | None, 지금: 지금 줄 | None}(원문번호 · 키로 찾음).""" from M02_MasterTemplete import M02_Sangeun_Copy as skc no = no.strip().strip("'") @@ -209,5 +209,4 @@ def copy_row(doc: dict, copy: dict | None, no: str) -> dict[str, Any]: whole = skc.whole_() live = (whole.numbers.get("EQ") or {}).get(no) or (whole.index.get("EQ") or {}).get(no) now = prices.to_json(live) if live is not None else None - new = have is not None and now is not None and skc._fp(have) != skc._fp(now) - return {"사본": have, "지금": now, "새값": new} + return {"사본": have, "지금": now} diff --git a/M02_MasterTemplete/M02_MyMachine_Text.ts b/M02_MasterTemplete/M02_MyMachine_Text.ts index 7d04557f2..32d8986fc 100644 --- a/M02_MasterTemplete/M02_MyMachine_Text.ts +++ b/M02_MasterTemplete/M02_MyMachine_Text.ts @@ -60,7 +60,6 @@ const TEXT = { Win_M01: "M01 기계", Win_Copy: "이 단가산출에 복사된 값", Win_Live: "원본 지금 값", - Win_Newer: "원본에 새 값 있음 — 프로젝트 사본은 [단가 갱신] 으로 반영", Win_Swap: "이 기계로 바꾸기", Win_Hint: "왼쪽에서 기계를 고르면 값이 보임", Win_View: "조회", diff --git a/resources/tester/test_827_1_machine_window.py b/resources/tester/test_827_1_machine_window.py index f18a69559..55e60a6fe 100644 --- a/resources/tester/test_827_1_machine_window.py +++ b/resources/tester/test_827_1_machine_window.py @@ -182,9 +182,7 @@ def test_edit_mine_other_sk_new_value(world): now = _at(me, path.read, first) assert now["셈"]["계"] == was seen = _at(me, path.machine, first, f"'{no}'") - assert ( - seen["사본"]["값"]["가격"] == 1000 and seen["지금"]["값"]["가격"] == 5000 and seen["새값"] - ) + assert seen["사본"]["값"]["가격"] == 1000 and seen["지금"]["값"]["가격"] == 5000 def test_company_and_other_refused(world):