mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 12:37:07 +00:00
refactor: add UpdateAppUrl method to RoomMessenger interface
Also renamed the interface to more accurately represent what it is for
This commit is contained in:
parent
f7cf854965
commit
420ae8c7de
3 changed files with 6 additions and 4 deletions
|
|
@ -64,7 +64,7 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Describes a MobileControl Room Bridge
|
/// Describes a MobileControl Room Bridge
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IMobileControlRoomBridge : IKeyed
|
public interface IMobileControlRoomMessenger : IKeyed
|
||||||
{
|
{
|
||||||
event EventHandler<EventArgs> UserCodeChanged;
|
event EventHandler<EventArgs> UserCodeChanged;
|
||||||
|
|
||||||
|
|
@ -85,5 +85,7 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||||
string RoomName { get; }
|
string RoomName { get; }
|
||||||
|
|
||||||
string AppUrl { get; }
|
string AppUrl { get; }
|
||||||
|
|
||||||
|
void UpdateAppUrl(string url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -58,7 +58,7 @@ namespace PepperDash.Essentials.Core
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The bridge for this room if Mobile Control is enabled
|
/// The bridge for this room if Mobile Control is enabled
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public IMobileControlRoomBridge MobileControlRoomBridge { get; private set; }
|
public IMobileControlRoomMessenger MobileControlRoomBridge { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The config name of the source list
|
/// The config name of the source list
|
||||||
|
|
@ -209,7 +209,7 @@ namespace PepperDash.Essentials.Core
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MobileControlRoomBridge = mcBridge as IMobileControlRoomBridge;
|
MobileControlRoomBridge = mcBridge as IMobileControlRoomMessenger;
|
||||||
Debug.Console(1, this, "*********************Mobile Control Bridge found and enabled for this room");
|
Debug.Console(1, this, "*********************Mobile Control Bridge found and enabled for this room");
|
||||||
IsMobileControlEnabled = true;
|
IsMobileControlEnabled = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PepperDash.Essentials.Core
|
||||||
BoolFeedback IsCoolingDownFeedback { get; }
|
BoolFeedback IsCoolingDownFeedback { get; }
|
||||||
|
|
||||||
bool IsMobileControlEnabled { get; }
|
bool IsMobileControlEnabled { get; }
|
||||||
IMobileControlRoomBridge MobileControlRoomBridge { get; }
|
IMobileControlRoomMessenger MobileControlRoomBridge { get; }
|
||||||
|
|
||||||
string SourceListKey { get; }
|
string SourceListKey { get; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue