mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 04:34:56 +00:00
chore: move interfaces to their own files
This commit is contained in:
@@ -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; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
13
src/PepperDash.Essentials.Core/Devices/IAttachVideoStatus.cs
Normal file
13
src/PepperDash.Essentials.Core/Devices/IAttachVideoStatus.cs
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
10
src/PepperDash.Essentials.Core/Devices/IDisplayUsage.cs
Normal file
10
src/PepperDash.Essentials.Core/Devices/IDisplayUsage.cs
Normal 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; }
|
||||||
|
}
|
||||||
|
}
|
||||||
22
src/PepperDash.Essentials.Core/Devices/IMakeModel.cs
Normal file
22
src/PepperDash.Essentials.Core/Devices/IMakeModel.cs
Normal 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; }
|
||||||
|
}
|
||||||
|
}
|
||||||
13
src/PepperDash.Essentials.Core/Devices/IOnline.cs
Normal file
13
src/PepperDash.Essentials.Core/Devices/IOnline.cs
Normal 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; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user