using Crestron.SimplSharpPro.DeviceSupport;
using PepperDash.Essentials.Core.Bridges;
namespace PepperDash.Essentials.Core
{
///
/// Base class for devices that can be bridged to an EISC API.
///
public abstract class EssentialsBridgeableDevice : EssentialsDevice, IBridgeAdvanced
{
///
/// Initializes a new instance of the class with the specified key.
///
/// The unique key for the device.
protected EssentialsBridgeableDevice(string key) : base(key)
{
}
///
/// Initializes a new instance of the class with the specified key and name.
///
/// The unique key for the device.
/// The display name for the device.
protected EssentialsBridgeableDevice(string key, string name) : base(key, name)
{
}
///
public abstract void LinkToApi(BasicTriList trilist, uint joinStart, string joinMapKey, EiscApiAdvanced bridge);
}
}