liuwf 3 months ago
parent 73a3dc003f
commit 833bae6d08

@ -1573,27 +1573,7 @@ namespace SlnMesnac.WPF.Page
} }
machineStatusDtos.Add(machineStatusDto); 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) catch (Exception ex)
{ {

Loading…
Cancel
Save