|
|
@@ -411,7 +411,6 @@ namespace BPASmartClient.MorkSUpgradedVer |
|
|
|
OrderChange(order.MorkOrder.SuborderId, ORDER_STATUS.WAIT); |
|
|
|
DeviceProcessLogShow($"接收到{OrderCount}次订单,订单ID:{order.MorkOrder.SuborderId}"); |
|
|
|
mORKS.HistorySuborderId.Add(order.MorkOrder.SuborderId); |
|
|
|
mORKS.IDSortNums.TryAdd(order.MorkOrder.SuborderId, order.MorkOrder.SortNum); |
|
|
|
foreach (var item in order.MorkOrder.GoodBatchings) |
|
|
|
{ |
|
|
|
var res = orderMaterialDelivery?.BatchingInfo?.FirstOrDefault(p => p.BatchingId == item.BatchingId); |
|
|
@@ -760,9 +759,10 @@ namespace BPASmartClient.MorkSUpgradedVer |
|
|
|
OrderChange(mORKS.OutMealId, ORDER_STATUS.COMPLETED_TAKE); |
|
|
|
DeviceProcessLogShow($"订单【{mORKS.OutMealId}】取餐完成"); |
|
|
|
WriteData("M10.1", false); |
|
|
|
int takeDinningNum; |
|
|
|
mORKS.IDSortNums.TryRemove(mORKS.OutMealId, out takeDinningNum); |
|
|
|
mORKS.OutMealSortNum = takeDinningNum; |
|
|
|
|
|
|
|
var orderEvent= mORKS.doOrderEvents.FirstOrDefault(order => order.MorkOrder.SuborderId == mORKS.OutMealId); |
|
|
|
mORKS.OutMealSortNum = orderEvent?.MorkOrder.SortNum ?? 0; |
|
|
|
|
|
|
|
DeviceProcessLogShow($"出餐订单序号【{mORKS.OutMealSortNum}】"); |
|
|
|
VoiceAPI.Speak(mORKS.OutMealSortNum.ToString()); |
|
|
|
//DeviceProcessLogShow($"叫号系统通知主题【MORKS/VoiceCall/{DeviceId}】"); |
|
|
|