Explorar el Código

叫号系统修改

master
pry hace 1 año
padre
commit
0b9577b6d4
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. +2
    -2
      BPASmartClient.MorkS/Control_Morks.cs
  2. +2
    -2
      BPASmartClient.MorkSUpgradedVer/Control_MorkSUpgradedVer.cs

+ 2
- 2
BPASmartClient.MorkS/Control_Morks.cs Ver fichero

@@ -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 Ver fichero

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


Cargando…
Cancelar
Guardar