This commit is contained in:
xyy
2026-03-25 21:19:50 +08:00
parent aa4f3e1f4c
commit fe2332d56d
4 changed files with 151 additions and 6 deletions

View File

@@ -666,6 +666,12 @@ namespace PLCDataMonitor
private void ClearCurveButton_Click(object sender, RoutedEventArgs e)
{
ClearCurve();
// 新增:重置主窗口计时器
var mainWindow = System.Windows.Window.GetWindow(this) as MainWindow;
if (mainWindow != null) { mainWindow.ResetTestTimer(); }
}
public void ClearCurve()