From 13d2d0ef534815d3705d15dcb73ec40fa27339fe Mon Sep 17 00:00:00 2001 From: xxe Date: Thu, 22 Sep 2022 16:26:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=9C=82=E9=B8=A3=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HKCardOUT/Logic/RemoteService.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/HKCardOUT/Logic/RemoteService.cs b/HKCardOUT/Logic/RemoteService.cs index 7ee1647..ddc55ef 100644 --- a/HKCardOUT/Logic/RemoteService.cs +++ b/HKCardOUT/Logic/RemoteService.cs @@ -7,6 +7,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Markup; +using UHFHelper; using XExten.Advance.HttpFramework.MultiCommon; using XExten.Advance.HttpFramework.MultiFactory; using XExten.Advance.LinqFramework; @@ -39,7 +40,13 @@ namespace HKCardOUT.Logic t.JsonParam = (new { GateId=StallId, Type = -1, CardNum = CardNo }).ToJson(); t.NodePath = ApiRoute.SyncSaleLog; }).Build().RunStringFirst(); - return bool.Parse(data.ToModel()["data"].ToString()); + var m= bool.Parse(data.ToModel()["data"].ToString()); + if (m) + { + UHF_RS485_Helper.GetInstance().OpenBeep(StallId.AsInt()); + return m; + } + else return false; } /// /// 获取店铺信息