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) {