From 6ea966ec6c017cfb9b4843166406dfc090dc20a7 Mon Sep 17 00:00:00 2001 From: Jason T Alborough Date: Mon, 21 Jan 2019 11:40:48 -0500 Subject: [PATCH] Adds the CameraCOntroller to the BridgeFactory --- PepperDashEssentials/Bridges/BridgeBase.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PepperDashEssentials/Bridges/BridgeBase.cs b/PepperDashEssentials/Bridges/BridgeBase.cs index 82a4cb6a..537b5d59 100644 --- a/PepperDashEssentials/Bridges/BridgeBase.cs +++ b/PepperDashEssentials/Bridges/BridgeBase.cs @@ -15,6 +15,7 @@ using PepperDash.Essentials.Devices.Common; using PepperDash.Essentials.Core.Config; using PepperDash.Essentials.Core.CrestronIO; using PepperDash.Essentials.DM; +using PepperDash.Essentials.Devices.Common.Cameras; namespace PepperDash.Essentials.Bridges { @@ -87,6 +88,11 @@ namespace PepperDash.Essentials.Bridges (device as GenericComm).LinkToApi(Eisc, d.JoinStart, d.JoinMapKey); continue; } + else if (device is CameraBase) + { + (device as CameraBase).LinkToApi(Eisc, d.JoinStart, d.JoinMapKey); + continue; + } else if (device is PepperDash.Essentials.Core.TwoWayDisplayBase) { (device as TwoWayDisplayBase).LinkToApi(Eisc, d.JoinStart, d.JoinMapKey);