From adf92e852d4d692722177f40535b99f148987bfb Mon Sep 17 00:00:00 2001 From: maqiao <625215135@qq.com> Date: Tue, 27 Feb 2024 16:50:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B6=88=E6=81=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ViewModels/BindingChannelNewDialogViewModel.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/DM_Weight/ViewModels/BindingChannelNewDialogViewModel.cs b/DM_Weight/ViewModels/BindingChannelNewDialogViewModel.cs index 8e09db2..b9a261a 100644 --- a/DM_Weight/ViewModels/BindingChannelNewDialogViewModel.cs +++ b/DM_Weight/ViewModels/BindingChannelNewDialogViewModel.cs @@ -546,10 +546,20 @@ namespace DM_Weight.ViewModels _portUtil.WriteQuantity(item.DrawerNo, item.ColNo, item.totalCount); //await Task.Delay(200); } + SnackbarBackground = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#00e676")); + SnackbarMessageQueue.Enqueue("标签渲染完成!"); + return; } }); //GetChannelsByDrawerNo(); } + else + { + + SnackbarBackground = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#b71c1c")); + SnackbarMessageQueue.Enqueue("请选择库位"); + return; + } }); } public DelegateCommand BtnCloseCommand