From e4f37a2d0c430f94358321f60164359ccf944d75 Mon Sep 17 00:00:00 2001 From: "GukSang.Jin" Date: Fri, 30 Jan 2026 19:33:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CSI-H238M/CSI-H238M/ViewModels/ViewModel.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CSI-H238M/CSI-H238M/ViewModels/ViewModel.cs b/CSI-H238M/CSI-H238M/ViewModels/ViewModel.cs index a7b7456..3ada45b 100644 --- a/CSI-H238M/CSI-H238M/ViewModels/ViewModel.cs +++ b/CSI-H238M/CSI-H238M/ViewModels/ViewModel.cs @@ -714,12 +714,14 @@ namespace COFTester.ViewModels ResetButtonText = Lang.Resetting; StatusMessage = Lang.Resetting; - // 2. 清除界面数据 + // 2. 清除界面数据(包括位置数据) _realTimePoints.Clear(); OnPropertyChanged(nameof(DataPointsCount)); LatestResult = null; CurrentForce = 0; CurrentDisp = 0; + LiftPosition = 0; // 清零升降位置 + HorizontalPosition = 0; // 清零水平位置 UpdateScottPlot(); // 3. M90 复归型按钮,M92 状态标记位(1=复位中,0=复位完成)