mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
Adds the CameraCOntroller to the BridgeFactory
This commit is contained in:
parent
6e9b24576e
commit
6ea966ec6c
1 changed files with 6 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ using PepperDash.Essentials.Devices.Common;
|
||||||
using PepperDash.Essentials.Core.Config;
|
using PepperDash.Essentials.Core.Config;
|
||||||
using PepperDash.Essentials.Core.CrestronIO;
|
using PepperDash.Essentials.Core.CrestronIO;
|
||||||
using PepperDash.Essentials.DM;
|
using PepperDash.Essentials.DM;
|
||||||
|
using PepperDash.Essentials.Devices.Common.Cameras;
|
||||||
|
|
||||||
namespace PepperDash.Essentials.Bridges
|
namespace PepperDash.Essentials.Bridges
|
||||||
{
|
{
|
||||||
|
|
@ -87,6 +88,11 @@ namespace PepperDash.Essentials.Bridges
|
||||||
(device as GenericComm).LinkToApi(Eisc, d.JoinStart, d.JoinMapKey);
|
(device as GenericComm).LinkToApi(Eisc, d.JoinStart, d.JoinMapKey);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
else if (device is CameraBase)
|
||||||
|
{
|
||||||
|
(device as CameraBase).LinkToApi(Eisc, d.JoinStart, d.JoinMapKey);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
else if (device is PepperDash.Essentials.Core.TwoWayDisplayBase)
|
else if (device is PepperDash.Essentials.Core.TwoWayDisplayBase)
|
||||||
{
|
{
|
||||||
(device as TwoWayDisplayBase).LinkToApi(Eisc, d.JoinStart, d.JoinMapKey);
|
(device as TwoWayDisplayBase).LinkToApi(Eisc, d.JoinStart, d.JoinMapKey);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue