747575620@qq.com pirms 2 gadiem
vecāks
revīzija
6b5441b269
1 mainītis faili ar 8 papildinājumiem un 1 dzēšanām
  1. +8
    -1
      HKCardOUT/Logic/RemoteService.cs

+ 8
- 1
HKCardOUT/Logic/RemoteService.cs Parādīt failu

@@ -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<JObject>()["data"].ToString());
var m= bool.Parse(data.ToModel<JObject>()["data"].ToString());
if (m)
{
UHF_RS485_Helper.GetInstance().OpenBeep(StallId.AsInt());
return m;
}
else return false;
}
/// <summary>
/// 获取店铺信息


Notiek ielāde…
Atcelt
Saglabāt