feat: modify IMobileControl interface

This commit is contained in:
Andrew Welker
2024-02-28 21:51:03 -06:00
parent 7a5dc29946
commit d6f896c4b2

View File

@@ -12,20 +12,20 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
{
}
/// <summary>
/*/// <summary>
/// Describes a MobileControlSystemController
/// </summary>
public interface IMobileControl : IKeyed
{
/*void CreateMobileControlRoomBridge(IEssentialsRoom room, IMobileControl parent);*/
void CreateMobileControlRoomBridge(IEssentialsRoom room, IMobileControl parent);
void LinkSystemMonitorToAppServer();
}
}*/
/// <summary>
/// Describes a MobileSystemController that accepts IEssentialsRoom
/// </summary>
public interface IMobileControl3 : IMobileControl
public interface IMobileControl : IKeyed
{
string Host { get; }
@@ -37,7 +37,7 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
void SendMessageObject(IMobileControlMessage o);
void AddAction(string key, Action<string, JToken> action);
void AddAction(string key, Action<string, string, JToken> action);
void RemoveAction(string key);
@@ -51,9 +51,11 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
/// </summary>
public interface IMobileControlMessenger: IKeyed
{
IMobileControl3 AppServerController { get; }
IMobileControl AppServerController { get; }
string MessagePath { get; }
void RegisterWithAppServer(IMobileControl3 appServerController);
string DeviceKey { get; }
void RegisterWithAppServer(IMobileControl appServerController);
}
public interface IMobileControlMessage