added IDeviceInfoProvider interface

This commit is contained in:
Andrew Welker
2020-11-09 09:58:51 -07:00
parent ad0cbba0b1
commit 47af06578a
3 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
namespace PepperDash.Essentials.Core.DeviceInfo
{
public class DeviceInfo
{
}
}

View File

@@ -0,0 +1,19 @@
using System;
namespace PepperDash.Essentials.Core.DeviceInfo
{
public class DeviceInfoEventArgs:EventArgs
{
public DeviceInfo DeviceInfo { get; set; }
public DeviceInfoEventArgs()
{
}
public DeviceInfoEventArgs(DeviceInfo devInfo)
{
DeviceInfo = devInfo;
}
}
}

View File

@@ -0,0 +1,13 @@
using System;
namespace PepperDash.Essentials.Core.DeviceInfo
{
public interface IDeviceInfoProvider
{
DeviceInfo DeviceInfo { get; }
event EventHandler<DeviceInfoEventArgs> DeviceInfoChanged;
void UpdateDeviceInfo();
}
}