feat: refactor LoadRooms method

In order to facilitate using custom messengers, I added an interface, `IStandardMobileControl` that devices or rooms can implement if they should use the standard/existing MobileControl messengers. If a room or device wants to implement non-standard messengers, or is a new type of device that doesn't yet have a corresponding messenger in the Mobile Control plugin, do NOT implement this interface and MC won't attempt to build a messenger for it.
This commit is contained in:
Andrew Welker
2024-02-07 08:44:58 -06:00
parent 49b7faa400
commit 4d608eef06
2 changed files with 31 additions and 76 deletions

View File

@@ -5,6 +5,13 @@ using PepperDash.Core;
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
{
/// <summary>
/// Use this interface on a device or room if it should use default Mobile Control messengers
/// </summary>
public interface IStandardMobileControl : IKeyed
{
}
/// <summary>
/// Describes a MobileControlSystemController
/// </summary>