mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-08-31 19:08:26 +00:00
feat: Initial implementation of DebugWebsocketSink
This commit is contained in:
parent
6174400b7e
commit
2f1180512c
5 changed files with 141 additions and 7 deletions
|
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Text;
|
||||
using Crestron.SimplSharp;
|
||||
using Serilog;
|
||||
|
||||
namespace PepperDash.Core
|
||||
{
|
||||
|
|
@ -15,16 +16,27 @@ namespace PepperDash.Core
|
|||
/// Unique Key
|
||||
/// </summary>
|
||||
string Key { get; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Named Keyed device interface. Forces the devie to have a Unique Key and a name.
|
||||
/// Named Keyed device interface. Forces the device to have a Unique Key and a name.
|
||||
/// </summary>
|
||||
public interface IKeyName : IKeyed
|
||||
{
|
||||
{
|
||||
/// <summary>
|
||||
/// Isn't it obvious :)
|
||||
/// </summary>
|
||||
string Name { get; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Logging interface for IKeyName
|
||||
/// </summary>
|
||||
public interface IKeyNameWithLogging : IKeyName
|
||||
{
|
||||
/// <summary>
|
||||
/// Logger for the device
|
||||
/// </summary>
|
||||
ILogger Logger { get; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue