diff --git a/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs b/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs index 8f5c31c..2246f06 100644 --- a/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs +++ b/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs @@ -756,6 +756,12 @@ namespace SlnMesnac.WPF.Page Task.Run(() => { + // 启动除尘 + bool DustStatus = StartDust(); + if(!DustStatus) return; + + Thread.Sleep(500); + plc.writeBoolByAddress(baseBusiness.GetPlcAddressByConfigKey("拆包机远程急停"), false); plc.writeBoolByAddress(baseBusiness.GetPlcAddressByConfigKey("拆包机远程停止"), false); @@ -828,6 +834,9 @@ namespace SlnMesnac.WPF.Page bool result = StopMachine(99); if (result) { + // 停止除尘 + StopDust(); + MessageBoxAndLog("一键停止所有机器成功!"); App.Current.Dispatcher.BeginInvoke((Action)(() =>