mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
feat: modify IMobileControl interface
This commit is contained in:
parent
7a5dc29946
commit
d6f896c4b2
1 changed files with 9 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue