暂时提交,等客户那边测试
This commit is contained in:
@@ -14,6 +14,21 @@ namespace PLCDataMonitor
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
|
||||
// 定义暂停/继续事件
|
||||
public event EventHandler PauseRequested;
|
||||
public event EventHandler ResumeRequested;
|
||||
|
||||
private void PauseButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
PauseRequested?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
private void ResumeButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ResumeRequested?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
// 更新数据显示
|
||||
public void UpdateData(string pressure1, string pressure2, string friction1, string friction2, int count1, int count2, string t1, string t2, string Distince)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user