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
{
///
/// Gets the unique key associated with the object.
///
[JsonProperty("key")]
string Key { get; }
}
///
/// Named Keyed device interface. Forces the device to have a Unique Key and a name.
///
public interface IKeyName : IKeyed
{
///
/// Gets the name associated with the current object.
///
[JsonProperty("name")]
string Name { get; }
}