using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Newtonsoft.Json;
using Serilog;
namespace PepperDash.Core
{
///
/// Unique key interface to require a unique key for the class
///
public interface IKeyed
{
///
/// Unique Key
///
[JsonProperty("key")]
string Key { get; }
}
///
/// Named Keyed device interface. Forces the device to have a Unique Key and a name.
///
public interface IKeyName : IKeyed
{
///
/// Isn't it obvious :)
///
[JsonProperty("name")]
string Name { get; }
}
}