Browse Source

叫号通知

master
pry 1 year ago
parent
commit
7f87889226
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      BPASmartClient.Business/Plugin/OrderProxy.cs

+ 2
- 0
BPASmartClient.Business/Plugin/OrderProxy.cs View File

@@ -206,6 +206,8 @@ namespace BPASmartClient.Business
var temp = BPAPackage.Make(orderStatusChange, clientId, orderStatusChangedEvent.deviceClientType); var temp = BPAPackage.Make(orderStatusChange, clientId, orderStatusChangedEvent.deviceClientType);
var q = temp.Serialize(false); var q = temp.Serialize(false);
Plugin.GetInstance().GetPlugin<MQTTMgr>().Publish(TOPIC.GetInstance.GetAppTopic(clientId.ToString()), temp.Serialize(false)); Plugin.GetInstance().GetPlugin<MQTTMgr>().Publish(TOPIC.GetInstance.GetAppTopic(clientId.ToString()), temp.Serialize(false));
if (orderStatusChange.CookingStatus == ORDER_STATUS.COMPLETED_TAKE)
MessageLog.GetInstance.Show($"通知叫号:{orderStatusChange.GoodName}--{orderStatusChange.SortNum}");
#endregion #endregion
} }




Loading…
Cancel
Save