diff --git a/HKCardOUT/ViewModels/RootViewModel.cs b/HKCardOUT/ViewModels/RootViewModel.cs index b66823f..ac4d6bf 100644 --- a/HKCardOUT/ViewModels/RootViewModel.cs +++ b/HKCardOUT/ViewModels/RootViewModel.cs @@ -108,9 +108,7 @@ namespace HKCardOUT.ViewModels DataBus.StoreInfo.Devices.ForEach(async item => { if (!UHF_RS485_Helper.GetInstance().GetSerialPortState()) - { - HandyControl.Controls.Growl.InfoGlobal("串口未链接"); - } + return; else { var x = await UHF_RS485_Helper.GetInstance().ReadCard(item.Address.AsInt());