using System.Collections.Generic; using PepperDash.Core; using PepperDash.Essentials.Core; using PepperDash.Essentials.Core.Config; using Serilog.Events; namespace PepperDash.Essentials.Devices.Common.Sources { /// /// Represents a InRoomPcFactory /// public class InRoomPcFactory : EssentialsDeviceFactory { /// /// Initializes a new instance of the class /// public InRoomPcFactory() { TypeNames = new List() { "inroompc" }; } /// /// BuildDevice method /// /// public override EssentialsDevice BuildDevice(DeviceConfig dc) { Debug.LogMessage(LogEventLevel.Debug, "Factory Attempting to create new InRoomPc Device"); return new InRoomPc(dc.Key, dc.Name); } } }