mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-14 04:04:58 +00:00
New device loading methodology working via reflection
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Crestron.SimplSharp;
|
||||
using Crestron.SimplSharp.CrestronIO;
|
||||
using Crestron.SimplSharpPro;
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using PepperDash.Core;
|
||||
using PepperDash.Essentials.Core;
|
||||
using PepperDash.Essentials.Core.Config;
|
||||
|
||||
namespace PepperDash.Essentials.Devices.Displays
|
||||
{
|
||||
public class DisplayDeviceFactory
|
||||
{
|
||||
public DisplayDeviceFactory()
|
||||
{
|
||||
var necFactory = new NecPSXMDisplayFactory() as IDeviceFactory;
|
||||
necFactory.LoadTypeFactories();
|
||||
|
||||
var panasonicThFactory = new PanasonicThDisplayFactory() as IDeviceFactory;
|
||||
panasonicThFactory.LoadTypeFactories();
|
||||
|
||||
var samsungMdcFactory = new SamsungMDCFactory() as IDeviceFactory;
|
||||
samsungMdcFactory.LoadTypeFactories();
|
||||
|
||||
var avocorFactory = new AvocorDisplayFactory() as IDeviceFactory;
|
||||
avocorFactory.LoadTypeFactories();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user