liuwf 1 month ago
parent 41ac8eae2e
commit 52ef253441

@ -821,11 +821,26 @@ namespace SlnMesnac.WPF.Page
}
}
//判断缓存区重量
double Cache_MaxWeight = recipeManageCache.MaxBufferWeight;
double Cache_Weight = recipeManageCache.BufferWeight;
if(Cache_Weight >= Cache_MaxWeight)
{
recipeManageCache.SystemStatus = "1";
Application.Current.Dispatcher.Invoke(() =>
{
Msg.MsgShow($"缓存区重量{Cache_Weight}已经超过最大阈值{Cache_MaxWeight},暂时不启动设备",2,3);
});
return;
}
//var result = MessageBox.Show("是否确认启动?", "确认", MessageBoxButton.YesNo, MessageBoxImage.Information);
//if (result == MessageBoxResult.Yes)
//{
// 创建一个自定义对话框
SelectWindow customDialog = new SelectWindow();
// 创建一个自定义对话框
SelectWindow customDialog = new SelectWindow();
customDialog.ShowDialog();
// 判断有无翻转机移走空托盘任务

Loading…
Cancel
Save