mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-29 20:34:51 +00:00
feat: modify IMobileControl interface
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user