Pārlūkot izejas kodu

叫号系统修改

master
pry pirms 1 gada
vecāks
revīzija
0b9577b6d4
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. +2
    -2
      BPASmartClient.MorkS/Control_Morks.cs
  2. +2
    -2
      BPASmartClient.MorkSUpgradedVer/Control_MorkSUpgradedVer.cs

+ 2
- 2
BPASmartClient.MorkS/Control_Morks.cs Parādīt failu

@@ -692,8 +692,8 @@ namespace BPASmartClient.MorkS
ResetCookComplete();
DeviceProcessLogShow($"出餐订单序号【{mORKS.OutMealSortNum}】");
VoiceAPI.Speak(mORKS.OutMealSortNum.ToString());
DeviceProcessLogShow($"叫号系统通知主题【MORKS/VoiceCall/{DeviceId}】");
Plugin.GetInstance().GetPlugin<MQTTMgr>().Publish($"MORKS/VoiceCall/{DeviceId}", mORKS.OutMealSortNum.ToString());
//DeviceProcessLogShow($"叫号系统通知主题【MORKS/VoiceCall/{DeviceId}】");
//Plugin.GetInstance().GetPlugin<MQTTMgr>().Publish($"MORKS/VoiceCall/{DeviceId}", mORKS.OutMealSortNum.ToString());
mORKS.CookCompleteFlatBit = false;
mORKS.OutMealId = string.Empty;
mORKS.OutMealName = string.Empty;


+ 2
- 2
BPASmartClient.MorkSUpgradedVer/Control_MorkSUpgradedVer.cs Parādīt failu

@@ -666,8 +666,8 @@ namespace BPASmartClient.MorkSUpgradedVer
WriteData("M10.1", false);
DeviceProcessLogShow($"出餐订单序号【{mORKS.OutMealSortNum}】");
VoiceAPI.Speak(mORKS.OutMealSortNum.ToString());
DeviceProcessLogShow($"叫号系统通知主题【MORKS/VoiceCall/{DeviceId}】");
Plugin.GetInstance().GetPlugin<MQTTMgr>().Publish($"MORKS/VoiceCall/{DeviceId}", mORKS.OutMealSortNum.ToString());
//DeviceProcessLogShow($"叫号系统通知主题【MORKS/VoiceCall/{DeviceId}】");
//Plugin.GetInstance().GetPlugin<MQTTMgr>().Publish($"MORKS/VoiceCall/{DeviceId}", mORKS.OutMealSortNum.ToString());
mORKS.CookCompleteFlatBit = false;
mORKS.OutMealId = string.Empty;
mORKS.OutMealName = string.Empty;


Notiek ielāde…
Atcelt
Saglabāt