|
@@ -23,6 +23,7 @@ namespace HKCardOUT.ViewModels |
|
|
{ |
|
|
{ |
|
|
Foods.Add(""); |
|
|
Foods.Add(""); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#region 属性 |
|
|
#region 属性 |
|
@@ -34,9 +35,9 @@ namespace HKCardOUT.ViewModels |
|
|
private AdInfoModel _mRAdinfo = new AdInfoModel(); |
|
|
private AdInfoModel _mRAdinfo = new AdInfoModel(); |
|
|
|
|
|
|
|
|
public ObservableCollection<string> Foods { get; set; } = new ObservableCollection<string>(); |
|
|
public ObservableCollection<string> Foods { get; set; } = new ObservableCollection<string>(); |
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
void FoodsInit(int[] ScreenLoc) |
|
|
void FoodsInit(int[] ScreenLoc) |
|
|
{ |
|
|
{ |
|
@@ -60,6 +61,15 @@ namespace HKCardOUT.ViewModels |
|
|
{ |
|
|
{ |
|
|
FoodsInit(BindScreen); |
|
|
FoodsInit(BindScreen); |
|
|
|
|
|
|
|
|
|
|
|
ThreadManage.GetInstance().StartLong(() => { |
|
|
|
|
|
if (DateTime.Now.Hour == 16) |
|
|
|
|
|
{ |
|
|
|
|
|
LAdInfo.AInfo = new ObservableCollection<ScreenInfoDto>(); |
|
|
|
|
|
RAdinfo.AInfo = new ObservableCollection<ScreenInfoDto>(); |
|
|
|
|
|
} |
|
|
|
|
|
Thread.Sleep(5000); |
|
|
|
|
|
}, "清理屏幕数据", true); |
|
|
|
|
|
|
|
|
ThreadManage.GetInstance().StartLong(() => |
|
|
ThreadManage.GetInstance().StartLong(() => |
|
|
{ |
|
|
{ |
|
|
var model = (new HKCore()).PullDaySaleLog(BindScreen); |
|
|
var model = (new HKCore()).PullDaySaleLog(BindScreen); |
|
|