#548 Implments IBridgeAdvanced on IRBlurayBase and adds IRBlurayBaseJoinMap

This commit is contained in:
Neil Dorin
2021-02-16 16:33:03 -07:00
parent 4f5bb4dc46
commit f075412a86
5 changed files with 347 additions and 9 deletions

View File

@@ -388,9 +388,16 @@ namespace PepperDash.Essentials.Devices.Common
}
Debug.Console(1, "Linking to Trilist '{0}'", trilist.ID.ToString("X"));
Debug.Console(0, "Linking to Display: {0}", Name);
Debug.Console(0, "Linking to SetTopBox: {0}", Name);
trilist.OnlineStatusChange += new OnlineStatusChangeEventHandler((o, a) =>
{
if (a.DeviceOnLine)
{
trilist.StringInput[joinMap.Name.JoinNumber].StringValue = Name;
}
});
trilist.StringInput[joinMap.Name.JoinNumber].StringValue = Name;
var stbBase = this as ISetTopBoxControls;
if (stbBase != null)