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; } /// /// 获取店铺信息