|
|
@@ -198,11 +198,17 @@ namespace Helper.BigScreen |
|
|
|
} |
|
|
|
sender.SplitMeals_CookType_6 = res; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sender.StatsCount = new List<StatsModel> { |
|
|
|
new StatsModel { } |
|
|
|
}; |
|
|
|
GateId = DataBus.StoreInfo.Devices.Select(t => t.GateId).FirstOrDefault(); |
|
|
|
var Foods = DataBus.Menu.GateFood.Where(t => t.GateId == GateId)?.Select(t => t.Foods)?.FirstOrDefault(); |
|
|
|
sender.StatsCount = new List<StatsModel>(); |
|
|
|
foreach (var item in Foods) |
|
|
|
{ |
|
|
|
sender.StatsCount.Add(new StatsModel |
|
|
|
{ |
|
|
|
Name = item, |
|
|
|
Count = model.Values.Sum() |
|
|
|
}); |
|
|
|
} |
|
|
|
MQTTCon.Send(sender); |
|
|
|
Thread.Sleep(10); |
|
|
|
}, $"屏幕刷卡信息", true); |
|
|
|