From 833bae6d08a5e706647ec4ea34a3445a71f1b809 Mon Sep 17 00:00:00 2001 From: liuwf Date: Wed, 28 Aug 2024 10:06:35 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs b/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs index a7a4f5e..d3d4796 100644 --- a/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs +++ b/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs @@ -1573,27 +1573,7 @@ namespace SlnMesnac.WPF.Page } machineStatusDtos.Add(machineStatusDto); - //if (unPackStatus8) - //{ - // StopMachine(0); - // string msg = $"拆包机设备故障:{WarnStatusEnum.拆包机堵料停螺旋.ToString()},自动关闭拆包机"; - // _logger.LogError(msg); - - // Application.Current.Dispatcher.Invoke(() => - // { - // var alarmWindow = new SystemAlarmWindow(); - // var viewModel = new SystemAlarmViewModel(); - // viewModel.AlarmMsg = msg; - // viewModel.AlarmConfirmed += (sender, isConfirmed) => - // { - // alarmWindow.Close(); - // }; - - // alarmWindow.DataContext = viewModel; - - // alarmWindow.ShowDialog(); - // }); - //} + } catch (Exception ex) {