removed the added IBridge and changed...

...the namespace for IBridge in Essentials Core to match the old/existing namespace
This commit is contained in:
Andrew Welker
2020-04-16 13:39:42 -06:00
parent b70739ac4c
commit 717b9b272c
3 changed files with 12 additions and 24 deletions

View File

@@ -1,16 +0,0 @@
using System;
using Crestron.SimplSharpPro.DeviceSupport;
using PepperDash.Essentials.Core.Bridges;
namespace PepperDash.Essentials.Bridges
{
/// <summary>
/// Defines a device that uses the legacy JoinMapBase for its join map
/// </summary>
[Obsolete("IBridgeAdvanced should be used going forward with JoinMapBaseAdvanced")]
public interface IBridge : PepperDash.Essentials.Core.Bridges.IBridge
{
}
}

View File

@@ -8,6 +8,7 @@ using Newtonsoft.Json;
using PepperDash.Core;
using PepperDash.Essentials.Core.Config;
using PepperDash.Essentials.Bridges;
//using PepperDash.Essentials.Devices.Common.Cameras;

View File

@@ -2,6 +2,17 @@
using Crestron.SimplSharpPro.DeviceSupport;
namespace PepperDash.Essentials.Core.Bridges
{
/// <summary>
/// Defines a device that uses JoinMapBaseAdvanced for its join map
/// </summary>
public interface IBridgeAdvanced
{
void LinkToApi(BasicTriList trilist, uint joinStart, string joinMapKey, EiscApi bridge);
}
}
namespace PepperDash.Essentials.Bridges
{
/// <summary>
/// Defines a device that uses the legacy JoinMapBase for its join map
@@ -11,12 +22,4 @@ namespace PepperDash.Essentials.Core.Bridges
{
void LinkToApi(BasicTriList trilist, uint joinStart, string joinMapKey);
}
/// <summary>
/// Defines a device that uses JoinMapBaseAdvanced for its join map
/// </summary>
public interface IBridgeAdvanced
{
void LinkToApi(BasicTriList trilist, uint joinStart, string joinMapKey, EiscApi bridge);
}
}