This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user