mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 12:44:58 +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
|
/// Describes a MobileControlSystemController
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IMobileControl : IKeyed
|
public interface IMobileControl : IKeyed
|
||||||
{
|
{
|
||||||
/*void CreateMobileControlRoomBridge(IEssentialsRoom room, IMobileControl parent);*/
|
void CreateMobileControlRoomBridge(IEssentialsRoom room, IMobileControl parent);
|
||||||
|
|
||||||
void LinkSystemMonitorToAppServer();
|
void LinkSystemMonitorToAppServer();
|
||||||
}
|
}*/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Describes a MobileSystemController that accepts IEssentialsRoom
|
/// Describes a MobileSystemController that accepts IEssentialsRoom
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IMobileControl3 : IMobileControl
|
public interface IMobileControl : IKeyed
|
||||||
{
|
{
|
||||||
string Host { get; }
|
string Host { get; }
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
|||||||
|
|
||||||
void SendMessageObject(IMobileControlMessage o);
|
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);
|
void RemoveAction(string key);
|
||||||
|
|
||||||
@@ -51,9 +51,11 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IMobileControlMessenger: IKeyed
|
public interface IMobileControlMessenger: IKeyed
|
||||||
{
|
{
|
||||||
IMobileControl3 AppServerController { get; }
|
IMobileControl AppServerController { get; }
|
||||||
string MessagePath { get; }
|
string MessagePath { get; }
|
||||||
void RegisterWithAppServer(IMobileControl3 appServerController);
|
|
||||||
|
string DeviceKey { get; }
|
||||||
|
void RegisterWithAppServer(IMobileControl appServerController);
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IMobileControlMessage
|
public interface IMobileControlMessage
|
||||||
|
|||||||
Reference in New Issue
Block a user