xxe 1 年之前
父節點
當前提交
61f49a6b29
共有 1 個文件被更改,包括 11 次插入5 次删除
  1. +11
    -5
      HKCardOUT/Helper/BigScreen/DataCenter.cs

+ 11
- 5
HKCardOUT/Helper/BigScreen/DataCenter.cs 查看文件

@@ -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);


Loading…
取消
儲存