chore: move interfaces to their own files

This commit is contained in:
Andrew Welker
2025-07-25 09:12:09 -05:00
parent 8db559f197
commit 43989b9588
5 changed files with 58 additions and 35 deletions

View File

@@ -1,35 +0,0 @@
using PepperDash.Core;
namespace PepperDash.Essentials.Core
{
/// <summary>
/// Defines the contract for IOnline
/// </summary>
public interface IOnline
{
BoolFeedback IsOnline { get; }
}
/// <summary>
/// Defines the contract for IAttachVideoStatus
/// </summary>
public interface IAttachVideoStatus : IKeyed
{
// Extension methods will depend on this
}
/// <summary>
/// For display classes that can provide usage data
/// </summary>
public interface IDisplayUsage
{
IntFeedback LampHours { get; }
}
public interface IMakeModel : IKeyed
{
string DeviceMake { get; }
string DeviceModel { get; }
}
}

View File

@@ -0,0 +1,13 @@
using PepperDash.Core;
namespace PepperDash.Essentials.Core
{
/// <summary>
/// Defines the contract for IAttachVideoStatus
/// </summary>
public interface IAttachVideoStatus : IKeyed
{
// Extension methods will depend on this
}
}

View File

@@ -0,0 +1,10 @@
namespace PepperDash.Essentials.Core
{
/// <summary>
/// For display classes that can provide usage data
/// </summary>
public interface IDisplayUsage
{
IntFeedback LampHours { get; }
}
}

View File

@@ -0,0 +1,22 @@
using PepperDash.Core;
namespace PepperDash.Essentials.Core
{
/// <summary>
/// Defines the contract for device make and model information
/// </summary>
public interface IMakeModel : IKeyed
{
/// <summary>
/// Gets the make of the device
/// </summary>
string DeviceMake { get; }
/// <summary>
/// Gets the model of the device
/// </summary>
string DeviceModel { get; }
}
}

View File

@@ -0,0 +1,13 @@
namespace PepperDash.Essentials.Core
{
/// <summary>
/// Defines the contract for IOnline
/// </summary>
public interface IOnline
{
/// <summary>
/// Gets a value indicating whether the device is online.
/// </summary>
BoolFeedback IsOnline { get; }
}
}