mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-26 10:54:59 +00:00
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
using Crestron.SimplSharpPro;
|
|
using Crestron.SimplSharpPro.DeviceSupport;
|
|
using Crestron.SimplSharpPro.UI;
|
|
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Linq;
|
|
using PepperDash.Core;
|
|
using PepperDash.Essentials.Core;
|
|
using PepperDash.Essentials.Core.Config;
|
|
using PepperDash.Essentials.Core.PageManagers;
|
|
using PepperDash.Essentials.DM.Endpoints.DGEs;
|
|
|
|
|
|
namespace PepperDash.Essentials
|
|
{
|
|
/// <summary>
|
|
/// Responsible for loading all of the UI device types for this library
|
|
/// </summary>
|
|
public class UiDeviceFactory
|
|
{
|
|
public UiDeviceFactory()
|
|
{
|
|
var dgeControllerFactory = new DgeControllerFactory() as IDeviceFactory;
|
|
dgeControllerFactory.LoadTypeFactories();
|
|
|
|
var essentialsTouchpanelControllerFactory = new EssentialsTouchpanelControllerFactory() as IDeviceFactory;
|
|
essentialsTouchpanelControllerFactory.LoadTypeFactories();
|
|
}
|
|
|
|
}
|
|
} |