|
|
@@ -23,7 +23,7 @@ namespace HKCardOUT.ViewModels |
|
|
|
{ |
|
|
|
Foods.Add(""); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#region 属性 |
|
|
@@ -61,7 +61,8 @@ namespace HKCardOUT.ViewModels |
|
|
|
{ |
|
|
|
FoodsInit(BindScreen); |
|
|
|
|
|
|
|
ThreadManage.GetInstance().StartLong(() => { |
|
|
|
ThreadManage.GetInstance().StartLong(() => |
|
|
|
{ |
|
|
|
if (DateTime.Now.Hour == 16) |
|
|
|
{ |
|
|
|
LAdInfo.AInfo = new ObservableCollection<ScreenInfoDto>(); |
|
|
@@ -115,7 +116,7 @@ namespace HKCardOUT.ViewModels |
|
|
|
data.UserName = DataBus.UserListDto |
|
|
|
.Where(t => t.Cards.Select(x => x.CardNum).Contains(data.CardNo)) |
|
|
|
.Select(x => x.Name).FirstOrDefault(); |
|
|
|
|
|
|
|
HKLog.HKLogImport.WriteInfo("取出刷卡信息" + data.ToJsonString()); |
|
|
|
App.Current.Dispatcher.Invoke(() => |
|
|
|
{ |
|
|
|
if (LAdInfo.Info != null && !string.IsNullOrEmpty(LAdInfo.Info.UserName)) |
|
|
@@ -128,6 +129,10 @@ namespace HKCardOUT.ViewModels |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
HKLog.HKLogImport.WriteInfo("未包含屏幕" + BindScreen[i]); |
|
|
|
} |
|
|
|
} |
|
|
|
Thread.Sleep(10); |
|
|
|
}, $"屏幕刷卡信息{BindScreen[0]}-{BindScreen[1]}", true); |
|
|
|