mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
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:
parent
49b7faa400
commit
4d608eef06
2 changed files with 31 additions and 76 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue