Added bridge.AddJoinMap(Key, joinMap); to each LinkToApi method

This commit is contained in:
Trevor Payne
2020-05-08 10:46:23 -05:00
parent 35effa5e82
commit 04e159c1d1
22 changed files with 1620 additions and 1586 deletions

View File

@@ -67,6 +67,8 @@ namespace PepperDash.Essentials.Core
if (!string.IsNullOrEmpty(joinMapSerialized))
joinMap = JsonConvert.DeserializeObject<IBasicCommunicationJoinMap>(joinMapSerialized);
bridge.AddJoinMap(Key, joinMap);
if (CommPort == null)
{
Debug.Console(1, this, "Unable to link device '{0}'. CommPort is null", Key);