xxe 2 years ago
parent
commit
2e17cb74f6
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      HKCardOUT/ViewModels/RootViewModel.cs

+ 1
- 3
HKCardOUT/ViewModels/RootViewModel.cs View File

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


Loading…
Cancel
Save