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