From fb0a67314fa97695ee728c0de49757d262ebd6a5 Mon Sep 17 00:00:00 2001 From: xxe Date: Thu, 22 Sep 2022 11:52:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HKCardOUT/ViewModels/RootViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HKCardOUT/ViewModels/RootViewModel.cs b/HKCardOUT/ViewModels/RootViewModel.cs index 987d8db..a891691 100644 --- a/HKCardOUT/ViewModels/RootViewModel.cs +++ b/HKCardOUT/ViewModels/RootViewModel.cs @@ -107,7 +107,7 @@ namespace HKCardOUT.ViewModels } else { - var x = await UHF_RS485_Helper.GetInstance().ReadCard(01); + var x = await UHF_RS485_Helper.GetInstance().ReadCard(item.Address.AsInt()); if (x != null) ReadFunc?.Invoke(x); }