mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
fix: send touchpanelKey message with all room combiner checks
This commit is contained in:
parent
514ac850ca
commit
8bab3dc966
1 changed files with 11 additions and 1 deletions
|
|
@ -2188,6 +2188,8 @@ namespace PepperDash.Essentials
|
||||||
SendMessageObject(message);
|
SendMessageObject(message);
|
||||||
|
|
||||||
SendDeviceInterfaces(clientId);
|
SendDeviceInterfaces(clientId);
|
||||||
|
|
||||||
|
SendTouchpanelKey(clientId, touchpanelKey);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2203,6 +2205,8 @@ namespace PepperDash.Essentials
|
||||||
SendMessageObject(message);
|
SendMessageObject(message);
|
||||||
|
|
||||||
SendDeviceInterfaces(clientId);
|
SendDeviceInterfaces(clientId);
|
||||||
|
|
||||||
|
SendTouchpanelKey(clientId, touchpanelKey);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2222,6 +2226,8 @@ namespace PepperDash.Essentials
|
||||||
SendMessageObject(message);
|
SendMessageObject(message);
|
||||||
|
|
||||||
SendDeviceInterfaces(clientId);
|
SendDeviceInterfaces(clientId);
|
||||||
|
|
||||||
|
SendTouchpanelKey(clientId, touchpanelKey);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2243,7 +2249,11 @@ namespace PepperDash.Essentials
|
||||||
|
|
||||||
private void SendTouchpanelKey(string clientId, JToken touchpanelKeyToken)
|
private void SendTouchpanelKey(string clientId, JToken touchpanelKeyToken)
|
||||||
{
|
{
|
||||||
if (touchpanelKeyToken == null) { return; }
|
if (touchpanelKeyToken == null)
|
||||||
|
{
|
||||||
|
this.LogWarning("Touchpanel key not found for client {clientId}", clientId);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
SendMessageObject(new MobileControlMessage
|
SendMessageObject(new MobileControlMessage
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue