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

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

@@ -80,7 +80,7 @@ namespace HKCardOUT.ViewModels
var res = UHF_RS485_Helper.GetInstance().ReadCard(item.Address.AsInt());
if (res != null)
{
Debug.WriteLine($"卡号地址:{res.Address}----------卡号数据:{res.ResData}");
HKLog.HKLogImport.WriteInfo($"卡号地址:{res.Address}----------卡号数据:{res.ResData}");
if (!res.ResData.IsMatch(new Regex("0{20}")))
ReadFunc?.Invoke(res);
}


Loading…
Cancel
Save