pengliangyang 1 year ago
parent
commit
11abe8c6b8
3 changed files with 5 additions and 1 deletions
  1. +2
    -0
      BPASmartClient.MorkS/Control_Morks.cs
  2. +2
    -0
      BPASmartClient.MorkSUpgradedVer/Control_MorkSUpgradedVer.cs
  3. +1
    -1
      BPASmartClient/App.config

+ 2
- 0
BPASmartClient.MorkS/Control_Morks.cs View File

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


+ 2
- 0
BPASmartClient.MorkSUpgradedVer/Control_MorkSUpgradedVer.cs View File

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


+ 1
- 1
BPASmartClient/App.config View File

@@ -4,7 +4,7 @@


<!--通用配置--> <!--通用配置-->
<!--<add key="ClientId" value="43"/>--> <!--<add key="ClientId" value="43"/>-->
<add key="IsEnableTest" value="true"/>
<add key="IsEnableTest" value="false"/>


<!--测试环境--> <!--测试环境-->
<add key="apollouri" value="http://10.2.1.21:28080/"/> <add key="apollouri" value="http://10.2.1.21:28080/"/>


Loading…
Cancel
Save