feat: moves mockdisplay factory from PepperDash.Essentials.Core to PepperDash.Essential.Devices.Common

This commit is contained in:
Andrew Knous
2024-05-09 13:48:59 -04:00
parent 8ec6fa785e
commit 01862ab9aa
2 changed files with 14 additions and 14 deletions

View File

@@ -220,19 +220,5 @@ namespace PepperDash.Essentials.Core
}
[Obsolete("Please use PepperDash.Essentials.Devices.Common, this will be removed in 2.1")]
public class MockDisplayFactory : EssentialsDeviceFactory<MockDisplay>
{
public MockDisplayFactory()
{
TypeNames = new List<string>() { "mockdisplay" };
}
public override EssentialsDevice BuildDevice(DeviceConfig dc)
{
Debug.LogMessage(LogEventLevel.Debug, "Factory Attempting to create new Mock Display Device");
return new MockDisplay(dc.Key, dc.Name);
}
}
}